Forgot your password?
Or sign in with one of these services
Kada2k6, May 10, 2008 in General and Gameplay Programming
This topic is 3812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.
If you intended to correct an error in the post then please contact us.
unsigned int action;unsigned int hunger;unsigned int thirst;unsigned int fatigue;fscanf(fp, "%hu %u %u %u %u\n", &Player.condition.health, &action, &hunger, &thirst, &fatigue);Player.condition.action = action;Player.condition.hunger = hunger;Player.condition.thirst = thirst;Player.condition.fatigue = fatigue;
+------Player.condition------+ +------Player.position-------+/ \/ \ \ /\ / | | | | | | \ / | | | | health padding |hunger |fatigue| | room_no | ypos |padding | | | | | | action thirst |padding xpos rotation | position
WeremStarted 14 hours ago
JaLue2002Started Tuesday at 10:12 PM
AxiverseStarted Tuesday at 11:17 AM
GuyWithBeardStarted Tuesday at 11:07 AM
JustHuskStarted Monday at 06:55 PM
There are no registered users currently online
We are the game development community.
Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!