Commit graph

8102 commits

Author SHA1 Message Date
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
Woops
8e2cffb928 fix medipack-inventory stuff 2020-06-13 16:05:52 -05:00
Woops
f92093541f Fix cogwheel ungrab being skipped 2020-06-13 14:51:13 -05:00
Sezz
3127a40ee5 Rapid-fire begone. 2020-06-12 20:11:48 +10:00
Woops
befeeadd46 remove hardcoded animframe check 2020-06-12 00:56:10 -05:00
Woops
b16face1f8 remove TR12 hang from crawl2hang because it looks weird and the check always returns false because crawl2hang is dumb 2020-06-12 00:14:01 -05:00
asasas9500
b89a2fd778 Improve hack 2020-06-11 23:03:05 -03:00
asasas9500
e6c6e83b01 Hack for frame advance, frame stop and slow motion 2020-06-11 16:25:19 -03:00
Woops
6393e1c6eb don't enable thin ledges by default since it requires a new anim, to avoid trouble with testers who dont have the anim 2020-06-10 23:30:58 -05:00
Woops
32a22cbbc5 implement TR1/2 thin ledge hangs, fix feet shimmy 2020-06-10 23:24:18 -05:00
TokyoSU
2b2a58d44c Implemented Mutant and Locusts
- Added ItemNearTarget().
2020-06-10 21:38:25 +02:00
asasas9500
b928223c29 Remove GetLaraCollisionInfo() 2020-06-09 22:51:03 -03:00
asasas9500
60fd8cda89 Make move angle relative to Lara horizontal rotation 2020-06-09 22:24:36 -03:00
asasas9500
99c2a94baa Merge branch 'DiagonalCollisions' into NoShifts 2020-06-09 17:18:57 -03:00
asasas9500
460d71fc4e Add move angle to diagnostics 2020-06-09 17:18:21 -03:00
asasas9500
d69c93bf58 Merge branch 'master' into DiagonalCollisions 2020-06-09 16:58:23 -03:00
asasas9500
03519aac29 Remove shifts 2020-06-09 14:02:39 -03:00
asasas9500
4d65439c2d Merge branch 'DiagonalCollisions' into NoShifts 2020-06-09 12:09:00 -03:00
asasas9500
05eb7778fd Revert "Remove shifts"
This reverts commit 40fe55b230.
2020-06-09 11:31:53 -03:00
KrysB4k
5ed8cf6b8a Revert "Added ChocolateFans functions"
This reverts commit 4760288101.
2020-06-09 16:26:14 +02:00
KrysB4k
4d5d9519f6 Revert "Fixed crawl2hang move for diagonal ledges"
This reverts commit 60c4f91df9.
2020-06-09 16:26:03 +02:00
asasas9500
b58fc1473e Scripting (#211)
* Create template for variables; Rename properties; Improve console input

* Improve console input again
2020-06-09 09:16:51 +02:00
KrysB4k
60c4f91df9 Fixed crawl2hang move for diagonal ledges 2020-06-08 16:44:23 +02:00
KrysB4k
4760288101 Added ChocolateFans functions
SnapToDiagonal() and SnapToQuadrant replace the angle switchcases in some of Lara's anim collision functions
2020-06-08 16:29:03 +02:00
KrysB4k
28335cce25 Merge branch 'master' into DiagonalCollisions 2020-06-08 16:24:24 +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
dd69b5c53b Fixed crocodile flying when exiting water
- Fixed the transition time for the animation (water to land).
2020-06-08 13:11:10 +02:00
KrysB4k
d3bb5a6ac9 Manually fixed lara.cpp 2020-06-07 22:24:22 +02:00
KrysB4k
b99c3ea6e1 Merge branch 'master' into DiagonalCollisions 2020-06-07 20:32:00 +02:00
KrysB4k
f89869fb41 GetOrthogonalIntersect() bug fix
Fixed dir value calculation
2020-06-07 20:13:00 +02:00
KrysB4k
3bbfc250c9 Added grabbing diagonal ledge
Updated lara_col_upjump and lara_col_reach
2020-06-07 19:25:05 +02:00
TokyoSU
f44c3571d0 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
a3ee31dbd9 Delete unused variable on crocodile control 2020-06-07 12:55:36 +02:00
TokyoSU
77621d60f3 Fixed crocodile "transition to water from land" 2020-06-07 12:47:26 +02:00
TokyoSU
663e5b7fa6 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
KrysB4k
f7e6850627 Added GetOrthogonalIntersect()
GetOrthogonalIntersect() replaces bloated dir switch case in functions like TestLaraVault() and similar
2020-06-07 02:49:38 +02:00
asasas9500
d9fcc87f12 Move COLL_TYPE, HEIGHT_TYPES, HEADINGS and OCTANTS to control.h 2020-06-06 19:05:54 -03:00
asasas9500
35fe5cd78f Merge branch 'master' into NoShifts 2020-06-06 18:37:21 -03:00
KrysB4k
dda527bb90 Merge branch 'master' into DiagonalCollisions 2020-06-06 23:17:16 +02:00
asasas9500
a3fadb109c Create RotateBoundingBox() 2020-06-06 17:55:05 -03:00
asasas9500
92fdb556c6 Merge branch 'DiagonalCollisions' into NoShifts 2020-06-06 16:00:44 -03:00
asasas9500
c49c98d21b Move COLL_TYPE, HEIGHT_TYPES and HEADINGS to collide.h; Create OCTANTS, SnapToQuadrant(), GetQuadrant(), SnapToDiagonal() and GetOctant() 2020-06-06 15:48:38 -03:00
KrysB4k
475effbe25 Add GetDiagonalIntersect()
GetDiagonalIntersect() returns Vector2 with x and z coordinates aligned to diagonal, offset by LARA_RAD
2020-06-06 20:37:19 +02:00
TokyoSU
85e6941568 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
asasas9500
40fe55b230 Remove shifts 2020-06-05 12:27:55 -03:00
KrysB4k
e2ebbe0f66 Modified LaraTestWaterClimbOut()
LaraTestWaterClimbOut() aligns to diagonals
2020-06-05 17:08:18 +02:00
asasas9500
eccff9a529 Fix signs 2020-06-05 11:57:30 -03:00
TokyoSU
2c6a1a7480 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
Woops
d83ff903bf Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-06-04 16:17:22 -05:00
Woops
6708cb6b3a fix teleportation when performing crawl2hang on triangulated geometry 2020-06-04 16:17:05 -05:00