Commit graph

96 commits

Author SHA1 Message Date
Krys
dbac993499 First tests for diagonal collision
This branch tests the diagonal collisions. So far only the running splat, walking splat and vaults work with diagonal collision. Jumping splat, getting out of water still needs some work
2020-05-28 20:59:46 +02:00
TokyoSU
2c5a621cb3 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
9c1c4517d7
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
9974661747 add booleans for optionality, add crawl 2 crawl down anim 2020-05-26 07:36:09 -05:00
Woops
f0d3655184 add crouch pullup func. and corner anims 2020-05-24 03:10:00 -05:00
Woops
90cc3a048f fixes and remove some comments 2020-05-23 16:50:53 -05:00
Woops
6771d8a3d0 initial commit 2020-05-23 15:59:18 -05:00
Woops
7e45be030a water crawlspaces and crawl handling 2020-05-20 22:07:27 -05:00
Woops
5615785de9 add 2/1 click crawlspace exits and 1click crawl maneuver 2020-05-20 06:31:17 -05:00
Woops
ace4743319 actually fix swandive to run transition 2020-05-20 03:18:36 -05:00
Woops
ab7ffa98a6 fix backwards slide state 2020-05-19 20:42:06 -05:00
Woops
b502235274 fix monkeybar vault in 3 click areas 2020-05-19 19:33:40 -05:00
Wuups
444615a887
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
Woops
96e73614e3 add swandive roll to run, slide to run, and 2/3 click crawlspace flex 2020-05-19 13:54:35 -05:00
TokyoSU
1fc746dac2 Implemented Motorbike
- need to fix shift bug, and lara position
- need to fix collision.
2020-05-19 13:20:44 +02:00
Wuups
9cf1e9de3e
crouchroll launch fix for specific geometry 2020-05-18 21:59:13 -05:00
Wuups
bdf62d5fa0
fix crouch roll embedding in 1-2 click ledges 2020-05-18 02:22:00 -05:00
Wuups
6d30eb227c
fix crawling responsiveness 2020-05-08 12:17:35 -05:00
Wuups
a28bd5e582
Merge pull request #183 from MontyTRC89/CrouchRoll
Enable the crouch roll animation
2020-05-06 00:07:22 -05:00
Wuups
1751989bd2
Merge pull request #185 from MontyTRC89/monkeyswing-roll
enable the monkeyswing roll
2020-05-06 00:07:07 -05:00
Wuups
b696d5174e
Update lara.cpp 2020-05-02 21:49:44 -05:00
Wuups
912d1047b4
enable the monkeyswing roll
- The Core animation is missing an animation command to turn her around.
2020-05-02 14:05:56 -05:00
Wuups
ca3917a32a
done 2020-05-02 12:05:42 -05:00
Wuups
c5a9514e07
remove couple useless stuff 2020-05-01 21:47:35 -05:00
Wuups
9a0ef9e977 work 2020-05-01 21:19:03 -05:00
woopstombraider
e947f290e5 Fix Lara being able to take her guns out during the forwards crawlspace exit 2020-05-01 09:55:36 -05:00
woopstombraider
184d23b9f6 Revert "Fix Lara being able to take her guns out during the forwards crawlspace exit"
This reverts commit f02e4bf51c.
2020-05-01 09:53:19 -05:00
woopstombraider
f02e4bf51c Fix Lara being able to take her guns out during the forwards crawlspace exit 2020-05-01 09:52:16 -05:00
Montagna Marco
3cf3b1d2dc Fixed look camera; Fixed bugs with gunflashes and smoke positions; 2020-04-29 06:43:53 +02:00
Montagna Marco
46f2db3481 Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +02:00
Montagna Marco
20bd242052 Started math refactoring 2020-04-25 16:23:53 +02:00
Montagna Marco
85e462f6a2 First EXE build successfully 2020-04-24 19:15:05 +02:00
Montagna Marco
4cc46789e9 Decompiled input 2020-04-23 19:22:01 +02:00
Montagna Marco
9f05715977 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
Montagna Marco
32bafa9893 PHD Math removal 1 2020-04-20 14:17:01 +02:00
asasas9500
0fafb8afdf Fix Lara functions; Fix flare animations; Add gun type and status to diagnostics 2020-04-03 23:55:22 -03:00
asasas9500
a2fce84b72 Fix lara_col_back() 2020-03-31 21:03:28 -03:00
asasas9500
7d528c4cc2 Improve LaraHangTest(); Add lara_col_climbstnc() 2020-03-28 16:24:17 -03:00
asasas9500
ed12194a59 Uncomment ExplodeItemNode(); Remove duplicated GetClimbTrigger(); Fix LaraHangLeftCornerTest(), LaraHangRightCornerTest() and TestLaraVault(); Correct ANIM_FRAME struct definition 2020-03-27 19:27:21 -03:00
asasas9500
a5b35de898 Add LaraHangTest(); Fix LaraTestHangOnClimbWall(); Place function markers 2020-03-21 14:48:37 -03:00
Montagna Marco
631c9fb327 Decompiled ID_DEATH_SLIDE 2020-01-29 08:29:15 +01:00
asasas9500
68daee7d6a Place function markers; Remove collision from ID_ANIMATING13, ID_ANIMATING14, ID_ANIMATING15 and ID_ANIMATING16 2020-01-27 00:13:39 -03:00
asasas9500
c00c8750cb Replace NormalizeVector() with NormaliseRopeVector(); Fix Lara functions 2020-01-25 23:31:26 -03:00
asasas9500
8930887f8a Move CurrentPendulum, ApplyVelocityToRope() and SetPendulumVelocity() to rope.cpp; Fix InitialiseRope(), PrepareRope() and NormaliseRopeVector(); Add rope functions 2020-01-21 12:22:52 -03:00
asasas9500
5e6a2278e4 Fix ropes 2020-01-15 22:26:49 -03:00
TokyoSU
3f3136f5c6 Updated Lara, Fixed Flycheat Speed
- updated GetFloorHeight() a bit.
2020-01-14 14:25:37 +01:00
TokyoSU
cd6f239e1b Update Lot and ExtraAnims 2020-01-13 13:18:55 +01:00
Montagna Marco
41732b5cde Decompiled bars system and possibly fixed sniper bug; Bars are now flashing when low values; 2020-01-04 13:26:22 +01:00
TokyoSU
c89394d528 Fix Swamp Flag, Added Old/New Object ID
- fixed swamp flag.
- fixed phd_PopDxMatrix() not being used anymore.
- deleted ENV_FLAG_SFX_ALWAYS and ENV_FLAG_PITCH_SHIFT and use the sound.h define instead.
- fixed loadlevel update progress not correct at 90%.
- updated GAME_OBJECT_ID, now you can use the new one, but TR5_DEBUG is defined by default to use the old one !
2019-12-31 14:56:02 +01:00
TokyoSU
7298149783 Swamp Flag Implementation Part 2
- the end part will be the camera.
2019-12-29 20:35:25 +01:00