Commit Graph

42 Commits

Author SHA1 Message Date
Phillip Stephens 41a2a4ae6d
Rename CScriptDock enum values to match behavior 2021-05-31 13:12:08 -07:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Lioncash 470d649604 CScriptDock: Brace conditionals where applicable 2020-05-07 13:43:08 -04:00
Lioncash 554893ef85 RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers
where applicable.
2020-04-20 15:57:25 -04:00
Lioncash 7df73b6f4c CScriptDock: Get rid of variable shadowing
Same behavior, less bug vectors.
2020-04-12 15:29:53 -04:00
Lioncash 7fb2b6ac0b CScriptDock: Make dock material list constexpr
Same behavior, no runtime overhead.
2020-04-12 15:28:18 -04:00
Luke Street bb7e94f304 Runtime/World: Replace bitfield unions with constructor initializers 2020-04-11 01:50:10 -04:00
Lioncash 3147d39cd9 CScript*: Return std::nullopt in GetTouchBounds()
In some implementations, returning via default construction for
std::optional can cause the entire inner buffer to be zeroed out.

Returning with std::nullopt causes only the internal validity flag to be
set and nothing more.
2020-02-01 01:06:43 -05:00
Lioncash 221cc5c6b8 RuntimeCommonB: Normalize cpp file includes
Like the prior changes normalizing the inclusions within headers, this
tackles the cpp files of the RuntimeCommonB target, making these source
files consistent with their headers.
2019-12-22 18:12:04 -05:00
Phillip Stephens 68e2fad74f
Fix TCastTo.hpp inclusions, add comment to warn against modifying include path 2019-09-21 06:07:13 -07:00
Lioncash 2c6aed7033 World/CScript*: Pass by reference over by value
Based off the use of the const, it's likely that these were intended to
be references, rather than be copied by value
2019-09-06 10:49:54 -04:00
Lioncash afab3e0327 Runtime: Make const/non-const getters have the same name
Makes for a more consistent interface, as getters won't have different
names to remember based off whether or not they're const qualified.
2019-08-14 12:45:57 -04:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 8df0a4913c zeus constexpr refactor and thermal visor fixes 2019-02-23 21:15:54 -10:00
Jack Andersen ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 7c7da6671a SIMD refactor 2018-12-07 15:49:15 -10:00
Jack Andersen 427f5d8786 Various bug fixes 2018-10-26 20:16:12 -10:00
Jack Andersen f60af632b3 Big fixes and big memory leak refactor (linux only for now) 2018-05-19 20:14:57 -10:00
Phillip Stephens 8d395d932e Implement CScriptEffect, more fixes for CScritDock 2018-05-13 20:38:36 -07:00
Phillip Stephens f5ea144b47 Various level streaming fixes, remove support for uncooked rep 2018-05-06 17:47:40 -07:00
Phillip Stephens 734b25cad3 Fix doors and various area streaming bugs 2018-05-01 17:43:31 -07:00
Phillip Stephens 711c3e0d2c Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor 2018-04-29 20:12:41 -07:00
Phillip Stephens 5c7a03fb40 Fix game crashing when touching a dock to an unloaded area 2017-12-03 18:26:17 -08:00
Jack Andersen f60097b7e3 Implement CScriptSound and bug fixes 2017-11-26 19:06:53 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 0fe125d913 Finish CSamusHud and subsystems 2017-04-13 09:28:31 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen 50fe6d34ab PVS implementations 2017-02-18 23:27:01 -10:00
Jack Andersen 59406a069b Bug fixes and more CStateManager imps 2017-02-13 18:27:20 -10:00
Jack Andersen 6857e219b4 Windows Fixes 2017-02-11 18:43:33 -10:00
Jack Andersen da91c921cb Bitfield initializer bug fixes 2017-01-24 18:40:19 -10:00
Phillip Stephens 65fb75737f CScriptTrigger work 2017-01-14 19:59:37 -08:00
Jack Andersen e2c671e9b4 TCastTo implementation 2017-01-14 17:07:01 -10:00
Phillip Stephens 353dbadfe9 Code cleanup and corrections 2017-01-06 17:58:05 -08:00
Phillip Stephens a2c9271ee1 Fix gbalink compiling on linux, finish CScriptDock 2017-01-03 22:39:56 -08:00
Phillip Stephens b765ce3eb7 Lots of ScriptObject and Collision work 2017-01-03 20:30:05 -08:00
Phillip Stephens af1e22a62d Start naming EMaterialTypes values 2016-12-29 13:38:59 -08:00
Phillip Stephens 0fa395f9e1 More script object imps 2016-12-21 18:48:22 -08:00
Phillip Stephens 130108070d More CPhysicsActor imps 2016-09-01 02:31:18 -07:00
Phillip Stephens 4615f37f59 Various imps 2016-04-22 13:22:45 -07:00
Phillip Stephens 4ce505989b More script object imps 2016-04-20 14:07:18 -07:00