Commit Graph

54 Commits

Author SHA1 Message Date
Lioncash 1f8ed5af25 RetroTypes: Make types constexpr where applicable
These are generally used as basic tags and ID types, so these can have a
constexpr interface. This is particularly beneficial, given some of
these types are used in file-static lookup tables.

Without being constexpr, these type's constructors in that case are
technically runtime static constructors. While most compilers will
initialize the type at compile-time, this would be dependent on the
optimizer. By marking them constexpr, we allow it outright. It also
allows those arrays to be made constexpr as well.
2019-08-14 05:20:43 -04:00
Jack Andersen 0ab08daae7 Windows build fixes 2019-07-27 15:21:31 -10:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Phillip Stephens 8c35cd02f0 More CFlaahgra imps 2019-06-19 14:11:13 -07:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 3a0d2930fa Numerous uninitialized memory fixes 2019-04-06 19:14:48 -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 c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Phillip Stephens 711c3e0d2c Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor 2018-04-29 20:12:41 -07:00
Jack Andersen aec45ad2bb Windows PCH fixes 2017-12-29 15:09:45 -10:00
Jack Andersen 6854cb9df7 Various bug fixes 2017-11-23 22:23:28 -10:00
Jack Andersen bb10aa9844 CResFactory bug fixes 2017-10-27 21:08:48 -10:00
Jack Andersen e274cd12b9 Refactorings to support .upak generation 2017-10-24 21:47:49 -10:00
Jack Andersen 484a4900a0 CMorphBall Complete 2017-09-29 17:45:57 -10:00
Jack Andersen c0d5cee8b1 Additional work on CMorphBall 2017-09-11 19:51:17 -10:00
Phillip Stephens 9b5ec8f86d Fix visigen/hecl dependencies; Cleanup ViewManager; Various implementations 2017-08-29 06:17:52 -07:00
Jack Andersen ed991a6ac0 Initial CPlayerGun implementations 2017-08-24 20:18:09 -10:00
Jack Andersen 8e8ce66799 Additional CPlayer implementations 2017-08-15 19:34:02 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Phillip Stephens 8409cf7868 Proper TUniqueId implementation, minor bug fixes in CSortedListManager 2017-08-10 06:40:07 -07:00
Jack Andersen 0cae1bb036 Merge branch 'master' of https://github.com/AxioDL/urde 2017-07-30 19:19:26 -10:00
Jack Andersen 925aa3fe1a More CPlayer imps 2017-07-30 19:19:05 -10:00
Phillip Stephens db03927e1d Various imps and minor fixes 2017-07-30 04:00:30 -07:00
Jack Andersen 4528a6b60a Additional CPlayer work 2017-07-23 13:45:04 -10:00
Phillip Stephens b22c0bc75f Fix CGuiTextSupport crash 2017-07-07 05:23:20 -07:00
Jack Andersen b8613d61f8 Tons of save-related fixes 2017-02-07 20:48:43 -10:00
Jack Andersen 3a3298d48e STRG cooking bug fixes 2017-01-26 16:22:52 -10:00
Phillip Stephens 65fb75737f CScriptTrigger work 2017-01-14 19:59:37 -08:00
Phillip Stephens 37aab51253 Formatting, and more script object implementations 2016-12-19 10:27:58 -08:00
Jack Andersen f7f5066038 Better null-tag handling; integrate CSaveWorld and CMapWorld loading 2016-10-08 10:32:36 -10:00
Phillip Stephens 23b6bd350e Prelim CPlayer imps, fix race condition in CGameGlobalObjects 2016-09-25 09:45:22 -07:00
Phillip Stephens 38fcf914b4 CFirstPersonCamera imps 2016-09-16 15:21:19 -07:00
Phillip Stephens f2635f449c Various cleanups and minor imps 2016-09-09 21:50:00 -07:00
Jack Andersen 2a425b5a73 Work on CStateManager::InitializeState flow 2016-08-13 17:00:58 -10:00
Jack Andersen 76afccbdbe More ScriptLoader imps 2016-04-18 14:17:49 -10:00
Jack Andersen 3ae77d3390 Remaining CStateManager fields, loaders, collision stubs 2016-04-17 12:38:05 -10:00
Jack Andersen 042030934b Various CStateManager additions and camera stubs 2016-04-16 11:49:47 -10:00
Jack Andersen 8608b52774 CModelData imps 2016-04-14 11:42:47 -10:00
Jack Andersen 5de5c3d85f Character factory support classes 2016-04-12 20:07:23 -10:00
Jack Andersen 64d85d7427 Add CPOINode family of classes 2016-04-10 21:10:28 -10:00
Jack Andersen fedc93912d Refactor for original/pc dataspec handling 2016-03-25 14:51:59 -10:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10:00
Phillip Stephens 764d75f38e Add ability to reference resources by name 2016-02-20 04:40:58 -08:00
Jack Andersen 13e3afa72f D3D CElementGen rendering 2016-02-16 17:42:27 -10:00
Phillip Stephens af69c9d3ab Rename namespaces 2016-02-13 01:02:47 -08:00
Phillip Stephens ebcc986b13 More factory stubs 2016-02-10 14:54:47 -08:00
Jack Andersen 8dbd2f3819 Additional vector elements 2016-02-06 21:25:34 -10:00
Jack Andersen 7a35dac972 Initial round of particle runtime implementations 2016-02-04 15:27:03 -10:00
Phillip Stephens b261e09f51 Various stubs, and starting on core functionality 2015-11-02 10:45:39 -08:00