Commit graph

9 commits

Author SHA1 Message Date
KrysB4k
cf1db753da Updates to pushables
Introduced PUSHABLE_INFO struct, which is stored in item->data of pushable.

Tried to implement as many TRNG pushable OCBs as I could.
2020-12-30 02:12:14 +01:00
asasas9500
67396cfe43 Finish merge 2020-11-11 16:28:05 -03:00
asasas9500
b110c32199 Merge branch 'master' into NewTRMath 2020-11-11 16:09:33 -03:00
asasas9500
e45daf7d24 Separate bridge floor and ceiling; Fix pushables 2020-11-11 15:01:45 -03:00
asasas9500
9ccd83269b Fix compile 2020-11-04 12:07:53 -03:00
Sezz
dda01d145f Pushables: substitute hardcoded floor values with constants, test functions return bool. 2020-10-07 02:55:17 +11: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
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