Merge branch 'TownDead'

This commit is contained in:
Anders Jenbo 2019-04-24 14:08:25 +02:00
commit 65b9fb87a8
149 changed files with 12902 additions and 16560 deletions

View file

@ -8,21 +8,21 @@ void *pSquareCel;
char dMonsDbg[NUMLEVELS][MAXDUNX][MAXDUNY];
char dFlagDbg[NUMLEVELS][MAXDUNX][MAXDUNY];
void __cdecl LoadDebugGFX()
void LoadDebugGFX()
{
if (visiondebug)
pSquareCel = LoadFileInMem("Data\\Square.CEL", 0);
}
// 525720: using guessed type int visiondebug;
void __cdecl FreeDebugGFX()
void FreeDebugGFX()
{
void *temp = pSquareCel;
pSquareCel = NULL;
mem_free_dbg(temp);
}
void __cdecl CheckDungeonClear()
void CheckDungeonClear()
{
int i;
int j;
@ -41,7 +41,7 @@ void __cdecl CheckDungeonClear()
}
#ifdef _DEBUG
void __cdecl GiveGoldCheat()
void GiveGoldCheat()
{
int i; // esi
int ni; // ebp
@ -59,7 +59,7 @@ void __cdecl GiveGoldCheat()
}
}
void __cdecl StoresCheat()
void StoresCheat()
{
int i; // eax
@ -76,7 +76,7 @@ void __cdecl StoresCheat()
SpawnWitch(30);
}
void __cdecl TakeGoldCheat()
void TakeGoldCheat()
{
int i; // esi
char ig; // cl
@ -95,7 +95,7 @@ void __cdecl TakeGoldCheat()
plr[myplr]._pGold = 0;
}
void __cdecl MaxSpellsCheat()
void MaxSpellsCheat()
{
int i;
@ -107,13 +107,13 @@ void __cdecl MaxSpellsCheat()
}
}
void __fastcall SetSpellLevelCheat(char spl, int spllvl)
void SetSpellLevelCheat(char spl, int spllvl)
{
plr[myplr]._pMemSpells |= (__int64)1 << (spl - 1);
plr[myplr]._pSplLvl[spl] = spllvl;
}
void __cdecl SetAllSpellsCheat()
void SetAllSpellsCheat()
{
SetSpellLevelCheat(SPL_FIREBOLT, 8);
SetSpellLevelCheat(SPL_CBOLT, 11);
@ -139,7 +139,7 @@ void __cdecl SetAllSpellsCheat()
SetSpellLevelCheat(SPL_BONESPIRIT, 1);
}
void __fastcall PrintDebugPlayer(BOOLEAN bNextPlayer)
void PrintDebugPlayer(BOOLEAN bNextPlayer)
{
char dstr[128]; // [esp+Ch] [ebp-80h]
@ -163,7 +163,7 @@ void __fastcall PrintDebugPlayer(BOOLEAN bNextPlayer)
}
}
void __cdecl PrintDebugQuest()
void PrintDebugQuest()
{
char dstr[128]; // [esp+0h] [ebp-80h]
@ -173,7 +173,7 @@ void __cdecl PrintDebugQuest()
dbgqst = 0;
}
void __fastcall PrintDebugMonster(int m)
void PrintDebugMonster(int m)
{
BOOLEAN bActive; // ecx
int i; // eax
@ -199,7 +199,7 @@ void __fastcall PrintDebugMonster(int m)
NetSendCmdString(1 << myplr, dstr);
}
void __cdecl GetDebugMonster()
void GetDebugMonster()
{
int v0; // ecx
int v1; // eax
@ -218,7 +218,7 @@ void __cdecl GetDebugMonster()
PrintDebugMonster(v0);
}
void __cdecl NextDebugMonster()
void NextDebugMonster()
{
char dstr[128]; // [esp+0h] [ebp-80h]