mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- New Feature: Now it is possible to compile a JA2 1.13 Demo executable with the actual 1.13 source code (by Jazz)
o This JA2 demo executable is as close as possible to the original JA2 demo, but with the 1.13 features! --> No laptop, disabled strategy actions, auto merc hired, only P1 maps, ... o To build the 1.13 executable, just enable the "JA113DEMO" define in builddefines.h o The 1.13 demo executable will read from ja2_Demo.ini instead of ja2.ini o You also need the "Data-JA2Demo" folder from the official 1.13 SVN GameDir: https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir o Once you start the game with the demo executable, you will notice the "START DEMO" instead of "START NEW GAME" in the main menu o Multiplayer is disabled in the demo executable - There is another new define called "JA113NODEMO" (by Jazz) o See builddefines.h o If this define is enabled, a special version of 1.13 is build -> Disable all meanwhiles, emails, blocked quest with queen, alien queen git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5287 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -180,7 +180,7 @@ BOOLEAN SetThisSectorAsPlayerControlled( INT16 sMapX, INT16 sMapY, INT8 bMapZ, B
|
||||
INT8 bTownId = 0;
|
||||
UINT8 ubSectorID;
|
||||
|
||||
#ifdef JA2UB
|
||||
#if (defined JA2UB || defined JA113NODEMO)
|
||||
//Ja25: No meanwhiles
|
||||
#else
|
||||
if( AreInMeanwhile( ) )
|
||||
@@ -267,7 +267,7 @@ BOOLEAN SetThisSectorAsPlayerControlled( INT16 sMapX, INT16 sMapY, INT8 bMapZ, B
|
||||
{
|
||||
HandleMoraleEvent( NULL, MORALE_TOWN_LIBERATED, sMapX, sMapY, bMapZ );
|
||||
|
||||
#ifdef JA2UB
|
||||
#if (defined JA2UB || defined JA113NODEMO)
|
||||
//Ja25: no loyalty
|
||||
#else
|
||||
HandleGlobalLoyaltyEvent( GLOBAL_LOYALTY_GAIN_TOWN_SECTOR, sMapX, sMapY, bMapZ );
|
||||
@@ -284,7 +284,7 @@ BOOLEAN SetThisSectorAsPlayerControlled( INT16 sMapX, INT16 sMapY, INT8 bMapZ, B
|
||||
if ( GetTotalLeftInMine( GetMineIndexForSector( sMapX, sMapY ) ) > 0)
|
||||
{
|
||||
HandleMoraleEvent( NULL, MORALE_MINE_LIBERATED, sMapX, sMapY, bMapZ );
|
||||
#ifdef JA2UB
|
||||
#if (defined JA2UB || defined JA113NODEMO)
|
||||
// Ja25: no loyalty
|
||||
#else
|
||||
HandleGlobalLoyaltyEvent( GLOBAL_LOYALTY_GAIN_MINE, sMapX, sMapY, bMapZ );
|
||||
@@ -306,7 +306,7 @@ BOOLEAN SetThisSectorAsPlayerControlled( INT16 sMapX, INT16 sMapY, INT8 bMapZ, B
|
||||
}
|
||||
|
||||
HandleMoraleEvent( NULL, MORALE_SAM_SITE_LIBERATED, sMapX, sMapY, bMapZ );
|
||||
#ifdef JA2UB
|
||||
#if (defined JA2UB || defined JA113NODEMO)
|
||||
// Ja25: no loyalty
|
||||
#else
|
||||
HandleGlobalLoyaltyEvent( GLOBAL_LOYALTY_GAIN_SAM, sMapX, sMapY, bMapZ );
|
||||
@@ -343,7 +343,7 @@ BOOLEAN SetThisSectorAsPlayerControlled( INT16 sMapX, INT16 sMapY, INT8 bMapZ, B
|
||||
if ( bMapZ == 0 && ( ( sMapY == MAP_ROW_M && (sMapX >= 2 && sMapX <= 6) ) || sMapY == MAP_ROW_N && sMapX == 6) )
|
||||
{
|
||||
|
||||
#ifdef JA2UB
|
||||
#if (defined JA2UB || defined JA113NODEMO)
|
||||
//Ja25 No meanwhiles
|
||||
#else
|
||||
HandleOutskirtsOfMedunaMeanwhileScene();
|
||||
|
||||
Reference in New Issue
Block a user