mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
New feature: localized weather adds more weather types, different weather can happen in different sectors at the same time.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23094&#msg_345949 Requires GameDir >= r2325 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8253 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -835,9 +835,6 @@ static int l_CreateItemInv (lua_State *L);
|
||||
static int l_MercSalary(lua_State *L);
|
||||
static int l_PlayerTeamFull (lua_State *L);
|
||||
|
||||
static int l_EnvBeginRainStorm (lua_State *L);
|
||||
static int l_EnvEndRainStorm (lua_State *L);
|
||||
|
||||
static int l_ProfilesStrategicInsertionData (lua_State *L);
|
||||
|
||||
static int l_ResetBoxers( lua_State *L );
|
||||
@@ -1701,9 +1698,6 @@ void IniFunction(lua_State *L, BOOLEAN bQuests )
|
||||
|
||||
lua_register(L,"StartDialogueMessageBox", l_StartDialogueMessageBox);
|
||||
|
||||
lua_register(L,"EnvBeginRainStorm", l_EnvBeginRainStorm);
|
||||
lua_register(L,"EnvEndRainStorm", l_EnvEndRainStorm);
|
||||
|
||||
lua_register( L, "AddVolunteers", l_AddVolunteers );
|
||||
|
||||
lua_register(L, "CreateArmedCivilain", l_CreateArmedCivilain );
|
||||
@@ -4201,29 +4195,6 @@ static int l_ProfilesStrategicInsertionData (lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int l_EnvBeginRainStorm (lua_State *L)
|
||||
{
|
||||
UINT8 n = lua_gettop(L);
|
||||
int i;
|
||||
UINT8 ubIntensity = 1;
|
||||
|
||||
for (i= 1; i<=n; i++ )
|
||||
{
|
||||
if (i == 1 ) ubIntensity = lua_tointeger(L,i);
|
||||
}
|
||||
|
||||
EnvBeginRainStorm( ubIntensity );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int l_EnvEndRainStorm (lua_State *L)
|
||||
{
|
||||
|
||||
EnvEndRainStorm();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int l_SetGroupNextSectorValue(lua_State *L)
|
||||
{
|
||||
UINT8 n = lua_gettop(L);
|
||||
|
||||
Reference in New Issue
Block a user