Commit graph

296 commits

Author SHA1 Message Date
asasas9500
10a3d9167a Fix line endings 2020-12-21 13:16:29 -03:00
KrysB4k
735e73f1ea 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
187efb475f Fixed ID_SPHINX; Fixed heavy triggers; 2020-12-10 15:22:18 +01:00
asasas9500
8ec8decc59 Merge branch 'master' into NewTRMath 2020-11-11 16:09:33 -03:00
asasas9500
82d9dc4bea Separate bridge floor and ceiling; Fix pushables 2020-11-11 15:01:45 -03:00
asasas9500
543ec74272 Improve new floordata static functions; Rework bridges 2020-11-10 22:31:29 -03:00
MontyTRC89
6108d5ac70 Fixed serious bug with weapons 2020-11-07 19:12:59 +01:00
asasas9500
f93cbfdd4a Fix zLOS() 2020-11-04 16:37:16 -03:00
asasas9500
f9432ce420 Merge branch 'master' into NewTRMath 2020-11-04 11:51:17 -03:00
MontyTRC89
6dc968d61f Climbable pushables beta; AlterFloorHeight (onli for floor) 2020-11-01 07:51:11 +01:00
asasas9500
d0a930978f Implement new random system 2020-10-24 01:05:59 -03:00
Woops
e9c0a0b77d fix weapons/arms rotations and fix revolver anims 2020-10-17 01:21:07 -05:00
Woops
c5c54a6590 restore bitshifts in TestTriggers() to fix triggers 2020-10-16 22:39:22 -05:00
asasas9500
185471eab8 Remove W2V_SHIFT, W2V_SCALE, WALL_SHIFT and NODE_SHIFT 2020-10-14 20:53:59 -03:00
Woops
2ce98f1e8f remove bitshifts from the "Game" folder 2020-10-06 12:44:14 -05:00
asasas9500
7218086a0f Fix phd_sin() and phd_cos() 2020-10-05 22:24:57 -03:00
Raildex
ac61f71386 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
b03ba6dc02 Fix flipmaps again 2020-09-24 20:13:56 -03:00
asasas9500
2094ee946a Fix flipmaps 2020-09-24 17:25:34 -03:00
asasas9500
2f6e8abfa0 Fix legacy triggers 2020-09-24 10:25:51 -03:00
asasas9500
5f025c9cb5 Add support for bridges 2020-09-21 23:59:57 -03:00
asasas9500
4476d12b5c Fix first bugs in new floordata 2020-09-19 20:09:57 -03:00
asasas9500
c2c961a7dd Wrap old floordata functions 2020-09-19 01:38:52 -03:00
Raildex
9dc7ab6d18 Added Boat foam, Skidoo snow trail 2020-09-15 08:10:38 +02:00
MontyTRC89
18d75451ae Partially fixed ID_RUBBER_BOAT 2020-09-12 20:57:32 +02:00
MontyTRC89
54893c42be Improved vehicles; Fixed bugs in ID_SPEEDBOAT; 2020-09-12 07:52:47 +02:00
asasas9500
547b643232 Merge branch 'master' into NoShifts 2020-08-25 19:25:28 -03:00
Woops
6ada970725 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
MontyTRC89
971800fc94 Refactoring weapons; Added new shatter fields to static meshes datat structs; 2020-08-15 07:27:14 +02:00
asasas9500
7365cdf4c8 Rename Lara files 2020-08-09 22:09:14 -03:00
Raildex
b58d18ade2 Refactored functions 2020-08-09 15:25:56 +02:00
Woops
59eec6ddc2 Refactor: move puzzle and keys out of pickup.cpp into their own file 2020-08-09 01:24:06 -05:00
MontyTRC89
ab46c8f52b Decompiled ID_ENEMY_JEEP 2020-08-08 20:31:48 +02:00
asasas9500
c411689790 Merge branch 'DiagonalCollisions' into NoShifts 2020-08-07 16:43:29 -03:00
asasas9500
86e2291c53 Merge branch 'master' into DiagonalCollisions 2020-08-07 16:37:31 -03:00
Woops
b1efaf61eb clean up remove comments 2020-08-06 03:34:49 -05:00
MontyTRC89
9a4ef10ed4 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-08-06 06:51:57 +02:00
MontyTRC89
fa0012ba6a Decompiled ID_LEETLE_BEETLES 2020-08-06 06:51:32 +02:00
MontyTRC89
fdf2de1e89 Increased itemFlags array; Added startPos to ITEM_INFO; Improved wraiths; Rewritten BuildOutsideRoomsTable; 2020-08-04 21:53:58 +02:00
Sezz
5a3ec08841 BUGFIX: no more pistol desync and camera wobble when shooting non-AI movable objects. 2020-08-04 21:07:59 +10:00
Sezz
5fc90166a5 Added option to smoothly transition health bar display. 2020-08-04 20:51:47 +10:00
Sezz
5d4dc8ffdd Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
MontyTRC89
91aa426fc1 Fixed IsRoomOutside; Fixed AnimatingControl; 2020-08-04 07:10:31 +02:00
MontyTRC89
bde10fe313 Decompiled wraiths; Added outside rooms table; 2020-08-02 19:39:55 +02:00
KrysB4k
ed13777ac2 Merge branch 'master' into DiagonalCollisions 2020-07-26 10:51:06 +02:00
MontyTRC89
689ec226e7 Frames refactoring 2020-07-25 18:02:35 +02:00
MontyTRC89
83bba01a99 Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
MontyTRC89
9867a6d24c Pathfinding refactoring 2020-07-11 21:16:04 +02:00
KrysB4k
2c98fbbc2c Merge branch 'master' into DiagonalCollisions 2020-07-09 14:57:32 +02:00
MontyTRC89
36fe66d617 Hairs done on GPU now 2020-07-07 07:32:33 +02:00