Commit graph

8102 commits

Author SHA1 Message Date
Sezz
d1439f8712 Use plural form 2023-01-29 00:24:02 +11:00
Sezz
dc6d41347d Convert enum to enum class 2023-01-29 00:21:31 +11:00
Adngel
f1bbe8dd7e Update Changes.txt
-Grouped entity fixes, sorted alphabetiaclly.
- Re-writed the line about the TR4 sphinx for something less technical.
2023-01-28 14:13:53 +01:00
Sezz
7953bd8f13 Rename everything 2023-01-29 00:03:55 +11:00
Sezz
d916df25e1 Restore original flag 2023-01-28 23:30:14 +11:00
Sezz
433a9b173b Remove static; pass correct size to memcpy 2023-01-28 23:21:52 +11:00
Sezz
6d99cc05ff Update tr5_roman_statue.cpp 2023-01-28 23:01:44 +11:00
Sezz
423f34cff7 Merge branch 'master' into fix-TR5-Twogun 2023-01-28 22:49:26 +11:00
Lwmte
0c5007b499 Update Changes.txt 2023-01-28 03:07:45 +02:00
Lwmte
545612d947 Pass real activator to most instances of legacy TestTriggers 2023-01-28 02:23:25 +02:00
Adngel
00d0c943d4 Delete of the comment block for ID_SCALING_TRAPDOOR
Looks like it's an unused object slot.

If anyone has information or plan to implement it, feel free to rewrite it.
2023-01-28 00:13:03 +01:00
Kubsy
f45a150df8 Update Changes.txt 2023-01-27 23:01:53 +00:00
Adngel
1ba34ae83a
Fix: Ceiling and Floor trapdoors (#972)
Although the trapdoor code were correct, looks like that at some moment, someone merged all the trapdoors to initialize them together with the same values.

But Ceiling and Floor Trapdoors must use different Collision functions. So this fix separate those objects from the normal trapdoors and put their right collision functions.
2023-01-27 23:00:56 +00:00
Lwmte
c72cdf8e50 Port Monty's solution for room collector endless loop 2023-01-27 22:43:34 +02:00
Nemoel-Tomo
4b8492adf3
Fix puna boss dead smoke crash (#968)
* fix crash with puna boss dying
* update explosion effect, max shockwave angle
* formatting
2023-01-27 23:33:39 +02:00
hispidence
526113dbee Update docs. 2023-01-26 21:20:50 +00:00
hispidence
fcf96568f9 Improve EventSequence example. 2023-01-26 21:19:58 +00:00
hispidence
a52177e34c Output Lua API XML for TIDE's use. 2023-01-26 21:19:22 +00:00
hispidence
d381aae14e Add warning if a new EventSequence is created with the name of one that already exists. 2023-01-26 21:13:12 +00:00
Kubsy
b77b1d736b Update Changes.txt 2023-01-26 20:24:26 +00:00
Nemoel-Tomo
b2951aa580 reduced helix distance speed to match TR5 2023-01-26 19:38:24 +01:00
Nemoel-Tomo
79debf91bc
Fix tr5 roman statue (#957)
* Fix TR5 roman statue - part 1 only for test
* fixed lightning
* add spark size, scalar
* fixed roman statue attack effects and meshwaps
* Formatting
* fixed meshwap conditions
* fixed movement zone of the roman gods
* made roman statue resist against explosion weapons
* made statue vulnerable against explosive ammo but with damage limiter
* Limits damage from super ammo even further
* Reduced super grenade fragment count, fixed super grenade damage against romangod
* formatting
* Minor changes
* Update Changes.txt

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Kubsy <kubadd475@gmail.com>
Co-authored-by: Anatoly <3331699+Lwmte@users.noreply.github.com>
2023-01-26 19:14:20 +02:00
Sezz
41ef288fc4 Update lightning.cpp 2023-01-27 02:06:07 +11:00
Sezz
72b769bdad Organise 2023-01-26 23:23:13 +11:00
Sezz
6a44e7487e Rename parameters 2023-01-26 23:18:20 +11:00
Sezz
004563f07c Add comment 2023-01-26 23:14:40 +11:00
Sezz
043476ec58 Fix helical laser scaling 2023-01-26 23:03:41 +11:00
Sezz
9a6d434d2b Update helical laser generation 2023-01-26 22:45:01 +11:00
Lwmte
666cc3bd37 Don't spawn pickups if they intersect with statics or objects 2023-01-26 01:18:37 +02:00
Kubsy
062854f3f3 Update Changes.txt 2023-01-25 18:54:53 +00:00
Nemoel-Tomo
77034b622a Merge branch 'master' into fix-TR5-Twogun 2023-01-25 16:05:36 +01:00
Sezz
f4a0cd2e3c
AxisAngle class (#951)
* Add AxisAngle class
* Simplify
* Simplify
* Rename Math/Containers folder to Math/Objects
* Add constructors
* Fix conversion errors
* Have constructors do the constructing
* Fix rotation matrix to euler angles conversion
* Revisions
* Update constructor
* Update AxisAngle RotatePoint() method and revert from quat constructor
* Add point rotation functions; rename AxisAngle constant
* Fix up constructors, remove faulty ones
* Remove debug code; organise includes
* Simplify
* Reorder variables
* Minor changes
* Remove unused function GetMatrixFromTrAngle()
2023-01-25 16:55:50 +02:00
Sezz
eb4c3195e6 Revert "Fix comment"
This reverts commit 0e6a2631b5.
2023-01-25 22:55:21 +11:00
Sezz
0e6a2631b5 Fix comment 2023-01-25 22:20:40 +11:00
Sezz
e515b5b5e4 Make alpha value in range 0-1 2023-01-25 20:54:58 +11:00
Sezz
4d53548837 Reorder parameters 2023-01-25 19:37:16 +11:00
Sezz
eb923d5ac1 Reorder parameters 2023-01-25 19:35:39 +11:00
Sezz
8176cd6cf0 Make more sense of ElectricArcSpline(); make spline functions static 2023-01-25 19:25:34 +11:00
Sezz
48121fc394 Simplify old spline function 2023-01-25 18:52:14 +11:00
Sezz
080bcbde80 Simplify unused spline function 2023-01-25 18:44:20 +11:00
Sezz
39c2870e68 Simplify electric arc spawn function signatures 2023-01-25 18:28:42 +11:00
Sezz
fed6acbd1f Establish constants; rename namespace 2023-01-25 17:38:58 +11:00
Sezz
3e6f5e8ef2 Fix laserhead lightning flags 2023-01-25 16:44:26 +11:00
Sezz
5b3848e900 Minor formatting 2023-01-25 16:20:31 +11:00
hispidence
295150227a
Merge pull request #961 from MontyTRC89/SaveVec3RotationColor
Save vec3 rotation color
2023-01-24 19:50:50 +00:00
hispidence
7f13ac0ccd Remove PreSave and make OnSave take place before data is saved. 2023-01-24 19:42:09 +00:00
hispidence
409cbf41a1 Merge branch 'master' into SaveVec3RotationColor 2023-01-24 19:41:31 +00:00
Lwmte
4bdf941575 Decopypaste camera mikePos updating, update it during flybys as well
Fixes #964
2023-01-23 00:55:09 +02:00
Lwmte
a6b1b7824c Optimize BuildOutsideRoomsTable and improve level loading times 2023-01-22 23:20:46 +02:00
Anatoly
45693e2c05
Add fixed shadow and dropped pickup positions (#955)
* Add fixed shadow and dropped pickup positions
* Update TranslatePoint() overloads
* Rename parameters
* Alphabetise includes
* Also rename to "relOffset" in another function
* Rewrite pickup drop method
* Added step test for candidate pickup drop positions
* Randomize startup point, don't use first joint position for shadow as it isn't correct sometimes
* Do more thorough step tests for pickups
* Fix rotation
* Simplify step tests again
* Update pickup.cpp

Co-authored-by: Sezz <sezzary@outlook.com>
2023-01-22 22:26:18 +02:00