Commit graph

133 commits

Author SHA1 Message Date
Woops
93fd739e7e Fix issues 2020-08-25 22:55:23 -05:00
Woops
8855f60c9e implement 2020-08-25 18:14:18 -05:00
MontyTRC89
fc9f23d5cf Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-08-17 06:53:20 +02:00
Sezz
09d08daf30 Lara no longer smacks into the wall when crawling to a hang.
Lara no longer leans into walls.
Some minor cleanup here and there.
2020-08-08 18:27:19 +10:00
Woops
b1efaf61eb clean up remove comments 2020-08-06 03:34:49 -05:00
Woops
0e8eb47261 Fix some more "feet hanging" stuff 2020-08-06 03:02:11 -05:00
Woops
f45de12af7 a few fixes to hang shimmying 2020-08-04 15:55:28 -05:00
Woops
744b4bb926 actually implement crouch rolling properly 2020-08-04 14:40:34 -05:00
Sezz
5d4dc8ffdd Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
Woops
4da41b16cb monkey roll fixes 2020-07-28 23:58:41 -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
KrysB4k
1667bd0b3c Fixed splats
Splats are fixed again, so you can't turn if you hold Up key
2020-07-25 14:28:59 +02:00
KrysB4k
4740fdf858 New Ladder Anims + refactor frame indexes to dispatches in lara.cpp
New Ladder animations have been added - sideways dismounts and water to ladder.

The direct frame indices used for splat, step up. step down checks in lara_col_walk, lara_col_run etc. have been replaced with new goal anim states to trigger dispatches.
2020-07-23 23:26:19 +02:00
MontyTRC89
83bba01a99 Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
Woops
d88a75235b Fix issue #213 2020-07-13 22:13:15 -05:00
MontyTRC89
36fe66d617 Hairs done on GPU now 2020-07-07 07:32:33 +02:00
Woops
881bff23b6 this code caused two issues: vaulting skipped all stumble animations, and Lara not able to turn while stumbing when in front of a wall. 2020-06-22 19:34:25 -05:00
Raildex
b635f4df13 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
Raildex
d2d6e5f30c Made g_Inventory a constant object.
Fixed shadow intensity
Fixed CameraViewConstantBuffer
2020-06-16 19:45:06 +02:00
Woops
f92093541f Fix cogwheel ungrab being skipped 2020-06-13 14:51:13 -05:00
Woops
befeeadd46 remove hardcoded animframe check 2020-06-12 00:56:10 -05:00
Woops
b16face1f8 remove TR12 hang from crawl2hang because it looks weird and the check always returns false because crawl2hang is dumb 2020-06-12 00:14:01 -05:00
Woops
6393e1c6eb don't enable thin ledges by default since it requires a new anim, to avoid trouble with testers who dont have the anim 2020-06-10 23:30:58 -05:00
Woops
32a22cbbc5 implement TR1/2 thin ledge hangs, fix feet shimmy 2020-06-10 23:24:18 -05:00
Woops
d83ff903bf Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-06-04 16:17:22 -05:00
Woops
6708cb6b3a fix teleportation when performing crawl2hang on triangulated geometry 2020-06-04 16:17:05 -05: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
Woops
64185864c1 fix specific hang for monkeyswing vault 2020-06-04 04:26:16 -05:00
Woops
54e950327c fix 1 click crawl vault 2020-06-02 02:18:33 -05:00
Woops
ccc733febe fix pulling out weps after 1c crawl up/down moves 2020-05-31 15:21:28 -05:00
Woops
0c4ba5a192 make 2/3 click crawlspace exits use same anim 2020-05-31 05:16:23 -05:00
Woops
5e008c0e47 add (.0f)s 2020-05-31 04:20:52 -05:00
Woops
6d78954a79 actual proper ceiling check for monkeybar vault 2020-05-30 15:35:01 -05:00
Woops
ec9afd6b8d Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-05-30 13:03:02 -05:00
Woops
0a75d9f519 fix corner shimmy and debug stuff 2020-05-30 13:02:24 -05:00
TokyoSU
e355827ee5 Fixed Repo, Fixed Savegame Struct Missing 2020-05-30 17:58:09 +02:00
TokyoSU
b615a98c46 (Broken) Deleted Global Folder
- No more enums.h, constants.h, macro.h, etc...
- moved all structure in types.h to there respective file.
2020-05-30 15:55:23 +02:00
TokyoSU
cd1d5f5482 Refactor include and moving some structure to right file
- started moving structure out of types.h.
- fixed ExtraAnim using 0 instead of -1.
- changed void(*)(); to function<> for lara routines.
- changed short(*)() effect to function<> for CreatureEffect/CreatureEffect2.
- renamed guardian to laserhead.
- moved some structure to their right place.
- renamed TYPE_ZONE to ZoneTypeEnum.
- fixed zoneType not using ZoneTypeEnum as variable.
- fixed LOT.zone not using ZoneEnumType.
- changed "variable : 1" to bool in some structure.
- implemented @krys new collision structure and improved it a bit (but commented for "later")
- level need #pragma pack(push, 1) #pragma pack(pop) to work (for structure), else it crash at LoadTexturesInfos().

Co-Authored-By: krys <krys@users.noreply.github.com>
2020-05-28 15:17:34 +02:00
TokyoSU
29f0724693 New project format (#206)
* Starting Reformat the project

- New Import Method, no more "../../" in import,
- New Entity Folder Structure, less compile time

* Refactoring the Project

- added precompiled header with default import like microsoft or directx.
- fix many double import.
- fix math.h confliting math.h from
microsoft.
- fix effects.h confliting Effects.h from DirectX.
- refactored TR4 entity folder and how it's loaded.

* Update Some Code Before Switching to Master

* Finished the NewProjectFormat Template

- need to finish entity in the master later.

* Added Monty NewFileFormat

* Fixed Monty NewFileFormat Include

* Revert "Fixed Monty NewFileFormat Include"

This reverts commit ebf0afca10.

* Trying to fix conflits for NewFileFormat

* Fixed .filters

* Last Commit in NewProjectFormat
2020-05-27 09:21:20 +02:00
Woops
70fa73580e add booleans for optionality, add crawl 2 crawl down anim 2020-05-26 07:36:09 -05:00
Woops
b817ee8134 add crouch pullup func. and corner anims 2020-05-24 03:10:00 -05:00
Woops
724bba94d3 fixes and remove some comments 2020-05-23 16:50:53 -05:00
Woops
d0a42310c4 initial commit 2020-05-23 15:59:18 -05:00
Woops
d0b542b106 water crawlspaces and crawl handling 2020-05-20 22:07:27 -05:00
Woops
08305a2885 add 2/1 click crawlspace exits and 1click crawl maneuver 2020-05-20 06:31:17 -05:00
Woops
00165403cd actually fix swandive to run transition 2020-05-20 03:18:36 -05:00
Woops
1ff6fc5768 fix backwards slide state 2020-05-19 20:42:06 -05:00
Woops
bf3555cd66 fix monkeybar vault in 3 click areas 2020-05-19 19:33:40 -05:00
Wuups
45a0a16799 Merge pull request #198 from MontyTRC89/new_anims
add swandive roll to run, slide to run, and 2/3 click crawlspace flex
2020-05-19 13:55:57 -05:00