Data and Source v1.13 Mod High Resolution version from 2006-03-16

*********************************************************
*	2006/03/16					*
*	RoWa21						*
*	Developed in VS 2003				*
*********************************************************

- Changed missing screens to the High-Resolution
	- Tactical Screen
	- Shopkeeper Interface, 
	- Credits Screen,
	- AutoResolve Screen
	- ...

- Some bugfixing with the screens
	- Centered message boxes
	- ...

- Merged lalienxx's features (BUT NO BURST AND NO MP3/OGG SUPPORT!)
	- Rain and lightning visual and sound effects
	- Visibility radius decrease when rainig
	- Weapon relyability decrease when rainig
	- Possibility to spot the enemy at night with lightning
	- New settings in the ja2.ini file for the rain
	- Aiming without shooting with "L" key
		- Move the cursor over an enemy and press the "L" key.

- Added judges bugfixing
	- Swapped internal shopkeeper character numbering to match the Prof.dat in 1.13 (Gabby/Smithy)
	- Added status of the items to item 'tooltip'
		- If it is an ammo, the number of available rounds appear
	- A stack of items now always shows the minimum repair status
		- No more carrying a stack of grenades into battle only to find most are duds
	- Made tactical map loading code more robust against maps with bogus buildings 
	- Made tactical map loading code more robust against maps with characters with bogus locations or schedules 

- Changed the location of the savegame structure
	- Each mode contains its own savegame folder in its own data-folder

- Some general bugfixing
	- See Bugfixing.xls on the ftp

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@24 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-04-19 17:22:20 +00:00
parent 89b4d71bf3
commit 8b2d0e33aa
25 changed files with 1433 additions and 68 deletions
+34 -27
View File
@@ -353,8 +353,11 @@ static BOOLEAN fNewWWW=TRUE;
extern UINT32 guiRainLoop;
// WANNE 2
INT32 giRainDelayInternetSite=-1;
// have we visitied this site already?
//BOOLEAN fVisitedBookmarkAlready[20];
@@ -850,15 +853,16 @@ INT32 EnterLaptop()
// Stop ambients...
StopAmbients( );
//if its raining, start the rain showers
if( IsItRaining() )
{
//Enable the rain delay warning
giRainDelayInternetSite = -1;
// WANNE 2: disabled rain sound when laptop is displayed
////if its raining, start the rain showers
//if( IsItRaining() )
//{
// //Enable the rain delay warning
// giRainDelayInternetSite = -1;
//lower the volume
guiRainLoop = PlayJA2Ambient( RAIN_1, LOWVOLUME, 0 );
}
// //lower the volume
// guiRainLoop = PlayJA2Ambient( RAIN_1, LOWVOLUME, 0 );
//}
//open the laptop library
@@ -1013,12 +1017,13 @@ void ExitLaptop()
// Start ambients...
BuildDayAmbientSounds( );
// WANNE 2: disabled rain sound when laptop is displayed
//if its raining, start the rain showers
if( IsItRaining() )
{
//Raise the volume to where it was
guiRainLoop = PlayJA2Ambient( RAIN_1, MIDVOLUME, 0 );
}
//if( IsItRaining() )
//{
// //Raise the volume to where it was
// guiRainLoop = PlayJA2Ambient( RAIN_1, MIDVOLUME, 0 );
//}
// release cursor
FreeMouseCursor( );
@@ -3556,18 +3561,19 @@ void BookmarkCallBack(MOUSE_REGION * pRegion, INT32 iReason )
void GoToWebPage(INT32 iPageId )
{
//if it is raining, popup a warning first saying connection time may be slow
if( IsItRaining() )
{
if( giRainDelayInternetSite == -1 )
{
DoLapTopMessageBox( MSG_BOX_LAPTOP_DEFAULT, pErrorStrings[4], LAPTOP_SCREEN, MSG_BOX_FLAG_OK, InternetRainDelayMessageBoxCallBack );
giRainDelayInternetSite = iPageId;
return;
}
}
else
giRainDelayInternetSite = -1;
// WANNE 2: disabled rain sound when laptop is displayed
////if it is raining, popup a warning first saying connection time may be slow
//if( IsItRaining() )
//{
// if( giRainDelayInternetSite == -1 )
// {
// DoLapTopMessageBox( MSG_BOX_LAPTOP_DEFAULT, pErrorStrings[4], LAPTOP_SCREEN, MSG_BOX_FLAG_OK, InternetRainDelayMessageBoxCallBack );
// giRainDelayInternetSite = iPageId;
// return;
// }
//}
//else
// giRainDelayInternetSite = -1;
switch(iPageId)
{
@@ -6347,10 +6353,11 @@ BOOLEAN IsItRaining()
void InternetRainDelayMessageBoxCallBack( UINT8 bExitValue )
{
GoToWebPage( giRainDelayInternetSite );
// WANNE 2
//GoToWebPage( giRainDelayInternetSite );
//Set to -2 so we dont due the message for this occurence of laptop
giRainDelayInternetSite = -2;
//giRainDelayInternetSite = -2;
}