Commit graph

297 commits

Author SHA1 Message Date
asasas9500
7bbb65581a Implement virtual rooms into floordata 2021-01-06 17:53:13 -03:00
asasas9500
d4c6cc4a97 Fix line endings 2020-12-21 13:16:29 -03:00
KrysB4k
8f6b428942 Removed duplicate function GetFloorAndTestTriggers, fix pushblock issues
GetFloorAndItemTriggers() was removed in favor of TestTriggersAtXYZ() from switch.cpp, which does the same. All calls to GetFloorAndItemTriggers were replaced with TestTriggersAtXYZ.

Pushables pulling bug was fixed in TestBlockPull(). PushableBlockControl() now calls ItemNewRoom() to signal change of room membership of pushable.
2020-12-19 23:02:55 +01:00
MontyTRC89
efc5d1e09d Fixed ID_SPHINX; Fixed heavy triggers; 2020-12-10 15:22:18 +01:00
asasas9500
b110c32199 Merge branch 'master' into NewTRMath 2020-11-11 16:09:33 -03:00
asasas9500
e45daf7d24 Separate bridge floor and ceiling; Fix pushables 2020-11-11 15:01:45 -03:00
asasas9500
804de67381 Improve new floordata static functions; Rework bridges 2020-11-10 22:31:29 -03:00
Montagna Marco
e7d4bb852d Fixed serious bug with weapons 2020-11-07 19:12:59 +01:00
asasas9500
da75918f7e Fix zLOS() 2020-11-04 16:37:16 -03:00
asasas9500
2df3f39d4c Merge branch 'master' into NewTRMath 2020-11-04 11:51:17 -03:00
Montagna Marco
56bc2dc39f Climbable pushables beta; AlterFloorHeight (onli for floor) 2020-11-01 07:51:11 +01:00
asasas9500
98e9d953d2 Implement new random system 2020-10-24 01:05:59 -03:00
Woops
ec845ad911 fix weapons/arms rotations and fix revolver anims 2020-10-17 01:21:07 -05:00
Woops
2b58e21ff2 restore bitshifts in TestTriggers() to fix triggers 2020-10-16 22:39:22 -05:00
asasas9500
5bed19f999 Remove W2V_SHIFT, W2V_SCALE, WALL_SHIFT and NODE_SHIFT 2020-10-14 20:53:59 -03:00
Woops
c812665152 remove bitshifts from the "Game" folder 2020-10-06 12:44:14 -05:00
asasas9500
6fc9bd9890 Fix phd_sin() and phd_cos() 2020-10-05 22:24:57 -03:00
Nils
ea9afa7413 Refactored framework.h
Removed Renderer headers from framework.h
Removed bass headers from framework.h
Removed windows-related headers to avoid nameclashes with std::min and std::max
added <algorithm> for general-purpose functions (like std::min/max)
Added NOMINMAX define to project
Minor Refactorings
2020-09-29 21:43:56 +02:00
asasas9500
fe6781ea95 Fix flipmaps again 2020-09-24 20:13:56 -03:00
asasas9500
a022146537 Fix flipmaps 2020-09-24 17:25:34 -03:00
asasas9500
9d8e0c7ca7 Fix legacy triggers 2020-09-24 10:25:51 -03:00
asasas9500
04ef765fe8 Add support for bridges 2020-09-21 23:59:57 -03:00
asasas9500
9241d011b1 Fix first bugs in new floordata 2020-09-19 20:09:57 -03:00
asasas9500
6c94a6809c Wrap old floordata functions 2020-09-19 01:38:52 -03:00
Nils
860a076ad1 Added Boat foam, Skidoo snow trail 2020-09-15 08:10:38 +02:00
Montagna Marco
542a728737 Partially fixed ID_RUBBER_BOAT 2020-09-12 20:57:32 +02:00
Montagna Marco
31c7019e3f Improved vehicles; Fixed bugs in ID_SPEEDBOAT; 2020-09-12 07:52:47 +02:00
asasas9500
c06fa6f9e2 Merge branch 'master' into NoShifts 2020-08-25 19:25:28 -03:00
Woops
aca8da8db1 Lara refactor: lara_cheat, move the rest of the functions out of laramisc.cpp and delete it. fix includes. 2020-08-16 16:01:58 -05:00
Montagna Marco
30f9b1f653 Refactoring weapons; Added new shatter fields to static meshes datat structs; 2020-08-15 07:27:14 +02:00
asasas9500
b9bc1cf54e Rename Lara files 2020-08-09 22:09:14 -03:00
Nils Gaitzsch
11b2e2cd61 Refactored functions 2020-08-09 15:25:56 +02:00
Woops
acc17d9897 Refactor: move puzzle and keys out of pickup.cpp into their own file 2020-08-09 01:24:06 -05:00
Montagna Marco
f981ba23e4 Decompiled ID_ENEMY_JEEP 2020-08-08 20:31:48 +02:00
asasas9500
671d59e1c8 Merge branch 'DiagonalCollisions' into NoShifts 2020-08-07 16:43:29 -03:00
asasas9500
3045d1c832 Merge branch 'master' into DiagonalCollisions 2020-08-07 16:37:31 -03:00
Woops
622d86c6a2 clean up remove comments 2020-08-06 03:34:49 -05:00
Montagna Marco
b4714163fc Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-08-06 06:51:57 +02:00
Montagna Marco
fb20a04f3c Decompiled ID_LEETLE_BEETLES 2020-08-06 06:51:32 +02:00
Montagna Marco
05dd077d11 Increased itemFlags array; Added startPos to ITEM_INFO; Improved wraiths; Rewritten BuildOutsideRoomsTable; 2020-08-04 21:53:58 +02:00
Sebastian Zych
e0422580a5 BUGFIX: no more pistol desync and camera wobble when shooting non-AI movable objects. 2020-08-04 21:07:59 +10:00
Sebastian Zych
2eeef3bdc0 Added option to smoothly transition health bar display. 2020-08-04 20:51:47 +10:00
Sebastian Zych
6a3700345e Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
Montagna Marco
8fc85c0e20 Fixed IsRoomOutside; Fixed AnimatingControl; 2020-08-04 07:10:31 +02:00
Montagna Marco
325b5841d0 Decompiled wraiths; Added outside rooms table; 2020-08-02 19:39:55 +02:00
KrysB4k
b57cc8d5c1 Merge branch 'master' into DiagonalCollisions 2020-07-26 10:51:06 +02:00
Montagna Marco
014aa1baa7 Frames refactoring 2020-07-25 18:02:35 +02:00
Montagna Marco
18994dd59e Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
Montagna Marco
9f373c691a Pathfinding refactoring 2020-07-11 21:16:04 +02:00
KrysB4k
9ebe4d7087 Merge branch 'master' into DiagonalCollisions 2020-07-09 14:57:32 +02:00