code changes:

- the amount of food points one gets for eating now depends on the current food situation
- food/drink percentage now goes from 0 to 200%, with 100% being the optimal value

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6024 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-04-26 00:54:22 +00:00
parent 3a133955ad
commit 40979fce1c
4 changed files with 49 additions and 33 deletions
+4 -3
View File
@@ -4,9 +4,10 @@
#include "soldier control.h"
#define FOOD_MIN - 20000
#define FOOD_MAX 10000
#define DRINK_MIN - 20000
#define DRINK_MAX 10000
#define FOOD_MAX 20000
#define FOOD_RANGE (FOOD_MAX - FOOD_MIN)
#define FOOD_HALF_RANGE (FOOD_RANGE / 2)
typedef enum
{