Commit graph

8102 commits

Author SHA1 Message Date
Nemoel-Tomo
031c554cb1 removed useless Heavyguard-headjoint-range 2023-01-22 18:49:11 +01:00
TokyoSU
4c82c39026 Rework hit joint code
- Use GetSpheres() to get joint index.
- Implement GetSpheres() for Lasersight.
2023-01-22 18:00:32 +01:00
TokyoSU
4fdb67b2d2 Merge branch 'master' into fix-TR5-Twogun 2023-01-22 17:07:53 +01:00
Lwmte
7f087f84ec Update box.cpp 2023-01-22 16:12:23 +02:00
Lwmte
afea5107a7 Remove trash 2023-01-22 15:51:13 +02:00
Lwmte
8e3ab37eff Fix enemy stalking if player is not accessible and in the same box already 2023-01-22 15:45:09 +02:00
Lwmte
260d1bcff4 Move SpawnShivaSmoke 2023-01-22 15:39:33 +02:00
Anatoly
ea337bbc99
Merge pull request #933 from MontyTRC89/Enemy-fix
Added lizard and punaboss from TR3
2023-01-22 12:08:08 +02:00
Lwmte
c844fe7569 Merge branch 'master' into fix-TR5-Twogun 2023-01-22 11:12:57 +02:00
Lwmte
f40c9895a1 Update Changes.txt 2023-01-22 11:06:16 +02:00
TokyoSU
502d40115a Update Changes.txt 2023-01-22 10:48:05 +01:00
TokyoSU
5d53e50f52 Merge branch 'master' into Enemy-fix 2023-01-22 10:35:21 +01:00
Sezz
7dbc74cb83 Rename parameter 2023-01-22 20:19:42 +11:00
Sezz
1a81b943b3 Simplify 2023-01-22 15:12:42 +11:00
Sezz
0429b70841 Simplify 2023-01-22 14:49:15 +11:00
Sezz
7cf92e51eb Use back() method on vector 2023-01-22 13:55:56 +11:00
Sezz
46e04bebe6 Make internal Shiva functions static; replace uses of GetRandomControl() 2023-01-22 13:43:36 +11:00
Sezz
9cb0b49c17 Demagic values; generate positions in spheres 2023-01-22 13:23:51 +11:00
Lwmte
37e6899b90 Fix puna death effect, remove magic number 2023-01-22 02:58:55 +02:00
Nemoel-Tomo
ae7d86d937 removed function SpawnShockwaveRing, enum class ShockwaveRing 2023-01-21 13:17:17 +01:00
Sezz
ce6a3a8182 Update lightning.cpp 2023-01-21 22:36:08 +11:00
Sezz
d4d19759c7 Add comments 2023-01-21 22:35:41 +11:00
Nemoel-Tomo
8a98a4e469 Merge branch 'Enemy-fix' of https://github.com/MontyTRC89/TombEngine into Enemy-fix 2023-01-21 12:03:23 +01:00
Nemoel-Tomo
3cb72877cd update boss shield effect and explosion shockwave 2023-01-21 12:03:20 +01:00
Sezz
c7e2f28ce5 Don't return pointer with TriggerLightning() 2023-01-21 21:53:36 +11:00
TokyoSU
8242dcba50 Added small_spider fix
- Return early on ShivaHit if pos is not valid.
2023-01-21 11:18:01 +01:00
Sezz
b9560a3e22 Update lightning.cpp 2023-01-21 18:40:59 +11:00
Sezz
3c9c4ffc28 Simplify electric arc spline 2023-01-21 18:40:21 +11:00
Sezz
fd2026280e Make parameters const 2023-01-21 16:30:21 +11:00
Sezz
eb83b13e78 Simplify electric arc spline function 2023-01-21 01:30:43 +11:00
Sezz
e6885c345e Simplify loop 2023-01-21 00:11:42 +11:00
Sezz
df2acef972 Use fmod() 2023-01-20 23:18:06 +11:00
Sezz
d9462511b6 Use floats for electric arc effect positions 2023-01-20 23:06:53 +11:00
Sezz
8b79b2c20b Make more sense of weird electric arc interpolation 2023-01-20 19:49:58 +11:00
Sezz
f6564f0813 Define constants; sort out types 2023-01-20 17:33:07 +11:00
Sezz
5e336d22d8 Make heavy guard internal functions const; define constants 2023-01-20 16:11:43 +11:00
Sezz
20d0730c1a Make internal Puna and lizard functions static 2023-01-20 13:27:59 +11:00
Sezz
4b20389408 Use proper conversion instead of casting 2023-01-20 12:55:39 +11:00
Nemoel-Tomo
849311df71 update attack laser to have more amplitude 2023-01-19 20:51:41 +01:00
Nemoel-Tomo
f6f421072e update puna lightning visuals 2023-01-19 18:46:58 +01:00
TokyoSU
ae96f8ee56 Fix laser target pos when spawning lizard 2023-01-19 17:31:31 +01:00
TokyoSU
596d09bad0 Fixed puna_boss attack type 2023-01-19 16:43:17 +01:00
TokyoSU
e2cd90a609 Fixed DRAGON_BACK hit effect
- Without project v143 this time.
2023-01-18 22:57:15 +01:00
TokyoSU
0d4e6bc73d Revert "Fixed DRAGON_BACK hit effect"
This reverts commit ed3aa08598.
2023-01-18 22:56:25 +01:00
TokyoSU
ed3aa08598 Fixed DRAGON_BACK hit effect 2023-01-18 22:56:13 +01:00
Nemoel-Tomo
63bd8e0eea
fixed Demigod2, fixed TR4 enemy missiles mesh (#959)
* fixed Demigod2, fixed TR4 enemy missiles mesh

* added constexpr for distance values

* Formatting

* Update tr4_demigod.cpp

Co-authored-by: Sezz <sezzary@outlook.com>
2023-01-18 00:50:25 +02:00
hispidence
305e11b243 Merge branch 'master' into SaveVec3RotationColor 2023-01-16 21:12:25 +00:00
hispidence
31aa60d311 Change C++ casts to C casts in accordance with the coding standards. 2023-01-16 21:11:50 +00:00
hispidence
d2e27d4d8e Add Rotation constructor that takes a Vector3 ref. This will get called upon loading, when the saved Vector3 will be put back into the Rotation object. 2023-01-16 20:05:52 +00:00
hispidence
24857eba1c Add PreSave function that gets called before data is saved. 2023-01-16 20:04:40 +00:00