2 Commits
0.0.2 ... main

Author SHA1 Message Date
d05f6bee79 Upload files to "/"
updates
2026-05-08 09:56:23 -04:00
304baf75d6 Updating 2026-05-08 09:56:06 -04:00

View File

@@ -8,8 +8,10 @@
//thats all. //thats all.
//May 8th 2026 as of this file update
#include "raylib.h" #include "raylib.h"
#include <stdbool.h> #include <stdbool.h> //removed Raymath of now and replaced it with bool so people do not need to include themselves
#ifndef RAMENG_H #ifndef RAMENG_H
#define RAMENG_H #define RAMENG_H
@@ -18,7 +20,7 @@
//player info-stats-limbs-data-Inv //player info-stats-limbs-data-Inv
//player data for storage ⌄⌄ //player data for storage ⌄⌄
//------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------
typedef struct Player { typedef struct Player { //glorrified rectangle btw
int x; //Player X Pos int x; //Player X Pos
int y; //Player y Pos int y; //Player y Pos
int width; //Player Width int width; //Player Width
@@ -32,14 +34,14 @@ typedef struct PlayerStat {
float Health; //Player Health stat float Health; //Player Health stat
int Attack; //Player Attack stat int Attack; //Player Attack stat
int Defense; //Player defense stat int Defense; //Player defense stat
float Money; //Amount of money
} PlayerStat; } PlayerStat;
//These will be moved in to a struct soon! typedef struct PlayerLevel {
typedef float Moral; //player Moral stat/sanity float Moral; //player Moral stat/sanity
typedef int Level; //Player Leveling stats / Player Level stat int Level; //Player Leveling stats / Player Level stat
typedef float XP; //points earned towards level // Player XP total float XP; //points earned towards level // Player XP total
typedef float Money; //Amount of money } PlayerLevel;
//------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------
//player movement //player movement
//------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------
@@ -53,21 +55,23 @@ typedef struct PlayerData {
//------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------
// Player status effects // Player status effects
////------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------
typedef bool IsStanding; //is the player standing typedef struct PlayerStatus {
typedef bool IsCrouching; //is the player crouched bool IsStanding; //is the player standing
typedef bool IsCrawling; //is the player crawling bool IsCrouching; //is the player crouched
typedef bool IsWet; //is the player Wet bool IsCrawling; //is the player crawling
typedef bool IsDry; //Is the player dry bool IsWet; //is the player Wet
typedef bool IsBurning; //is the player burning bool IsDry; //Is the player dry
typedef bool Isinteracting; //is the player interacting with something bool IsBurning; //is the player burning
typedef bool IsBleeding; //is the player bleeding? bool Isinteracting; //is the player interacting with something
typedef bool IsBagOpen; //is the bag/inv open bool IsBleeding; //is the player bleeding?
} PlayerStatus;
//--------------------------------------------------------------------- //---------------------------------------------------------------------
//Bag WIP //Bag WIP
//--------------------------------------------------------------------- //---------------------------------------------------------------------
typedef int BagSlotCount; //amount of slots in bag/inv typedef int BagSlotCount; //amount of slots in bag/inv
typedef bool IsBagOpen; //is the bag/inv open
//--------------------------------------------------------------------- //---------------------------------------------------------------------
//ITEM ID IS WIP //ITEM ID IS WIP