Lwmte
b8c3b67f10
Move collision and FX functions from effect.cpp
2021-08-26 15:54:52 +03:00
hispidence
b7db2c68ad
Remove ID_GOLDROSE_ITEM; the current plan is for secrets to be done via triggers instead of the pickup itself.
2021-07-12 16:13:52 +01:00
hispidence
6676369f5c
Separate the logic for giving/taking inventory items from pickup.cpp and into its own set of files. It's not a perfect solution but it makes it somewhat cleaner and reduces the places where we have to make sure we're writing the correct enums/magic numbers.
...
Implement inventory item removal and GetInventoryCount for all items listed in PickedUpObject (except for ID_GOLDROSE_ITEM).
Make RemoveObjectFromInventory and GetInventoryCount take GAME_OBJECT_ID instead of short.
2021-07-10 13:54:15 +01:00
MontyTRC89
255393b589
Added FROM_DEGREES function; Added quantity param to PickedUpObject(); LUA scripting refactoring WIP;
2021-06-29 05:00:15 +02:00
MontyTRC89
a4d3ec9d26
Switched audio tracks from int index to string; Added Tracks.lua loading support;
2021-06-26 07:36:54 +02:00
Trxye
0c6f3de5b7
fix pickup display; fix ring inv compile; implement extra puzzle/key items in inventory;
2021-06-10 14:40:28 -05:00
Trxye
73e609ab72
fix waterskin meshswaps
2021-06-05 22:15:25 -05:00
Trxye
61db16c17e
implement waterskins
2021-06-05 15:27:19 -05:00
Trxye
814a84bd9c
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2021-05-31 11:57:49 -05:00
Trxye
d87d6e2030
fix crowbar inv bug
2021-05-31 11:57:42 -05:00
MontyTRC89
c26ed68231
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2021-05-31 07:18:09 +02:00
MontyTRC89
c6fb38d67f
Fixed statics not disappearing after shatter; Some refactoring for ID_MUMMY and ID_SKELETON; Fixed plinth pickup;
2021-05-31 07:18:02 +02:00
Trxye
f0a3f4d801
fix pickups
2021-05-30 13:18:39 -05:00
Trxye
3edfe48af6
decompile clockwork beetle;
2021-05-27 16:07:57 -05:00
Trxye
c0ca04a806
clean up ring inventory code; fix KillItem();
2021-05-26 01:58:30 -05:00
Trxye
d7fa758df7
fix inventory drawing; implement inventory in game code;
2021-05-20 14:19:11 -05:00
asasas9500
10b99e0111
Fix bomb
2020-12-23 11:04:21 -03:00
asasas9500
10a3d9167a
Fix line endings
2020-12-21 13:16:29 -03:00
Woops
2ce98f1e8f
remove bitshifts from the "Game" folder
2020-10-06 12:44:14 -05: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
Sezz
0b6721058f
Revert "Cleanup, control code standardisation, some command-query separation, un-hardcoding of animation state dispatches, QOL improvements to Lara's basic moveset."
...
This reverts commit cde394c3f4
.
2020-09-26 05:06:08 +10:00
Sezz
cde394c3f4
Cleanup, control code standardisation, some command-query separation, un-hardcoding of animation state dispatches, QOL improvements to Lara's basic moveset.
2020-09-26 03:28:30 +10:00
Woops
ade98fec65
Lara refactor: move basic movements to lara_basic, take care of the other functions.
2020-08-14 17:54:25 -05:00
Woops
dc0630c7ca
Lara refactor: move pickup functions from pickup.cpp to lara_pickup.cpp
2020-08-10 22:07:00 -05:00
Woops
d150cecaaf
Lara refactor: move pickup states to pickup.cpp
2020-08-10 00:34:19 -05:00
asasas9500
7365cdf4c8
Rename Lara files
2020-08-09 22:09:14 -03:00
Woops
59eec6ddc2
Refactor: move puzzle and keys out of pickup.cpp into their own file
2020-08-09 01:24:06 -05:00
Woops
b1efaf61eb
clean up remove comments
2020-08-06 03:34:49 -05:00
Woops
058f7f958f
small fix
2020-08-05 15:52:07 -05:00
Sezz
5d4dc8ffdd
Updated animation and state names to follow a consistent system.
2020-08-04 20:32:07 +10:00
Woops
a6b8554745
super ugly check for joby-like crowbar pickups
2020-07-31 16:36:58 -05:00
MontyTRC89
e057d91de3
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2020-07-26 07:22:43 +02:00
MontyTRC89
689ec226e7
Frames refactoring
2020-07-25 18:02:35 +02:00
Woops
ac32cb0db6
oops, add missing state check, fixes "hole" pickups
2020-07-25 00:56:37 -05:00
Woops
c357bdbdd4
puzzle, do_puzzle
2020-07-23 15:29:02 -05:00
Woops
7f889c28ad
torch pickup stuff
2020-07-23 14:55:27 -05:00
MontyTRC89
6cd500008c
Fixed pickups; Fixed no statics bug;
2020-07-23 21:38:12 +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
MontyTRC89
36fe66d617
Hairs done on GPU now
2020-07-07 07:32:33 +02:00
MontyTRC89
5b8c90b688
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2020-06-26 07:06:51 +02:00
MontyTRC89
d8bf82eab1
New FLOOR_INFO struct; Refactoring rooms part I
2020-06-26 07:06:18 +02:00
Woops
64f11ed55b
oops, uncommenting, commenting caused items underwater to spin
2020-06-21 22:02:23 -05:00
Raildex
ccfb97b549
Merge branch 'master' into flipeffect-pickups
...
# Conflicts:
# TR5Main/Game/effect.cpp
2020-06-20 13:48:55 +02:00
Woops
23a5d279dc
fixing
2020-06-20 06:35:13 -05:00
Raildex
d2d6e5f30c
Made g_Inventory a constant object.
...
Fixed shadow intensity
Fixed CameraViewConstantBuffer
2020-06-16 19:45:06 +02:00
Woops
55e0e36bcb
replace empty flipeffect 9, do_pickup
2020-06-15 00:32:58 -05:00
TokyoSU
2c6a1a7480
Fix weapon not being updated when crouching
...
- caused by me in the first place, but i forgot this small detail :x
- Updated lara structure a bit for enum variables.
- Fixed some variable not using these enum (or using the wrong one !)
2020-06-05 14:01:22 +02:00
TokyoSU
900235c967
Implemented Baboon
...
- Fixed AIObject not being initialized !
- Fixed ITEM_DEACTIVATED (cause im french and ITEM_DESACTIVATED is more appropriate)
2020-06-04 12:49:08 +02:00
TokyoSU
5152ec047c
Fixed missing lasersight change :'(
2020-06-04 11:44:22 +02:00