mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Remove custom_email.edt
Unfinished feature as far as I can tell and new emails will be easier to add via Emails.xml
This commit is contained in:
@@ -112,8 +112,6 @@ static int l_CheckMission(lua_State* L);
|
||||
|
||||
void FatigueCharacter(SOLDIERTYPE* pSoldier);
|
||||
|
||||
static int l_AddCustomEmail(lua_State* L);
|
||||
|
||||
static int l_SetDefaultArrivalSector(lua_State* L);
|
||||
static int l_GetDefaultArrivalSector(lua_State* L);
|
||||
static int l_SetMercArrivalLocation(lua_State* L);
|
||||
@@ -1642,8 +1640,6 @@ static void IniFunction(lua_State* L, BOOLEAN bQuests)
|
||||
|
||||
lua_register(L, "ReStartingGame", l_ReStartingGame);
|
||||
|
||||
lua_register(L, "AddCustomEmail", l_AddCustomEmail);
|
||||
|
||||
lua_register(L, "SetDefaultArrivalSector", l_SetDefaultArrivalSector);
|
||||
lua_register(L, "GetDefaultArrivalSector", l_GetDefaultArrivalSector);
|
||||
lua_register(L, "SetDefaultArrivalGridNo", l_SetMercArrivalLocation);
|
||||
@@ -2002,20 +1998,6 @@ static int l_SetHandleGlobalLoyaltyEvent(lua_State* L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int l_AddCustomEmail(lua_State* L)
|
||||
{
|
||||
if (lua_gettop(L) >= 3)
|
||||
{
|
||||
INT32 iMessageOffset = lua_tointeger(L, 1);
|
||||
INT32 iMessageLength = lua_tointeger(L, 2);
|
||||
UINT8 ubSender = lua_tointeger(L, 3);
|
||||
|
||||
AddCustomEmail(iMessageOffset, iMessageLength, ubSender, GetWorldTotalMin(), -1, -1, TYPE_EMAIL_OTHER);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int l_gMercProfileGearset(lua_State* L)
|
||||
{
|
||||
if (lua_gettop(L) >= 8)
|
||||
|
||||
Reference in New Issue
Block a user