Commit Graph

811 Commits

Author SHA1 Message Date
Marcin Kurczewski
77060c784e
room: fix dimension names 2024-08-05 23:51:02 +02:00
Marcin Kurczewski
7f377878f7
room: rename Room_GetFloor to Room_GetSector 2024-08-05 23:42:56 +02:00
Marcin Kurczewski
f6af8406de
types: rename FLOOR_INFO to SECTOR_INFO 2024-08-05 23:41:03 +02:00
Marcin Kurczewski
4010c11656
port LOT_ClearLOT 2024-08-05 20:17:16 +02:00
Marcin Kurczewski
e8bd6bcc04
port LOT_CreateZone 2024-08-05 20:17:16 +02:00
Marcin Kurczewski
6afd573c93
port LOT_InitialiseSlot 2024-08-05 20:17:15 +02:00
Marcin Kurczewski
7d0831879e
port LOT_EnableBaddieAI 2024-08-05 20:17:15 +02:00
Marcin Kurczewski
eaa73febc6
port LOT_DisableBaddieAI 2024-08-05 20:17:15 +02:00
Marcin Kurczewski
ae039918b2
port LOT_InitialiseArray 2024-08-05 20:17:15 +02:00
Marcin Kurczewski
273939dbd2
port Lara_WaterCurrent 2024-08-05 20:17:15 +02:00
Marcin Kurczewski
61bfc9cfaa
port Lara_SwimCollision 2024-08-04 23:44:09 +02:00
Marcin Kurczewski
e2d7bf0b78
port Lara_TestWaterDepth 2024-08-04 23:36:44 +02:00
Marcin Kurczewski
6fe7deab83
port Lara_GetWaterDepth 2024-08-04 23:33:03 +02:00
Marcin Kurczewski
684f70db8d
port Lara_InitialiseMeshes 2024-08-04 23:13:19 +02:00
Marcin Kurczewski
7f16164e43
port Lara_InitialiseInventory 2024-08-04 12:43:04 +02:00
Marcin Kurczewski
10297df5a2
port Lara_Initialise 2024-08-03 23:02:31 +02:00
Marcin Kurczewski
3e388e0fe4
types: improve bitmasks readability for decomp 2024-08-03 22:53:44 +02:00
Marcin Kurczewski
72292664b5
port Lara_InitialiseLoad 2024-08-03 22:41:58 +02:00
Marcin Kurczewski
b4a358f42c
port Lara_ControlExtra 2024-08-03 22:41:23 +02:00
Marcin Kurczewski
e1e343cacb
port Lara_CheatGetStuff 2024-08-03 22:40:38 +02:00
Marcin Kurczewski
d8a7a803f6
port Lara_UseItem 2024-08-03 22:39:37 +02:00
Marcin Kurczewski
1b909af87d
port Lara_Animate 2024-08-03 22:34:26 +02:00
Marcin Kurczewski
9bd8f2ba62
port Lara_Control 2024-08-03 21:13:07 +02:00
Marcin Kurczewski
716f979568
port Lara_TestClimbUpPos 2024-08-03 21:13:06 +02:00
Marcin Kurczewski
7545420cec
port Lara_DoClimbLeftRight 2024-08-03 21:12:42 +02:00
Marcin Kurczewski
1e77e4efa5
port Lara_TestClimbPos 2024-08-03 21:12:42 +02:00
Marcin Kurczewski
f017029ed0
port Lara_TestClimb 2024-08-03 21:12:41 +02:00
Marcin Kurczewski
7382832530
port Lara_Draw_I 2024-08-01 16:11:54 +02:00
Marcin Kurczewski
424efebe7c
port Lara_Draw 2024-08-01 16:11:54 +02:00
Marcin Kurczewski
39896e0e50
types: improve signatures for some functions 2024-08-01 16:11:53 +02:00
Marcin Kurczewski
3aab9f87b7
types: use FRAME_INFO more
Fixes undefined behavior in release builds and resolves #120.
2024-07-28 12:25:33 +02:00
Marcin Kurczewski
26dd3c72f1
port Effect_Draw 2024-07-27 23:27:00 +02:00
Marcin Kurczewski
adc0f12e8e
port Camera_RefreshFromTrigger 2024-07-27 23:27:00 +02:00
Marcin Kurczewski
97a2024cc2
port Lara_IsNearItem 2024-07-27 23:27:00 +02:00
Marcin Kurczewski
7cb3bcb424
port Item_GetBestFrame 2024-07-27 23:27:00 +02:00
Marcin Kurczewski
bb56fa52f6
port Item_GetBoundsAccurate 2024-07-27 23:26:49 +02:00
Marcin Kurczewski
974119e2ee
port Item_GetFrames 2024-07-26 22:56:41 +02:00
Marcin Kurczewski
84647f2727
creature: fix regression in Creature_Animate
Resolves #98.
2024-07-26 15:18:54 +02:00
Marcin Kurczewski
22062b69e3
port Game_Draw 2024-07-24 23:26:58 +02:00
Marcin Kurczewski
f7c47f6503
port Game_Control 2024-07-24 23:26:58 +02:00
Marcin Kurczewski
84f2510cd1
port Room_DrawAllRooms 2024-07-24 23:23:52 +02:00
Marcin Kurczewski
e106b3610e
port Room_DrawSingleRoomObjects 2024-07-24 23:23:52 +02:00
Marcin Kurczewski
959dc0e4ec
port Room_DrawSingleRoomGeometry 2024-07-24 23:23:51 +02:00
Marcin Kurczewski
2944d5afac
port Room_Clip 2024-07-24 23:23:43 +02:00
Marcin Kurczewski
479432c36a
port Room_SetBounds 2024-07-24 20:19:25 +02:00
Marcin Kurczewski
6ed5956ce7
port Room_GetBounds 2024-07-24 20:19:25 +02:00
Marcin Kurczewski
4d62e2a1dd
port Room_AddFlipItems 2024-07-24 20:19:25 +02:00
Marcin Kurczewski
ef9b7c9edd
port Room_RemoveFlipItems 2024-07-24 20:19:25 +02:00
Marcin Kurczewski
0dc2b046c1
port Room_FlipMap 2024-07-24 20:19:25 +02:00
Marcin Kurczewski
23731b67b7
port Room_AlterFloorHeight 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
56cd89788f
port Room_GetDoor 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
6eb1f2ae72
port Room_GetCeiling 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
4959bc54fa
port Item_IsTriggerActive 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
79125d11fa
port Room_TestTriggers 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
423b27e358
port Room_GetHeight 2024-07-24 20:19:24 +02:00
Marcin Kurczewski
ea5e94f588
types: make obj->floor and ->ceiling const 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
8f08defd13
types: use macros for floordata bit ops 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
a605a8c6e4
port Room_GetWaterHeight 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
f8db302fb4
port Room_GetFloor 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
348a96089e
port Item_Translate 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
0e58273ea2
port Item_GetAnimChange 2024-07-24 20:19:23 +02:00
Marcin Kurczewski
22b6a5d465
port Item_Animate 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
d7f6721107
port Misc_Move3DPosTo3DPos 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
cb24238d81
port Lara_MovePosition 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
e764afd16f
port Item_AlignPosition 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
f9b2feb22f
port Item_TestPosition 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
ce0e3f6751
port Item_TestBoundsCollide 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
f1bfe52d3e
port Lara_Push 2024-07-24 20:19:22 +02:00
Marcin Kurczewski
b9760f29ce
port Object_Collision_Trap 2024-07-24 20:19:21 +02:00
Marcin Kurczewski
af7af11bf3
port Door_Collision 2024-07-24 20:19:21 +02:00
Marcin Kurczewski
e90bb700e8
port Object_Collision 2024-07-24 20:19:21 +02:00
Marcin Kurczewski
03f04c2595
port Creature_Collision 2024-07-24 20:19:21 +02:00
Marcin Kurczewski
2677b247c4
port Lara_TakeHit 2024-07-24 20:19:21 +02:00
Marcin Kurczewski
768c643d0c
port Lara_BaddieCollision 2024-07-24 20:19:20 +02:00
Marcin Kurczewski
2bbdde4402
port Room_GetTiltType 2024-07-24 20:19:20 +02:00
Marcin Kurczewski
9d379d6988
port Item_UpdateRoom 2024-07-24 20:19:20 +02:00
Marcin Kurczewski
5a3217e43d
port Item_ShiftCol 2024-07-24 20:19:20 +02:00
Marcin Kurczewski
812d96eb25
types: fix structs missing __unaligned attribute 2024-07-24 20:19:20 +02:00
Marcin Kurczewski
b0b4ba83c1
port Room_GetNewRoom 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
93c8fe20b5
port Room_GetNearbyRooms 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
b5033dab54
port Collide_CollideStaticObjects 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
54f8fc4c9f
port Room_FindGridShift 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
dca77bf8c5
port Collide_GetCollisionInfo 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
5b22898c10
port Gondola_Control 2024-07-24 20:19:19 +02:00
Marcin Kurczewski
1952a0bd85
types: use TombEditor SFX_ enum naming 2024-07-24 20:19:18 +02:00
Marcin Kurczewski
9d0c117a60
types: use TombEditor LA_ enum naming 2024-07-24 20:16:11 +02:00
Marcin Kurczewski
dd35bf796b
port Boat_Control 2024-07-24 20:16:06 +02:00
Marcin Kurczewski
fe73c9739a
port Boat_Animation 2024-07-24 20:11:09 +02:00
Marcin Kurczewski
94b41abb05
port Boat_UserControl 2024-07-16 15:57:21 +02:00
Marcin Kurczewski
81072cc7a5
port Boat_Dynamics 2024-07-16 15:57:20 +02:00
Marcin Kurczewski
fa52661039
port Boat_DoDynamics 2024-07-16 11:46:33 +02:00
Marcin Kurczewski
4abc4266ac
port Boat_DoWakeEffect 2024-07-16 11:42:56 +02:00
Marcin Kurczewski
3789432d22
port Boat_DoShift 2024-07-16 11:26:25 +02:00
Marcin Kurczewski
92aed53c64
port Boat_TestWaterHeight 2024-07-16 10:11:01 +02:00
Marcin Kurczewski
c7f8bc98ce
port Boat_Collision 2024-07-16 09:47:53 +02:00
Marcin Kurczewski
61ac7e06df
port Boat_CheckGeton 2024-07-16 09:47:53 +02:00
Marcin Kurczewski
6082f0e452
port Boat_Initialise 2024-07-16 09:47:52 +02:00
Marcin Kurczewski
8da463e27e
port HWR_Init 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
31042837af
port HWR_VertexBufferFull 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
2827cc986a
port HWR_GetPageHandles 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
f69236bbb3
port HWR_FreeTexturePages 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
f88d226206
port HWR_LoadTexturePages
CreateTexturePalette
AddTexturePage8
AddTexturePage16
2024-07-15 18:11:26 +02:00
Marcin Kurczewski
ff4e9d59e0
port HWR_DrawPolyList 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
78b252e9fe
port HWR_BeginScene 2024-07-15 18:11:26 +02:00
Marcin Kurczewski
856d1c089e
port HWR_EnableZBuffer 2024-07-15 18:11:25 +02:00
Marcin Kurczewski
545946398b
port HWR_EnableColorKey 2024-07-15 18:11:25 +02:00
Marcin Kurczewski
5106bf89a1
port HWR_TexSource 2024-07-15 18:11:25 +02:00
Marcin Kurczewski
05de392e30
port HWR_ResetZBuffer 2024-07-15 18:11:25 +02:00
Marcin Kurczewski
6cf9658bb9
port HWR_ResetColorKey 2024-07-15 18:11:25 +02:00
Marcin Kurczewski
03abc616e8
port HWR_ResetTexSource 2024-07-15 18:11:24 +02:00
Marcin Kurczewski
086761b76e
port HWR_InitState 2024-07-15 18:11:24 +02:00
Marcin Kurczewski
80e3814074
port DisplayMode functions 2024-06-12 10:42:59 +02:00
Marcin Kurczewski
2dead7df02
port WinVidFinish 2024-06-12 10:41:40 +02:00
Marcin Kurczewski
25e1df2b27
port WinVidStart 2024-06-12 10:40:26 +02:00
Marcin Kurczewski
db6c1bf949
port WinVidGetDisplayAdapter 2024-06-12 10:35:57 +02:00
Marcin Kurczewski
4404648764
port WinVidExitMessage 2024-06-12 10:34:26 +02:00
Marcin Kurczewski
3f1b69cd7b
port WinVidFreeWindow 2024-06-12 10:33:22 +02:00
Marcin Kurczewski
e5cc629d42
port WinVidCreateGameWindow 2024-06-12 10:09:00 +02:00
Marcin Kurczewski
349e657201
port WinVidCheckGameWindowPalette 2024-06-12 10:06:00 +02:00
Marcin Kurczewski
f33bab0009
port WinVidResizeGameWindow 2024-06-12 10:03:18 +02:00
Marcin Kurczewski
c9fcf5bdf8
port EnumDisplayAdaptersCallback 2024-06-12 09:59:30 +02:00
Marcin Kurczewski
14605cc479
port WinVidGameWindowProc 2024-06-09 17:57:42 +02:00
Marcin Kurczewski
1b4c2e737a
port WinVidRegisterGameWindowClass 2024-06-09 17:57:42 +02:00
Marcin Kurczewski
e07e883593
port EnumerateDisplayAdapters 2024-06-09 17:57:42 +02:00
Marcin Kurczewski
c171a153c8
port WinVidGetDisplayAdapters 2024-06-09 17:57:42 +02:00
Marcin Kurczewski
4204d8a20e
port WinVidInit 2024-06-09 17:57:41 +02:00
Marcin Kurczewski
6331786195
port EnumDisplayModesCallback 2024-06-09 17:57:41 +02:00
Marcin Kurczewski
027a0f83dc
port WinVidGetDisplayModes 2024-06-09 14:18:18 +02:00
Marcin Kurczewski
714cebe37b
port CompareVideoModes 2024-06-09 14:15:01 +02:00
Marcin Kurczewski
084f73a6c7
port GameWindowCalculateSizeFromClientByZero 2024-06-09 14:14:07 +02:00
Marcin Kurczewski
f08ba1d74b
port GameWindowCalculateSizeFromClient 2024-06-09 14:11:05 +02:00
Marcin Kurczewski
f0f16e58e3
port DDrawRelease 2024-06-06 18:28:27 +02:00
Marcin Kurczewski
b57c9bd5fc
port DDrawCreate 2024-06-06 18:27:00 +02:00
Marcin Kurczewski
e1f3a8096a
port Direct3DInit 2024-06-06 18:07:05 +02:00
Marcin Kurczewski
620c3a980c
port Direct3DRelease 2024-06-06 18:06:14 +02:00
Marcin Kurczewski
2d73cd4098
port D3DDeviceCreate 2024-06-06 17:31:07 +02:00
Marcin Kurczewski
430dbe1909
port D3DSetViewport 2024-06-06 14:38:43 +02:00
Marcin Kurczewski
c377726060
port D3DIsSupported 2024-06-06 14:38:32 +02:00
Marcin Kurczewski
ba9145a301
port Enum3DDevicesCallback 2024-06-06 14:38:14 +02:00
Marcin Kurczewski
f549af249c
port D3DCreate 2024-06-06 14:09:18 +02:00
Marcin Kurczewski
3645ab370a
port Enumerate3DDevices 2024-06-06 14:08:11 +02:00
Marcin Kurczewski
3be177a092
docs: mark more functions as unused 2024-06-06 12:58:40 +02:00
Marcin Kurczewski
b4b6fdfe30
port BGND_Init 2024-06-06 12:25:39 +02:00
Marcin Kurczewski
94f89142c2
port BGND_Free 2024-06-06 12:23:57 +02:00
Marcin Kurczewski
d35c021cdc
port BGND_CenterLighting 2024-06-06 12:23:22 +02:00
Marcin Kurczewski
8b558fb4f9
port DrawTextureTile 2024-06-06 10:47:54 +02:00
Marcin Kurczewski
683b8be17e
port BGND_DrawInGameBackground 2024-06-06 10:35:08 +02:00
Marcin Kurczewski
25e28034d4
port DrawQuad 2024-05-30 13:11:00 +02:00
Marcin Kurczewski
2b90bf9f0e
port BGND_DrawInGameBlack 2024-05-30 13:10:59 +02:00
Marcin Kurczewski
6ab209c981
port BGND_GetPageHandles 2024-05-30 13:10:59 +02:00
Marcin Kurczewski
eb697d38da
port BGND_AddTexture 2024-05-30 13:10:59 +02:00
Marcin Kurczewski
d0ca2603dd
port BGND_Make640x480 2024-05-30 13:10:59 +02:00
Marcin Kurczewski
a20250c99f
port UpdateGameResolution 2024-05-30 12:29:04 +02:00
Marcin Kurczewski
87aa2a859b
port GameApplySettings 2024-05-30 12:26:59 +02:00
Marcin Kurczewski
291e449814
port FmvBackToGame 2024-05-30 12:10:17 +02:00
Marcin Kurczewski
a35d5481ec
port ApplySettings 2024-05-29 19:19:43 +02:00
Marcin Kurczewski
894859cdaf
port RenderFinish 2024-05-29 19:19:43 +02:00
Marcin Kurczewski
d30da66343
port RenderStart 2024-05-29 19:19:41 +02:00
Marcin Kurczewski
12ad2bbaba
port ClearBuffers 2024-05-09 17:33:03 +02:00
Marcin Kurczewski
320a0777f1
port CreatePictureBuffer 2024-05-09 17:21:21 +02:00
Marcin Kurczewski
b64b30dd58
port CreateRenderBuffer 2024-05-09 17:19:46 +02:00
Marcin Kurczewski
4099a8d38f
port GetZBufferDepth 2024-05-09 17:17:54 +02:00
Marcin Kurczewski
b3c3caabae
port CreateZBuffer 2024-05-09 17:14:28 +02:00
Marcin Kurczewski
d6f2335dd9
port CreateWindowPalette 2024-05-09 17:12:08 +02:00
Marcin Kurczewski
6a8018363d
port CreateClipper 2024-05-09 16:55:01 +02:00
Marcin Kurczewski
9a61a8877d
port CreateBackBuffer 2024-05-09 16:52:26 +02:00
Marcin Kurczewski
f607d781ea
port CreatePrimarySurface 2024-05-09 16:49:11 +02:00
Marcin Kurczewski
38077e700e
port CreateScreenBuffers 2024-05-09 16:45:38 +02:00
Marcin Kurczewski
dda9258752
port RestoreLostBuffers 2024-05-09 16:42:22 +02:00
Marcin Kurczewski
08080095e4
port UpdateFrame 2024-05-09 16:42:14 +02:00
Marcin Kurczewski
a26bd745e5
port WaitPrimaryBufferFlip 2024-05-09 13:50:39 +02:00
Marcin Kurczewski
09b5e3f4ea
port RenderInit 2024-05-09 13:48:26 +02:00
Marcin Kurczewski
d34d835dcd
sound: use libtrx to play sound samples 2024-05-06 20:28:38 +02:00
Marcin Kurczewski
6129c1f979
port Level_Initialise 2024-05-06 20:28:38 +02:00
Marcin Kurczewski
71c710f4b2
port Sound_Init 2024-05-04 23:13:48 +02:00
Marcin Kurczewski
3a58763af9
port Sound_Shutdown 2024-05-04 23:12:34 +02:00
Marcin Kurczewski
fedc37eac3
port Sound_EndScene 2024-05-04 23:11:25 +02:00
Marcin Kurczewski
6a783863e8
port Sound_StopEffect 2024-05-04 23:07:02 +02:00
Marcin Kurczewski
8b75ccc715
port Sound_Effect 2024-05-04 01:10:20 +02:00
Marcin Kurczewski
dfff043cc2
port Sound_UpdateEffects 2024-05-03 21:53:04 +02:00
Marcin Kurczewski
1e9b212bb3 docs: add hex prefix to numbers
Improves IDE support around hex numbers
2024-04-30 11:01:52 +02:00
Marcin Kurczewski
83e453acc5
console: add 2024-04-28 00:40:23 +02:00
Marcin Kurczewski
af2d1733a1
types: rename RGB888 to RGB_888 2024-04-27 23:42:10 +02:00
Marcin Kurczewski
0a865c2f64
inv: fix regression in Inv_Construct
Partially resolves #69
2024-04-27 20:52:34 +02:00
Marcin Kurczewski
65cb2b1819
port Inv_DrawInventoryItem 2024-04-27 20:00:20 +02:00
Marcin Kurczewski
5bf223a4b9
build: auto-generate types.h 2024-04-27 17:28:12 +02:00
Marcin Kurczewski
11c0feb9b2
port Inv_AnimateInventoryItem 2024-04-27 16:20:59 +02:00
Marcin Kurczewski
5ed5913708
port Inv_SelectMeshes 2024-04-27 16:15:23 +02:00
Marcin Kurczewski
03f0367ef6
port Inv_Display 2024-04-27 12:22:45 +02:00
Marcin Kurczewski
17f963fcb3
port Inv_Construct 2024-04-26 23:08:13 +02:00
Marcin Kurczewski
4a1ae3acdc
port CutscenePlayerGen_Initialise 2024-04-24 20:08:16 +02:00
Marcin Kurczewski
e5a4c8e601
port CutscenePlayer1_Initialise 2024-04-24 20:06:34 +02:00
Marcin Kurczewski
bbea07e795
port Lara_Control_Cutscene 2024-04-24 20:03:15 +02:00
Marcin Kurczewski
886c76a2ef
port CutscenePlayer_Control 2024-04-24 20:02:45 +02:00
Marcin Kurczewski
15231677e0
port Room_FindByPos 2024-04-24 19:57:22 +02:00
Marcin Kurczewski
5104594846
port Game_Cutscene_Control 2024-04-24 19:52:43 +02:00
Marcin Kurczewski
669fdcefa5
port Misc_InitCinematicRooms 2024-04-23 22:38:58 +02:00
Marcin Kurczewski
d0ea074b78
port Game_Cutscene_Start 2024-04-18 16:57:08 +02:00
Marcin Kurczewski
73db536fc4
port Game_SetCutsceneTrack 2024-04-18 16:53:03 +02:00
Marcin Kurczewski
1df02bffbd
port Creature_GetBaddieTarget 2024-04-16 21:51:36 +02:00