mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* HAM 3.6 (by Headrock) * ************************* - Info: Needed GameDir files for HAM 3.6 are not committed yet to the SVN GameDir. Will do that in the next few days - For more infos on HAM 3.6 check out: http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=244808&page=0&fpart=1 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3323 3b4a5df2-a311-0410-b5c6-a8a6f20db521
100 lines
2.4 KiB
C
100 lines
2.4 KiB
C
#ifndef __MAPSCREEN_H
|
|
#define __MAPSCREEN_H
|
|
|
|
|
|
#include "Types.h"
|
|
#include "Soldier Control.h"
|
|
|
|
#define MAP_WORLD_X 18
|
|
#define MAP_WORLD_Y 18
|
|
|
|
#define MAX_TOWN_NAME_LENGHT 32
|
|
#define MAX_SECTOR_NAME_LENGTH 128
|
|
|
|
#define MAX_TOWNS 50 //13 //50
|
|
#define MAX_TOWN_SECTORS 260 //40 //260
|
|
|
|
// HEADROCK HAM B2.7: Moved here from Strategicmap.cpp to allow use by MilitiaSquads.cpp
|
|
|
|
extern BOOLEAN gfMilitiaAllowedInTown [ MAX_TOWNS ];
|
|
// Sector name identifiers
|
|
enum Towns
|
|
{
|
|
BLANK_SECTOR=0,
|
|
OMERTA,
|
|
DRASSEN,
|
|
ALMA,
|
|
GRUMM,
|
|
TIXA,
|
|
CAMBRIA,
|
|
SAN_MONA,
|
|
ESTONI,
|
|
ORTA,
|
|
BALIME,
|
|
MEDUNA,
|
|
CHITZENA,
|
|
|
|
//NUM_TOWNS
|
|
} ;
|
|
|
|
extern INT8 NUM_TOWNS;
|
|
|
|
#define FIRST_TOWN OMERTA
|
|
//#define PALACE NUM_TOWNS
|
|
|
|
|
|
extern BOOLEAN fCharacterInfoPanelDirty;
|
|
extern BOOLEAN fTeamPanelDirty;
|
|
extern BOOLEAN fMapPanelDirty;
|
|
extern BOOLEAN fDrawCharacterList; // OJW - 20081204
|
|
|
|
extern BOOLEAN fMapInventoryItem;
|
|
extern BOOLEAN gfInConfirmMapMoveMode;
|
|
extern BOOLEAN gfInChangeArrivalSectorMode;
|
|
|
|
extern BOOLEAN gfSkyriderEmptyHelpGiven;
|
|
|
|
|
|
BOOLEAN SetInfoChar(UINT8 ubSolId);
|
|
void EndMapScreen( BOOLEAN fDuringFade );
|
|
void ReBuildCharactersList( void );
|
|
|
|
|
|
BOOLEAN HandlePreloadOfMapGraphics( void );
|
|
void HandleRemovalOfPreLoadedMapGraphics( void );
|
|
|
|
void ChangeSelectedMapSector( INT16 sMapX, INT16 sMapY, INT8 bMapZ );
|
|
|
|
BOOLEAN CanToggleSelectedCharInventory( void );
|
|
|
|
BOOLEAN CanExtendContractForCharSlot( INT8 bCharNumber );
|
|
|
|
void TellPlayerWhyHeCantCompressTime( void );
|
|
|
|
void ChangeSelectedInfoChar( INT8 bCharNumber, BOOLEAN fResetSelectedList );
|
|
|
|
void MAPEndItemPointer();
|
|
|
|
void CopyPathToAllSelectedCharacters( PathStPtr pPath );
|
|
void CancelPathsOfAllSelectedCharacters();
|
|
|
|
INT32 GetPathTravelTimeDuringPlotting( PathStPtr pPath );
|
|
|
|
void AbortMovementPlottingMode( void );
|
|
|
|
void ExplainWhySkyriderCantFly( void );
|
|
|
|
BOOLEAN CanChangeSleepStatusForCharSlot( INT8 bCharNumber );
|
|
BOOLEAN CanChangeSleepStatusForSoldier( SOLDIERTYPE *pSoldier );
|
|
|
|
BOOLEAN MapCharacterHasAccessibleInventory( INT8 bCharNumber );
|
|
|
|
// CHRISL: New functions to handle initialization of inventory coordinates
|
|
BOOLEAN InitializeInvPanelCoordsOld( );
|
|
BOOLEAN InitializeInvPanelCoordsNew( );
|
|
BOOLEAN InitializeInvPanelCoordsVehicle( );
|
|
|
|
// HEADROCK HAM 3.6: Calculate daily cost for all mercs who have one.
|
|
INT32 GetTotalContractExpenses ( void );
|
|
|
|
#endif |