mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-02 14:47:58 +03:00
docs: track functions called by TR1M
This commit is contained in:
parent
2a116d991c
commit
42c643725b
2 changed files with 65 additions and 60 deletions
|
@ -1,6 +1,7 @@
|
|||
# Flags:
|
||||
# - to do
|
||||
# + decompiled
|
||||
# * to do, called by TR1Main
|
||||
# + fully decompiled
|
||||
#
|
||||
# Name Offset Size Flags
|
||||
phd_GenerateW2V 0x00401000 0x00000197 -
|
||||
|
@ -112,7 +113,7 @@ UpdateLOT 0x0040DCD0 0x000001F9 -
|
|||
EscapeBox 0x0040DED0 0x000000CE -
|
||||
ValidBox 0x0040DFA0 0x00000097 -
|
||||
CreatureMood 0x0040E040 0x000007D5 -
|
||||
CalculateTarget 0x0040E850 0x000004D1 -
|
||||
CalculateTarget 0x0040E850 0x000004D1 *
|
||||
CreatureCreature 0x0040ED30 0x00000107 -
|
||||
BadFloor 0x0040EE40 0x00000092 -
|
||||
CreatureAnimation 0x0040EEE0 0x00000863 -
|
||||
|
@ -129,19 +130,19 @@ ChaseCamera 0x00410410 0x00000118 -
|
|||
ShiftClamp 0x00410530 0x00000279 -
|
||||
CombatCamera 0x004107B0 0x00000138 -
|
||||
LookCamera 0x004108F0 0x0000024B -
|
||||
CalculateCamera 0x00410B40 0x0000055D -
|
||||
CalculateCamera 0x00410B40 0x0000055D *
|
||||
StartCinematic 0x004110A0 0x00000183 -
|
||||
DoCinematic 0x00411240 0x0000012B -
|
||||
CalculateCinematicCamera 0x00411370 0x00000124 -
|
||||
ControlCinematicPlayer 0x004114A0 0x00000045 -
|
||||
InitialisePlayer1 0x004114F0 0x000000CD -
|
||||
InGameCinematicCamera 0x004115F0 0x00000190 -
|
||||
GetCollisionInfo 0x00411780 0x000007DD -
|
||||
GetCollisionInfo 0x00411780 0x000007DD *
|
||||
CollideStaticObjects 0x00411FA0 0x000003D6 -
|
||||
GetNearByRoom 0x00412390 0x000002CC -
|
||||
ShiftItem 0x00412660 0x00000037 -
|
||||
UpdateLaraRoom 0x004126A0 0x0000005F -
|
||||
LaraBaddieCollision 0x00412700 0x00000209 -
|
||||
ShiftItem 0x00412660 0x00000037 *
|
||||
UpdateLaraRoom 0x004126A0 0x0000005F *
|
||||
LaraBaddieCollision 0x00412700 0x00000209 *
|
||||
CreatureCollision 0x00412910 0x00000078 -
|
||||
ObjectCollision 0x00412990 0x00000059 -
|
||||
DoorCollision 0x004129F0 0x0000007B -
|
||||
|
@ -156,13 +157,13 @@ ControlPhase 0x004133B0 0x000002B0 +
|
|||
AnimateItem 0x00413660 0x000002C6 -
|
||||
GetChange 0x00413960 0x000000AB -
|
||||
TranslateItem 0x00413A10 0x00000067 -
|
||||
GetFloor 0x00413A80 0x000001D4 -
|
||||
GetWaterHeight 0x00413C60 0x000000FE -
|
||||
GetHeight 0x00413D60 0x0000022A -
|
||||
GetFloor 0x00413A80 0x000001D4 *
|
||||
GetWaterHeight 0x00413C60 0x000000FE *
|
||||
GetHeight 0x00413D60 0x0000022A *
|
||||
RefreshCamera 0x00413FA0 0x000000D4 -
|
||||
TestTriggers 0x00414080 0x0000074E -
|
||||
TestTriggers 0x00414080 0x0000074E *
|
||||
TriggerActive 0x00414820 0x00000055 -
|
||||
GetCeiling 0x00414880 0x0000024B -
|
||||
GetCeiling 0x00414880 0x0000024B *
|
||||
GetDoor 0x00414AE0 0x0000004E -
|
||||
LOS 0x00414B30 0x000000A0 -
|
||||
xLOS 0x00414BD0 0x00000272 -
|
||||
|
@ -174,14 +175,14 @@ AlligatorControl 0x00415520 0x00000326 -
|
|||
CrocControl 0x00415850 0x0000030C -
|
||||
StartDemo 0x00415B70 0x00000140 -
|
||||
LoadLaraDemoPos 0x00415CB0 0x000000BF -
|
||||
GetDemoInput 0x00415D70 0x0000002D -
|
||||
GetDemoInput 0x00415D70 0x0000002D *
|
||||
RaptorControl 0x00415DA0 0x00000330 -
|
||||
DinoControl 0x004160F0 0x0000028F -
|
||||
LaraDinoDeath 0x004163A0 0x000000C1 -
|
||||
setup_screen_size 0x00416470 0x000000D4 -
|
||||
TempVideoAdjust 0x00416550 0x00000277 -
|
||||
TempVideoRemove 0x004167D0 0x00000289 -
|
||||
S_CopyBufferToScreen 0x00416A60 0x000000A7 -
|
||||
TempVideoAdjust 0x00416550 0x00000277 *
|
||||
TempVideoRemove 0x004167D0 0x00000289 *
|
||||
S_CopyBufferToScreen 0x00416A60 0x000000A7 *
|
||||
sub_416B10 0x00416B10 0x00000010 -
|
||||
S_FadeInInventory 0x00416B20 0x00000082 -
|
||||
S_FadeOutInventory 0x00416BB0 0x00000027 -
|
||||
|
@ -191,16 +192,16 @@ DrawRooms 0x00416CB0 0x00000173 -
|
|||
GetRoomBounds 0x00416E30 0x0000007D -
|
||||
SetRoomBounds 0x00416EB0 0x0000032E -
|
||||
PrintRooms 0x004171E0 0x0000021A +
|
||||
DrawEffect 0x00417400 0x00000107 -
|
||||
DrawEffect 0x00417400 0x00000107 *
|
||||
DrawSpriteItem 0x00417510 0x00000035 -
|
||||
DrawAnimatingItem 0x00417550 0x00000541 -
|
||||
DrawAnimatingItem 0x00417550 0x00000541 *
|
||||
DrawLara 0x00417AA0 0x00000AEF -
|
||||
CalculateObjectLighting 0x004185B0 0x000000C9 -
|
||||
DrawLaraInt 0x00418680 0x000013C6 -
|
||||
InterpolateMatrix 0x00419A60 0x000001CD -
|
||||
InterpolateArmMatrix 0x00419C30 0x000000FC -
|
||||
GetFrames 0x00419D30 0x00000099 -
|
||||
GetBoundsAccurate 0x00419DD0 0x0000007C -
|
||||
GetBoundsAccurate 0x00419DD0 0x0000007C *
|
||||
GetBestFrame 0x00419E50 0x00000035 -
|
||||
sub_419E90 0x00419E90 0x000000C0 -
|
||||
WinSndMakeSample 0x00419F50 0x000001CA -
|
||||
|
@ -208,14 +209,14 @@ sub_41A120 0x0041A120 0x000000A1 -
|
|||
sub_41A1D0 0x0041A1D0 0x00000027 -
|
||||
sub_41A200 0x0041A200 0x0000000F -
|
||||
ItemNearLara 0x0041A210 0x0000008C -
|
||||
SoundEffects 0x0041A2A0 0x0000006D -
|
||||
SoundEffects 0x0041A2A0 0x0000006D *
|
||||
DoBloodSplat 0x0041A310 0x00000059 -
|
||||
ControlBlood1 0x0041A370 0x0000008B -
|
||||
ControlExplosion1 0x0041A400 0x0000004C -
|
||||
Ricochet 0x0041A450 0x00000072 -
|
||||
ControlRicochet1 0x0041A4D0 0x00000030 -
|
||||
ControlTwinkle 0x0041A500 0x0000004C -
|
||||
ItemSparkle 0x0041A550 0x00000115 -
|
||||
ItemSparkle 0x0041A550 0x00000115 *
|
||||
FxLaraBubbles 0x0041A670 0x000000E8 -
|
||||
ControlBubble1 0x0041A760 0x000000FF -
|
||||
Splash 0x0041A860 0x000000CD -
|
||||
|
@ -236,7 +237,7 @@ FxLaraHandsFree 0x0041AEF0 0x0000000A -
|
|||
FxFlipMap 0x0041AF00 0x00000005 -
|
||||
FxDrawRightGun 0x0041AF10 0x0000007E -
|
||||
S_LoadLevel 0x0041AF90 0x00000016 +
|
||||
LoadLevel 0x0041AFB0 0x00000432 -
|
||||
LoadLevel 0x0041AFB0 0x00000432 *
|
||||
LoadRooms 0x0041B3F0 0x00000311 +
|
||||
LoadObjects 0x0041B710 0x0000043F -
|
||||
LoadSprites 0x0041BB50 0x00000102 -
|
||||
|
@ -248,10 +249,10 @@ S_Colour 0x0041C0F0 0x00000089 -
|
|||
S_DrawScreenSprite2d 0x0041C180 0x00000150 -
|
||||
S_DrawScreenSprite 0x0041C2D0 0x00000163 -
|
||||
S_DrawScreenLine 0x0041C440 0x000000D3 -
|
||||
S_DrawScreenBox 0x0041C520 0x00000688 -
|
||||
S_DrawScreenFBox 0x0041CBB0 0x00000101 -
|
||||
S_DrawScreenBox 0x0041C520 0x00000688 *
|
||||
S_DrawScreenFBox 0x0041CBB0 0x00000101 *
|
||||
S_FinishInventory 0x0041CCC0 0x00000047 -
|
||||
S_FadeToBlack 0x0041CD10 0x0000003F -
|
||||
S_FadeToBlack 0x0041CD10 0x0000003F *
|
||||
S_Wait 0x0041CD50 0x0000004D -
|
||||
SoundStart 0x0041CDA0 0x00000045 -
|
||||
WinPlayFMV 0x0041CDF0 0x0000024A -
|
||||
|
@ -267,7 +268,7 @@ SeedRandomDraw 0x0041D940 0x0000000A +
|
|||
LevelIsValid 0x0041D950 0x0000005C +
|
||||
GetSavedGamesList 0x0041D9B0 0x00000060 -
|
||||
S_FrontEndCheck 0x0041DA20 0x00000141 -
|
||||
S_SaveGame 0x0041DB70 0x000000FD -
|
||||
S_SaveGame 0x0041DB70 0x000000FD *
|
||||
S_LoadGame 0x0041DC70 0x00000086 -
|
||||
DrawGameInfo 0x0041DD00 0x00000199 +
|
||||
DrawHealthBar 0x0041DEA0 0x00000075 +
|
||||
|
@ -276,13 +277,13 @@ DrawAmmoInfo 0x0041DF50 0x00000133 +
|
|||
InitialisePickUpDisplay 0x0041E0A0 0x00000015 +
|
||||
AddDisplayPickup 0x0041E0C0 0x0000003F +
|
||||
sub_41E100 0x0041E100 0x0000015B -
|
||||
S_ExitSystem 0x0041E260 0x00000051 -
|
||||
S_ExitSystem 0x0041E260 0x00000051 *
|
||||
init_game_malloc 0x0041E2C0 0x00000021 +
|
||||
game_malloc 0x0041E2F0 0x000000B1 -
|
||||
game_malloc 0x0041E2F0 0x000000B1 *
|
||||
game_free 0x0041E3B0 0x0000002F +
|
||||
Key 0x0041E3E0 0x00000166 -
|
||||
Key 0x0041E3E0 0x00000166 *
|
||||
S_UpdateInput 0x0041E550 0x00000210 +
|
||||
Display_Inventory 0x0041E760 0x00001159 -
|
||||
Display_Inventory 0x0041E760 0x00001159 *
|
||||
Construct_Inventory 0x0041F980 0x0000012D -
|
||||
AnimateInventoryItem 0x0041FAB0 0x00000089 -
|
||||
DrawInventoryItem 0x0041FB40 0x000003A0 -
|
||||
|
@ -293,9 +294,9 @@ RingNotActive 0x004201D0 0x0000069E -
|
|||
RingActive 0x00420980 0x00000039 -
|
||||
Inv_AddItem 0x004209C0 0x00000620 -
|
||||
Inv_InsertItem 0x004210D0 0x00000129 -
|
||||
Inv_RequestItem 0x00421200 0x00000077 -
|
||||
Inv_RequestItem 0x00421200 0x00000077 *
|
||||
Inv_RemoveAllItems 0x00421280 0x0000001E -
|
||||
Inv_RemoveItem 0x004212A0 0x00000110 -
|
||||
Inv_RemoveItem 0x004212A0 0x00000110 *
|
||||
Inv_GetItemOption 0x004213B0 0x000000A7 -
|
||||
Inv_RingInit 0x00421580 0x0000017E -
|
||||
Inv_RingGetView 0x00421700 0x00000060 -
|
||||
|
@ -311,10 +312,10 @@ Inv_RingMotionCameraPos 0x00421A00 0x00000025 -
|
|||
Inv_RingMotionCameraPitch 0x00421A30 0x00000020 -
|
||||
Inv_RingMotionItemSelect 0x00421A50 0x00000057 -
|
||||
Inv_RingMotionItemDeselect 0x00421AB0 0x00000055 -
|
||||
InitialiseItemArray 0x00421B10 0x00000040 -
|
||||
InitialiseItemArray 0x00421B10 0x00000040 *
|
||||
KillItem 0x00421B50 0x00000121 -
|
||||
CreateItem 0x00421C80 0x0000003D -
|
||||
InitialiseItem 0x00421CC0 0x000001EE -
|
||||
InitialiseItem 0x00421CC0 0x000001EE *
|
||||
RemoveActiveItem 0x00421EB0 0x000000A6 -
|
||||
RemoveDrawnItem 0x00421F60 0x00000080 -
|
||||
AddActiveItem 0x00421FE0 0x00000080 -
|
||||
|
@ -406,7 +407,7 @@ undraw_pistols 0x004265C0 0x00000261 -
|
|||
draw_pistol_meshes 0x00426830 0x00000061 -
|
||||
PistolHandler 0x004268A0 0x0000012E -
|
||||
AnimatePistols 0x004269D0 0x000001F5 -
|
||||
LaraGun 0x00426BD0 0x00000271 -
|
||||
LaraGun 0x00426BD0 0x00000271 *
|
||||
InitialiseNewWeapon 0x00426E60 0x000000B9 -
|
||||
LaraTargetInfo 0x00426F20 0x00000194 -
|
||||
LaraGetNewTarget 0x004270C0 0x000001D9 -
|
||||
|
@ -414,14 +415,14 @@ find_target_point 0x004272A0 0x000000B2 -
|
|||
AimWeapon 0x00427360 0x000000C1 -
|
||||
FireWeapon 0x00427430 0x000002F2 -
|
||||
HitTarget 0x00427730 0x000000E5 -
|
||||
LaraControl 0x00427850 0x00000372 -
|
||||
LaraControl 0x00427850 0x00000372 *
|
||||
LaraSwapMeshExtra 0x00427BD0 0x00000030 -
|
||||
AnimateLara 0x00427C00 0x00000244 -
|
||||
AnimateLara 0x00427C00 0x00000244 *
|
||||
UseItem 0x00427E80 0x000000F8 +
|
||||
ControlLaraExtra 0x00427FD0 0x0000001F -
|
||||
InitialiseLaraLoad 0x00427FF0 0x00000024 -
|
||||
InitialiseLara 0x00428020 0x00000150 +
|
||||
InitialiseLaraInventory 0x00428170 0x000001C8 -
|
||||
InitialiseLaraInventory 0x00428170 0x000001C8 *
|
||||
LaraInitialiseMeshes 0x00428340 0x000000DD -
|
||||
InitialiseEvilLara 0x00428420 0x00000025 -
|
||||
ControlEvilLara 0x00428450 0x00000221 -
|
||||
|
@ -461,7 +462,7 @@ DisableBaddieAI 0x0042A360 0x00000036 -
|
|||
EnableBaddieAI 0x0042A3A0 0x000001D0 -
|
||||
InitialiseSlot 0x0042A570 0x000000FC -
|
||||
CreateZone 0x0042A6B0 0x000000C4 -
|
||||
InitialiseLOT 0x0042A780 0x00000065 -
|
||||
InitialiseLOT 0x0042A780 0x00000065 *
|
||||
phd_cos 0x0042A7F0 0x0000002C -
|
||||
cosf 0x0042A81C 0x0000001A -
|
||||
phd_sin 0x0042A850 0x00000021 -
|
||||
|
@ -469,12 +470,12 @@ sinf 0x0042A871 0x0000001A -
|
|||
phd_atan 0x0042A8A0 0x00000055 -
|
||||
phd_sqrt 0x0042A900 0x0000003A -
|
||||
mn_reset_sound_effects 0x0042A940 0x000000EC -
|
||||
SoundEffect 0x0042AA30 0x000004C2 -
|
||||
SoundEffect 0x0042AA30 0x000004C2 *
|
||||
mn_get_fx_slot 0x0042AF00 0x000000CE -
|
||||
mn_reset_ambient_loudness 0x0042AFD0 0x00000030 -
|
||||
mn_stop_ambient_sounds 0x0042B000 0x0000007E -
|
||||
mn_update_sound_effects 0x0042B080 0x0000027D -
|
||||
StopSoundEffect 0x0042B300 0x0000010E -
|
||||
StopSoundEffect 0x0042B300 0x0000010E *
|
||||
adjust_master_volume 0x0042B410 0x00000012 -
|
||||
InitialiseMovableBlock 0x0042B430 0x00000030 -
|
||||
MovableBlockControl 0x0042B460 0x0000014A -
|
||||
|
@ -505,19 +506,19 @@ do_sound_option 0x0042E5C0 0x000004F2 -
|
|||
do_control_option 0x0042EAC0 0x0000075D -
|
||||
S_ShowControls 0x0042F230 0x000004B1 -
|
||||
Display_Requester 0x0042F6F0 0x0000056B -
|
||||
S_InitialisePolyList 0x0042FC60 0x00000005 -
|
||||
S_DumpScreen 0x0042FC70 0x00000044 -
|
||||
S_InitialisePolyList 0x0042FC60 0x00000005 *
|
||||
S_DumpScreen 0x0042FC70 0x00000044 *
|
||||
S_ClearScreen 0x0042FCC0 0x00000013 -
|
||||
S_InitialiseScreen 0x0042FCE0 0x00000027 -
|
||||
S_OutputPolyList 0x0042FD10 0x00000018 -
|
||||
S_GetObjectBounds 0x0042FD30 0x0000026C -
|
||||
S_OutputPolyList 0x0042FD10 0x00000018 *
|
||||
S_GetObjectBounds 0x0042FD30 0x0000026C *
|
||||
S_PrintShadow 0x0042FFA0 0x0000015B -
|
||||
S_CalculateLight 0x00430100 0x00000183 -
|
||||
S_CalculateStaticLight 0x00430290 0x00000031 -
|
||||
S_CalculateStaticLight 0x00430290 0x00000031 *
|
||||
S_DrawHealthBar 0x004302D0 0x00000180 +
|
||||
S_DrawAirBar 0x00430450 0x00000188 +
|
||||
S_SetupBelowWater 0x004305E0 0x00000054 -
|
||||
S_SetupAboveWater 0x00430640 0x00000019 -
|
||||
S_SetupBelowWater 0x004305E0 0x00000054 *
|
||||
S_SetupAboveWater 0x00430640 0x00000019 *
|
||||
S_CopyFadeIn 0x00430660 0x000000D3 -
|
||||
S_DrawLightningSegment 0x00430740 0x00000446 -
|
||||
decomp_pcx 0x00430B90 0x00000141 -
|
||||
|
@ -552,9 +553,9 @@ InitialiseSaveGameItem 0x00433F30 0x0000001C -
|
|||
RatControl 0x00433F50 0x000002A8 -
|
||||
VoleControl 0x00434210 0x000002B5 -
|
||||
InitialiseStartInfo 0x004344D0 0x00000042 -
|
||||
ModifyStartInfo 0x00434520 0x000000BF -
|
||||
CreateStartInfo 0x004345E0 0x00000139 -
|
||||
CreateSaveGameInfo 0x00434720 0x00000866 -
|
||||
ModifyStartInfo 0x00434520 0x000000BF *
|
||||
CreateStartInfo 0x004345E0 0x00000139 *
|
||||
CreateSaveGameInfo 0x00434720 0x00000866 *
|
||||
ExtractSaveGameInfo 0x00434F90 0x00000971 -
|
||||
S_DrawSpriteAbs 0x00435910 0x0000025E -
|
||||
S_DrawSpriteRel 0x00435B70 0x00000207 -
|
||||
|
@ -563,13 +564,13 @@ ins_room_sprite_Sorted 0x00435ED0 0x000001CD -
|
|||
draw_scaled_spriteC 0x004360A0 0x000001FB -
|
||||
InitialiseLevel 0x004362A0 0x00000119 -
|
||||
InitialiseLevelFlags 0x004363C0 0x00000018 -
|
||||
BaddyObjects 0x004363E0 0x00000C2F -
|
||||
TrapObjects 0x00437010 0x00000356 -
|
||||
ObjectObjects 0x00437370 0x000006D3 -
|
||||
BaddyObjects 0x004363E0 0x00000C2F *
|
||||
TrapObjects 0x00437010 0x00000356 *
|
||||
ObjectObjects 0x00437370 0x000006D3 *
|
||||
InitialiseObjects 0x00437A50 0x00000063 +
|
||||
sub_437AC0 0x00437AC0 0x00000006 -
|
||||
WinVidSpinMessageLoop 0x00437AD0 0x00000029 -
|
||||
WinInReadJoystick 0x00437B00 0x00000070 -
|
||||
WinVidSpinMessageLoop 0x00437AD0 0x00000029 *
|
||||
WinInReadJoystick 0x00437B00 0x00000070 *
|
||||
OnKeyPress 0x00437B70 0x00000045 -
|
||||
sub_437BC0 0x00437BC0 0x00000003 -
|
||||
sub_437BD0 0x00437BD0 0x00000029 -
|
||||
|
@ -583,14 +584,14 @@ S_CDVolume 0x00437F30 0x00000001 -
|
|||
TestCdDrive 0x00437F40 0x00000039 -
|
||||
sub_437F80 0x00437F80 0x00000026 -
|
||||
CDPlay 0x00437FB0 0x000000F5 -
|
||||
S_CDLoop 0x004380B0 0x0000000B -
|
||||
S_CDLoop 0x004380B0 0x0000000B *
|
||||
sub_4380C0 0x004380C0 0x00000018 -
|
||||
sub_4380E0 0x004380E0 0x00000255 -
|
||||
sub_438340 0x00438340 0x0000003B -
|
||||
FileLoad 0x00438390 0x00000080 -
|
||||
GameMain 0x00438410 0x0000050A -
|
||||
CheckCheatMode 0x00438920 0x00000213 -
|
||||
WriteTombAtiSettings 0x00438B60 0x00000090 -
|
||||
CheckCheatMode 0x00438920 0x00000213 *
|
||||
WriteTombAtiSettings 0x00438B60 0x00000090 *
|
||||
S_SoundPlaySample 0x00438BF0 0x0000004B -
|
||||
S_SoundPlaySampleLooped 0x00438C40 0x00000051 -
|
||||
sub_438CA0 0x00438CA0 0x00000015 -
|
||||
|
@ -661,7 +662,7 @@ StatueControl 0x0043CF80 0x000000E1 -
|
|||
sub_43D070 0x0043D070 0x0000049A -
|
||||
sub_43D510 0x0043D510 0x000000DA -
|
||||
sub_43D5F0 0x0043D5F0 0x00000176 -
|
||||
ShowFatalError 0x0043D770 0x00000147 -
|
||||
ShowFatalError 0x0043D770 0x00000147 *
|
||||
KeyboardHook(x,x,x) 0x0043D8C0 0x00000077 -
|
||||
sub_43D940 0x0043D940 0x00000136 -
|
||||
WinMain(x,x,x,x) 0x0043DA80 0x0000037D -
|
||||
|
|
|
@ -182,6 +182,10 @@ class Function:
|
|||
def is_decompiled(self) -> bool:
|
||||
return "+" in self.flags
|
||||
|
||||
@property
|
||||
def is_called(self) -> bool:
|
||||
return "*" in self.flags
|
||||
|
||||
@property
|
||||
def is_named(self) -> bool:
|
||||
return not self.name.startswith("sub_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue