mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- 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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user