Commit graph

74 commits

Author SHA1 Message Date
MontyTRC89
4ae7d54e6b Fixed SameZone(); Adding picking to Baddy 1-2; 2021-04-16 10:13:59 +02:00
MontyTRC89
14e9a09598 Temporary fixes to AI; Decompiling energy arcs WIP; 2021-04-13 06:08:33 +02:00
MontyTRC89
ba9b5909aa Temporary fix for boxIndex -1 2021-03-27 07:42:02 +01:00
asasas9500
10a3d9167a Fix line endings 2020-12-21 13:16:29 -03:00
asasas9500
1693bf741d Revert move angle relative to Lara rotation 2020-12-19 23:34:52 -03:00
MontyTRC89
6784cf2869 Fixed CreatureAnimation(); Improved ID_CROCODILE; 2020-11-29 06:56:37 +01:00
MontyTRC89
f41fea713d Fixed serious bug in CreatureAIInfo(); Improved ID_CROCODILE; 2020-11-28 07:27:35 +01: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
MontyTRC89
9a5f27b248 Merge pull request #220 from MontyTRC89/NoShifts
No shifts
2020-09-01 20:37:48 +02:00
MontyTRC89
7795d201e5 First conceptual test of climb up/down of 7 clicks with ID_VON_CROY 2020-09-01 20:32:43 +02:00
MontyTRC89
0aff21a128 Fixed enemy monkey; Added new zone for ID_VON_CROY; Small AI fixes; Added 3 blocks jump; 2020-09-01 07:06:31 +02:00
MontyTRC89
f923f514ec First ID_VON_CROY implementation; Added friendly to ITEM_INFO; 2020-08-29 09:39:10 +02:00
asasas9500
c411689790 Merge branch 'DiagonalCollisions' into NoShifts 2020-08-07 16:43:29 -03:00
Woops
b1efaf61eb clean up remove comments 2020-08-06 03:34:49 -05:00
Sezz
5d4dc8ffdd Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
MontyTRC89
bde10fe313 Decompiled wraiths; Added outside rooms table; 2020-08-02 19:39:55 +02:00
MontyTRC89
3e742ca1ee Fixed a couple of bugs with pathfinding 2020-07-26 20:55:29 +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
MontyTRC89
36fe66d617 Hairs done on GPU now 2020-07-07 07:32:33 +02:00
asasas9500
a9dfdec427 Merge branch 'DiagonalCollisions' into NoShifts 2020-06-21 14:09:31 -03:00
Raildex
b635f4df13 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
asasas9500
60fd8cda89 Make move angle relative to Lara horizontal rotation 2020-06-09 22:24:36 -03:00
TokyoSU
f44c3571d0 Fixed Crocodile xRot when exiting water
- it happen randomly for the xRot.
- moved CreatureUnderwater() being not in the good place (after CreatureAnimation())
2020-06-07 13:46:17 +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
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
MontyTRC89
fdc3ff9996 Refactored OBJET_INFO to ObjectInfo 2020-04-27 15:28:54 +02:00
MontyTRC89
5f63d6acba Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +02:00
MontyTRC89
6b819c2855 Started math refactoring 2020-04-25 16:23:53 +02:00
MontyTRC89
f3bb956927 First EXE build successfully 2020-04-24 19:15:05 +02:00
MontyTRC89
9a78144600 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
MontyTRC89
7771e8faf1 PHD Math removal 1 2020-04-20 14:17:01 +02:00
MontyTRC89
e6c2205ffc Removed ExplodingDeath define and renamed ExplodingDeath2 => ExplodingDeath 2020-04-17 06:31:51 +02:00
MontyTRC89
cbe9f362b6 Fixed chase camera; Moved Camera in DLL; 2020-04-12 06:50:43 +02:00
MontyTRC89
3cabd868ba Refactoring 1 2020-04-01 13:09:14 +02:00
MontyTRC89
c7b6efe28d Added death states to CHEF and LAGOON_WITCH; Fixed water enemies; 2020-03-31 07:44:40 +02:00
MontyTRC89
d7f2bc18f8 Fixed jumping enemies 2020-03-14 21:43:05 +01:00
MontyTRC89
f4ee436f5d Fixed basic pathfinding for flying enemies 2020-03-14 20:26:53 +01:00
MontyTRC89
826af067b3 Fixed sparks drawing; Moved boxes, overlaps and zones in DLL; Decompiled missing doors code; Added some code to phd_LookAt; 2020-01-16 19:14:35 +01:00
MontyTRC89
1fda4bd6dd Partially fixed ID_TR5_LARSON 2020-01-09 09:32:52 +01:00
MontyTRC89
c3890b0e68 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-04 09:26:56 +01:00
MontyTRC89
29ff6f9355 Fixing Larson; Fixed ITEM_INFO struct; Fixed some entities; Fixed InitialiseCreature; Fixed ClearItem; 2020-01-04 09:10:24 +01:00
asasas9500
2556a824bf Fix guard; Add LOS functions 2019-12-27 23:54:40 -03:00
MontyTRC89
411f8e434e Fixed references to doors; Added TR3 style pushable blocks; Added InitialiseTightRope; 2019-12-23 23:10:24 +01:00