TombEngine/TombEngine/Objects/TR2/Entity
TokyoSU 2ba8257468
Enemy firing system refactor (#1069)
* Refactored gunflash.

- Fixed rendering of gunflash.
- Improved gen.bat with some comment.
- Now entity can shoot with 2 weapon (left and right) like lara.

* Fix compiling error

* Move muzzleFlash to creature struct

- Removed BiteInfo and remplaced it by CreatureBiteInfo.
- Fixed Mafia2 and Cybord muzzleflash pos.
- Added dynamic light and smoke when entity shoot. (only for weapon)

* Able to switch GUN_FLASH mesh.

* Improve CreatureEffect/Effect2

Pass bite directly instead.

* Fixed TR5 and TR4 biteInfo

* Finished implementing gunflash for creatures.

- Fix snowmobile gun crash.
- Fix knifethrower not throwing knife.

* Removed traps cpp/h.

* Update Changes.txt

* Update Changes.txt

* Update effects.cpp

* Fixed build error

* Update setup.cpp

- Removed old ObjectObjects() and TrapObjects() and move the code to TR5 objects.

* Fix mpgun gunflash not playing when dead.

* Fixed snowmobile gun not appearing correctly

- Fixed crash if ID_GUN_FLASH2 not exist  and creature like snomobile driver shoot.
- Fix the snowmobile driver AI that where commented (was disabled to test the gunflash).

* Improved AssignObjectAnimations

* Added new lot for snowmobile gun

- Allow the snowmobile to drop from 4 block !

* Fixed savegame crash

* Change what @Lwmte reviewed.

* Added todo for snowmobile gun.

- reverted NO_JOINT in CreatureBiteInfo causing error when compiling.

* Fix compile error caused by the develop merge

* Minor formatting

* Update people.cpp

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Kubsy <80340234+Kubsy@users.noreply.github.com>
2023-04-28 16:52:35 +01:00
..
tr2_barracuda.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_barracuda.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_bird_monster.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_bird_monster.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_dragon.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_dragon.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_eagle_or_crow.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_eagle_or_crow.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_knife_thrower.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_knife_thrower.h Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_mercenary.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_mercenary.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_monk.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_monk.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_rat.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_rat.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_shark.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_shark.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_silencer.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_silencer.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_skidman.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_skidman.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_spear_guardian.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_spear_guardian.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_spider.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_spider.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_sword_guardian.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_sword_guardian.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_worker_dualrevolver.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_worker_dualrevolver.h Move TR2 creatures into more appropriate namespace 2022-08-21 15:20:13 +10:00
tr2_worker_flamethrower.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_worker_flamethrower.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_worker_machinegun.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_worker_machinegun.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_worker_shotgun.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_worker_shotgun.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00
tr2_yeti.cpp Enemy firing system refactor (#1069) 2023-04-28 16:52:35 +01:00
tr2_yeti.h Initialize with a z (#1077) 2023-04-21 10:39:31 +01:00