Forgot your password?
Or sign in with one of these services
Kada2k6, May 10, 2008 in General and Gameplay Programming
This topic is 3724 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
sulimanStarted Saturday at 03:16 PM
Samuel WahlbergStarted Wednesday at 09:57 PM
davejonesStarted Wednesday at 06:25 PM
rjhwinner03Started Wednesday at 06:09 PM
Razor05Started Wednesday at 09:30 AM
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!