[Functions] Fix debug line
This commit is contained in:
@ -503,6 +503,31 @@ namespace Game
|
||||
}
|
||||
}
|
||||
|
||||
__declspec(naked) XAssetEntry* DB_FindXAssetEntry(XAssetType /*type*/, const char* /*name*/)
|
||||
{
|
||||
__asm
|
||||
{
|
||||
push eax
|
||||
pushad
|
||||
|
||||
mov edi, [esp + 2Ch] // name
|
||||
push edi
|
||||
|
||||
mov edi, [esp + 2Ch] // type
|
||||
|
||||
mov eax, 5BB1B0h
|
||||
call eax
|
||||
|
||||
add esp, 4h
|
||||
|
||||
mov[esp + 20h], eax
|
||||
popad
|
||||
pop eax
|
||||
|
||||
retn
|
||||
}
|
||||
}
|
||||
|
||||
__declspec(naked) void FS_AddLocalizedGameDirectory(const char* /*path*/, const char* /*dir*/)
|
||||
{
|
||||
__asm
|
||||
@ -770,8 +795,8 @@ namespace Game
|
||||
push eax
|
||||
|
||||
// debugglobals
|
||||
mov edi, ds:66DAD78h
|
||||
add edi, 268772
|
||||
mov esi, ds:66DAD78h
|
||||
add esi, 268772
|
||||
|
||||
mov edi, [esp + 2Ch] // color
|
||||
|
||||
|
@ -746,6 +746,7 @@ namespace Game
|
||||
XAssetType DB_GetXAssetNameType(const char* name);
|
||||
bool DB_IsZoneLoaded(const char* zone);
|
||||
XAssetHeader DB_FindXAssetDefaultHeaderInternal(XAssetType type);
|
||||
XAssetEntry* DB_FindXAssetEntry(XAssetType type, const char* name);
|
||||
|
||||
void FS_AddLocalizedGameDirectory(const char *path, const char *dir);
|
||||
|
||||
|
@ -3063,8 +3063,6 @@ namespace Game
|
||||
float scale;
|
||||
};
|
||||
|
||||
|
||||
|
||||
struct GfxStaticModelDrawInst
|
||||
{
|
||||
GfxPackedPlacement placement;
|
||||
@ -3125,6 +3123,12 @@ namespace Game
|
||||
float coeffs[4];
|
||||
};
|
||||
|
||||
struct DpvsPlanes
|
||||
{
|
||||
DpvsPlane *planes;
|
||||
int count;
|
||||
};
|
||||
|
||||
struct GfxPortal
|
||||
{
|
||||
GfxPortalWritable writable;
|
||||
|
Reference in New Issue
Block a user