Commit graph

51 commits

Author SHA1 Message Date
Lwmte
28aeceac98 Rename box 2021-09-13 02:46:48 +03:00
Lwmte
48a9a1d52a Merge branch 'master' into item_data 2021-09-09 11:10:25 +03:00
Raildex
21bc5a04ba Added provisional LOT priority 2021-09-03 11:36:38 +02:00
Raildex
dce3f72d99 Removed BaddieSlots
ActiveCreatures now contains pointers to CREATURE_INFOs of items instead
Every Item with Creature Info now contains their own path finding data.
Fixed OoB issues with XZ_GET_SECTOR
2021-09-03 09:37:42 +02:00
Troye
84cc6d9c7f revert to bitshits in Game folder; handle lack of inv objects; 2021-08-30 15:13:18 -05:00
Raildex
c6fcf8b248 Renamed creature.h to creature_info.h 2021-08-29 10:04:49 +02:00
Raildex
dabbeb88db Fixed Include Hell for Creature Info 2021-08-28 12:16:03 +02:00
MontyTRC89
ab37257b77 Fixed ID_HAMMERHEAD 2021-08-16 05:44:55 +02:00
asasas9500
10a3d9167a Fix line endings 2020-12-21 13:16:29 -03:00
MontyTRC89
f41fea713d Fixed serious bug in CreatureAIInfo(); Improved ID_CROCODILE; 2020-11-28 07:27:35 +01:00
Woops
2ce98f1e8f remove bitshifts from the "Game" folder 2020-10-06 12:44:14 -05: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
83bba01a99 Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
MontyTRC89
2d72803342 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-07-11 21:29:49 +02:00
MontyTRC89
9867a6d24c Pathfinding refactoring 2020-07-11 21:16:04 +02:00
Raildex
09071a2b88 Merge branch 'master' into memory
# Conflicts:
#	TR5Main/Objects/TR5/tr5_objects.cpp
2020-07-10 20:17:03 +02:00
MontyTRC89
36fe66d617 Hairs done on GPU now 2020-07-07 07:32:33 +02:00
Raildex
5ef674b577 Made Game_Malloc a template with a count parameter 2020-07-05 22:19:06 +02:00
TokyoSU
fce86a8072 Fix for Crocodile
- Updated ZONE_NULL in case it's not updated to ZONE_BASIC...
2020-06-14 08:45:45 +02:00
TokyoSU
977e338eb7 Implemented Big Rat (TR1) Template
- Fixed old object (added by me) missing from the lua script.
2020-06-08 13:51:44 +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
f3bb956927 First EXE build successfully 2020-04-24 19:15:05 +02:00
MontyTRC89
6bff6caed2 Decompiled input 2020-04-23 19:22:01 +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
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
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
TokyoSU
d4d8056100 Update Lot and ExtraAnims 2020-01-13 13:18:55 +01:00
TokyoSU
9ab0b90e28 fixed nonLot are false for intelligent entity
- now entity will use pathfinding.
2020-01-11 11:54:06 +01:00
TokyoSU
dc0d964de5 Fixed Unfinished InitialiseSlot()
- added zoneType for default TR5 Entity.
- moved SlotsUsed from exe to dll.
- added civvy from TR3.
2020-01-11 11:43:42 +01:00
TokyoSU
f64e962bc4 Fixed some think, Added zoneType feature
- updated:
CreatureActive()
CreatureCreature()
UpdateBox()
TargetBox()
StalkBox()
ValidBox()
EscapeBox()
InitialiseSlot()
InitialiseObjects()
- updated SearchLOT() and fixed wrong value.
- fixed hitEffect not being initialised.
- fixed some double define.
- moved lara define to constants.h.
- updated script.dat to last version, deleted the one in script folder (not used).
2019-12-13 19:00:59 +01:00
TokyoSU
ec169ec070 Added the ID_XX from TR3 (only entity)
- moved some code.
- added a ruleset to normally hide some bothersome warnings.
- uncommented the CustomObjects() code :)
2019-12-04 16:12:53 +01:00
TokyoSU
713c992d76 Added Sophia
- deleted all the __cdecl except for the #define function. because /Gd enable the __cdecl for function by default.

- added the commented code in FireWeapon for TR3 entity (some function is missing)
2019-12-02 14:49:19 +01:00
TokyoSU
c3555a1fd1 [Update] Project & UPV Prototype
- changed __int32/__int16/__int8 to int/short/char respectivly.
- added UPV (prototype), lara is killed when enter.
2019-11-27 15:12:35 +01:00
TokyoSU
f9c187243c Added Mercenary (2 type), Monk, Sword Guardian
- the statue for now cant switch between
stone or normal.
- the monk cant attack other entity since the code for that is not implemented !
2019-11-24 17:01:13 +01:00
TokyoSU
8d4527a445 Last update, Include Silencer and Yeti Code 2019-11-14 14:09:43 +01:00
TokyoSU
cb22b018da Decompiled Function & Fix some think
- Decompiled BaddyObjects/TrapObjects/ObjectObjects.
- Fixed some entity.
- Fixed NUM_OBJECTS by using enum ID_NUMBER_OBJECTS instead.
- Fixed 3/4 wrong enum name.
2019-11-11 16:17:45 +01:00
MontyTRC89
4464652bb2 Tested and fixed some decompiled functions 2019-11-03 08:05:48 +01:00
MontyTRC89
6a834b884d Added fish/piranha from TR3; Added MP with stick from TR3; Almost decompiled BOX.CPP, LOT.CPP and ITEMS.CPP; 2019-10-29 20:05:58 +01:00
MontyTRC89
83a5ee8ba7 Decompiled sphinx; Tested scorpion; Tested troops; 2018-12-02 13:09:58 +01:00
MontyTRC89
97451f5cb6 Finished skeleton (needs fixing) 2018-09-19 20:48:17 +02:00
MontyTRC89
be3edf447c Added tribesman with ax 2018-09-17 23:27:29 +02:00
MontyTRC89
2524cb8d35 Added CreatureVault; Fixed baddy climbing down; Code refactoring; 2018-09-14 14:56:27 +02:00
MontyTRC89
6365a64c8f Implemented basic baddy 1 & 2 2018-09-12 20:37:37 +02:00
MontyTRC89
f93d7cbc87 Implemented some TR4 traps 2018-09-09 17:14:49 +02:00
MontyTRC89
474c02fed1 Added bat from TR4 2018-09-08 20:23:41 +02:00
MontyTRC89
6a9b90c0a8 Started implementing new enemies; Fixed bones in shader; Added small scorpion and wild boar from TR4; 2018-09-08 18:44:18 +02:00