Update RRE_PreRelease.h
This commit is contained in:
@@ -6,13 +6,15 @@
|
||||
//thats all.
|
||||
|
||||
#include "raylib.h"
|
||||
#include "raymath.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef RAMENG_H
|
||||
#define RAMENG_H
|
||||
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
//player info-stats-limbs-data-Inv
|
||||
//player data for storage ⌄⌄
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef struct Player {
|
||||
int x; //Player X Pos
|
||||
int y; //Player y Pos
|
||||
@@ -21,9 +23,9 @@ typedef struct Player {
|
||||
} Player;
|
||||
|
||||
typedef struct PlayerStat {
|
||||
//--
|
||||
//------------------------------
|
||||
//player basic stats
|
||||
//--
|
||||
//------------------------------
|
||||
float Health; //Player Health stat
|
||||
int Attack; //Player Attack stat
|
||||
int Defense; //Player defense stat
|
||||
@@ -35,8 +37,10 @@ typedef int Level; //Player Leveling stats / Player Level stat
|
||||
typedef float XP; //points earned towards level // Player XP total
|
||||
typedef float Money; //Amount of money
|
||||
|
||||
typedef struct PlayerData {
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
//player movement
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef struct PlayerData {
|
||||
float Speed; //Player Speed Stat
|
||||
float SprintSpeed; //Speed the player sprints duh
|
||||
float CrawlSpeed; //Speed while crawling
|
||||
@@ -44,9 +48,9 @@ typedef struct PlayerData {
|
||||
float JumpHeight; //Player jump height
|
||||
} PlayerData;
|
||||
|
||||
//--
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
// Player status effects
|
||||
//--
|
||||
////------------------------------------------------------------------------------------------------------
|
||||
typedef bool IsStanding; //is the player standing
|
||||
typedef bool IsCrouching; //is the player crouched
|
||||
typedef bool IsCrawling; //is the player crawling
|
||||
@@ -56,31 +60,38 @@ typedef bool IsBurning; //is the player burning
|
||||
typedef bool Isinteracting; //is the player interacting with something
|
||||
typedef bool IsBleeding; //is the player bleeding?
|
||||
typedef bool IsBagOpen; //is the bag/inv open
|
||||
//--
|
||||
//Bag
|
||||
//--
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
//Bag WIP
|
||||
//---------------------------------------------------------------------
|
||||
typedef int BagSlotCount; //amount of slots in bag/inv
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
//ITEM ID IS WIP
|
||||
//---------------------------------------------------------------------
|
||||
typedef struct ItemID {
|
||||
int IDNUMBER; //id number for an item
|
||||
int ID_SLOT; //which number slot this item is in IE: ItemSlot 1 = ID_SLOT
|
||||
} ItemID;
|
||||
typedef int ItemSlot; //the slot of which an item is under
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
//Will be put under a struct "Inflicts"
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef float BurnDamage; //Amount of damage burning inflicts
|
||||
typedef int BurnTime; //how long burning will last
|
||||
typedef int BurnTick;
|
||||
typedef bool OnFire;
|
||||
|
||||
|
||||
//--
|
||||
typedef int BurnTick; //how many ticks should go by for the damage
|
||||
typedef bool OnFire; //is the player on fire?
|
||||
//---------------
|
||||
typedef float BleedDamage; //Damage inflicted when bleeding
|
||||
typedef int BleedTick; //how long bleeding will last
|
||||
//--
|
||||
//---------------
|
||||
typedef float FreezeDamage; //Freezing damage
|
||||
typedef int FreezeTime; //how long till you freeze
|
||||
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
//PLAYER LIMB HEALTH
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef struct PlayerLimb {
|
||||
float HeadHP; //player Head limb health
|
||||
float TorsoHP; //Player Torso Health
|
||||
@@ -91,8 +102,10 @@ typedef struct PlayerLimb {
|
||||
float LegRightHP; //Player Leg Right Health
|
||||
} PlayerLimb;
|
||||
//player data for storage ^^
|
||||
//-----------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
//Enemy data
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef struct EnemyPosition {
|
||||
int x; //Enemy x pos
|
||||
int y; //Enemy y Pos
|
||||
@@ -114,11 +127,9 @@ typedef bool CanWet; //Can the enemy make things wet...
|
||||
typedef bool IsRendered; //is enemy rendered
|
||||
typedef bool IsHit; //is enemy hit
|
||||
|
||||
//-----------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
//Define states
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
typedef bool IsLiquid; //is object a liquid
|
||||
typedef bool IsSolid; //is object a solid
|
||||
typedef bool IsAir; //is object air/can phase through
|
||||
|
||||
Reference in New Issue
Block a user