- provided code for:

1) changing max number of slots for towns (hardcoded value).
2) highest town index defines the number of towns on map (user defined value via xml).


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@606 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Lesh
2006-10-29 07:10:44 +00:00
parent 4ae5382557
commit c1bddf1c9c
13 changed files with 73 additions and 35 deletions
+5 -1
View File
@@ -10,6 +10,8 @@
#define MAX_TOWN_NAME_LENGHT 32
#define MAX_TOWNS 13
// Sector name identifiers
enum Towns
{
@@ -27,9 +29,11 @@ enum Towns
MEDUNA,
CHITZENA,
NUM_TOWNS
//NUM_TOWNS
} ;
extern INT8 NUM_TOWNS;
#define FIRST_TOWN OMERTA
//#define PALACE NUM_TOWNS