Commit graph

268 commits

Author SHA1 Message Date
Montagna Marco
325b5841d0 Decompiled wraiths; Added outside rooms table; 2020-08-02 19:39:55 +02:00
Montagna Marco
2f93e8598c Finished decompiling WRAITH 2020-07-31 21:33:14 +02:00
Montagna Marco
7adfdbc8f6 Decompiling WRAITH 2020-07-29 08:32:15 +02:00
Montagna Marco
1c4196832c Added ZLIB 2020-07-26 07:21:38 +02:00
Montagna Marco
014aa1baa7 Frames refactoring 2020-07-25 18:02:35 +02:00
Montagna Marco
18994dd59e Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
Montagna Marco
133c971aaf Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-07-11 21:29:49 +02:00
Montagna Marco
9f373c691a Pathfinding refactoring 2020-07-11 21:16:04 +02:00
Nils Gaitzsch
23bcc2e1c0 using Alias 2020-07-11 17:36:05 +02:00
Nils Gaitzsch
4b825f364e Merge branch 'master' into memory
# Conflicts:
#	TR5Main/Objects/TR5/tr5_objects.cpp
2020-07-10 20:17:03 +02:00
Montagna Marco
44a79bba1f Fixed rats, bats, spiders; Added debug infos; 2020-07-08 05:56:50 +02:00
Montagna Marco
2a1c491c7e Hairs done on GPU now 2020-07-07 07:32:33 +02:00
Nils Gaitzsch
da0eaeac0e Made Game_Malloc a template with a count parameter 2020-07-05 22:19:06 +02:00
Nils Gaitzsch
822ec19f08 Merge branch 'master' into renderdatarefactor
# Conflicts:
#	TR5Main/Renderer/Render11Helper.cpp
#	TR5Main/Renderer/Renderer11Compatibility.cpp
#	TR5Main/Renderer/Renderer11Draw.cpp
#	TR5Main/Renderer/Renderer11Frame.cpp
#	TR5Main/Renderer/Renderer11Lara.cpp
2020-07-03 10:09:13 +02:00
Montagna Marco
439db540e3 New level format: meshes 2020-07-03 07:05:33 +02:00
Nils Gaitzsch
3dd642f649 Rendering Sprites without Primitive Batch 2020-06-28 20:30:56 +02:00
Nils Gaitzsch
bce320d1b8 Merge branch 'master' into renderdatarefactor
# Conflicts:
#	TR5Main/Renderer/Render11Helper.cpp
#	TR5Main/Renderer/Renderer11.h
#	TR5Main/Renderer/Renderer11Compatibility.cpp
#	TR5Main/Renderer/Renderer11Draw.cpp
2020-06-27 19:48:50 +02:00
Montagna Marco
d6f45db5ec Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-06-26 07:06:51 +02:00
Montagna Marco
235dab2f13 New FLOOR_INFO struct; Refactoring rooms part I 2020-06-26 07:06:18 +02:00
Nils Gaitzsch
3781370e06 Putting Renderer into namespace
made g_Renderer a global object
2020-06-21 14:27:12 +02:00
Nils Gaitzsch
20e8386765 Merge branch 'standardupgrade' 2020-06-21 10:32:15 +02:00
Nils Gaitzsch
c860919616 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
Gancian
a0279655c5 Merged TR1 rat and vole into a single entity
Update tr1_bigrat.cpp
2020-06-20 23:33:58 +02:00
Moooonyeah
0498c261da TR5 ennemy trigger fix + decompiled code
- Fixed TR5 ennemies trigger issues.
- Added some decompiled WRAITH ennemy code
2020-06-20 22:59:24 +02:00
Nils Gaitzsch
232458472b resolving namespace std conflicts 2020-06-18 15:54:08 +02:00
Nils Gaitzsch
d5dc365c06 Made g_Inventory a constant object.
Fixed shadow intensity
Fixed CameraViewConstantBuffer
2020-06-16 19:45:06 +02:00
Nils Gaitzsch
7b5731b704 Added Explosion Sprites and Drips 2020-06-15 19:59:08 +02:00
Nils Gaitzsch
315181220a Added new SparkParticle 2020-06-15 16:36:52 +02:00
Nils Gaitzsch
25f383e42c Added new TriggerGunSmokeParticle Function 2020-06-15 16:10:09 +02:00
Nils Gaitzsch
59af8f701b Added separate Fire Sprite Sequence 2020-06-15 14:53:42 +02:00
TokyoSU
a571c397b9 Fix for Crocodile
- Updated ZONE_NULL in case it's not updated to ZONE_BASIC...
2020-06-14 08:45:45 +02:00
TokyoSU
3699a78e34 Implemented Mutant and Locusts
- Added ItemNearTarget().
2020-06-10 21:38:25 +02:00
TokyoSU
488dfd102d 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
5c719db003 Fixed crocodile flying when exiting water
- Fixed the transition time for the animation (water to land).
2020-06-08 13:11:10 +02:00
TokyoSU
3a13373c84 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
4f7266bd24 Delete unused variable on crocodile control 2020-06-07 12:55:36 +02:00
TokyoSU
6ee1f7c3f6 Fixed crocodile "transition to water from land" 2020-06-07 12:47:26 +02:00
TokyoSU
024a2e5612 Refactored Crocodile
- Refactored the bat a bit.
- Improved crocodile code style.
- Fixed crocodile attack range.
- Fixed crocodile water/land transition.
- Fixed crocodile not aligning to floor rotation.
- Simplified CalcItemToFloorRotation() and added a description to inform and warn the user.
2020-06-07 09:30:14 +02:00
TokyoSU
b19c71fd36 Refactored Bat
- Latest bat code from TR4Main.
- Fixed Semi-Always Not Attacking Lara (Collision).
- Fixed Escape Mood (Bat can fly without attacking lara and can be killed easy like this !)
2020-06-06 14:38:43 +02:00
TokyoSU
9d6a3b20d1 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
8f11417654 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
11b3751851 Finished Moving Function
- Moved Some Function to here respective file (new cpp/h).
- Changed effect_routines to function<void(ITEM_INFO*)>.
- Fixed ActivateCamera() not using ITEM_INFO* Argument for effect_routines[].
- Fixed ActivateKey() not using ITEM_INFO* Argument for effect_routines[].
- Fixed ActivateKey() and ActivateCamera() being defined 2 time.
- Commented the new level loader, for later.
2020-06-04 11:00:08 +02:00
TokyoSU
df5baee997 Fixed Repo, Fixed Savegame Struct Missing 2020-05-30 17:58:09 +02:00
TokyoSU
ee59d27517 (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
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
Joey Quint
85b8219a0d Baddy & mummy: replaced many raw numbers with enums
There's much more that could be done, but I've gotta go to bed now right and I don't want to end up 38 commits late when I'm done doing that so I commit.
2020-05-28 01:23:47 +02:00
TokyoSU
9045a2206d Partially finished Entity Folder Refactoring
- Less Compile Time
- ObjectInfo now use std::function.
- added isPickup and isPuzzleHole in ObjectInfo.
- Renamed EVIL_LARA to LARA_DOPPELGANGER (DOPPELGANGER in xml)
- Removed TR1 Larson/Pierre and TR1 Raptor.
2020-05-27 19:07:34 +02:00
Joey Quint
a2d26b4ecf Fixing merge issue with tr4_sas.h
I had created my own Objects\TR4\tr4_sas.h before pulling - I just removed it and added its contents to the Objects\TR4\Entity\tr4_sas.h created by @tokyosu
2020-05-27 13:31:25 +02:00
Joey Quint
cc9a84bfd8 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-05-27 13:26:38 +02:00
Joey Quint
c6ef437a43 Added enums SAS_STATES and SAS_ANIM 2020-05-27 13:23:38 +02:00