Commit Graph

56 Commits

Author SHA1 Message Date
Luke Street 26fd0e2b9f Text rendering & CWorldTransManager fixes 2022-05-19 00:57:30 -07:00
Phillip Stephens 0ca2786302
Initial CTextRenderBuffer rewrite 2022-05-13 23:47:29 -07:00
Luke Street 22dfd3b3f7 aurora: Rework texture binding API
- Texture binding is now handled by GX calls
- More CCubeMaterial / CCubeRenderer impl
- Semi-working thermal visor rendering
- More CGraphicsPalette impl
- Some CWorldShadow impl
- Start work on indirect texturing
- Stub out CTextRenderBuffer
2022-05-13 19:40:31 -04:00
Luke Street 57d96dbb17
Fully decouple hecl from Metaforce
- Added CStringExtras Convert functions
  (and UTF-compatible versions)
- GX header copied into Runtime
- SFX headers copied into Runtime/Audio
2022-02-21 08:01:06 -08:00
Luke Street 9ca1a38171 Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
2021-06-30 14:20:45 -04:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Lioncash 5d209c8dc8 General: Mark a handful of deduced const variables as const explicitly
Same behavior, but makes it explicit to the reader that these are const.

Prevents cases where the reader might assume that just because the
variable isn't const qualified that it must be mutable, when it actually
isn't.
2020-05-08 18:41:29 -04:00
Lioncash b700da547e CGuiTextSupport: Invert conditionals where applicable
Unindents code and allows for easier placement of breakpoints when the
conditions are equal to the early exit path.
2020-04-23 02:39:39 -04:00
Lioncash 787fc3276f CGuiTextSupport: Use const references where applicable 2020-04-23 02:36:45 -04:00
Lioncash 3c8ce3dc99 CGuiTextSupport: Amend typo in debug group label
This is within the Render() function, so we can rename the group name.
2020-04-14 13:34:50 -04:00
Jack Andersen 5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10:00
Lioncash 2d8e94911a CGuiTextSupport: Eliminate the use of const_cast
We can supply a const and non-const variant to eliminate the need to
const_cast here.
2020-03-29 21:37:11 -04:00
Lioncash 0aff4dc21e CTextRenderBuffer: Remove use of const_cast within Render()
Same behavior but way less casting.
2020-03-29 04:42:58 -04:00
Lioncash 7f20cd0883 CGuiTextSupport: Make use of emplace_back() in AddText()
Same behavior, less code.
2020-01-28 00:22:19 -05:00
Jack Andersen e1d46755a3 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde 2019-09-30 21:41:42 -10:00
Jack Andersen 16ca0d24c2 Explicit Asset ID refactor 2019-09-30 21:38:03 -10:00
Lioncash 06789d1860 General: Normalize several headers' include paths
Normalizes the include paths and makes them consistent. Also adds any
missing includes relevant to the interface.
2019-09-22 20:36:33 -04:00
Jack Andersen 5acf9ecbcf Graphics debug groups and bug fixes 2019-07-20 22:42:52 -10:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -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 9c88971df6 Initial CSpacePirate and rag doll imps 2018-11-23 22:09:35 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Phillip Stephens b22c0bc75f Fix CGuiTextSupport crash 2017-07-07 05:23:20 -07:00
Jack Andersen ff15bfbec3 Finish CMetroidAreaCollider 2017-06-29 15:39:34 -10:00
Jack Andersen a550ce1959 Finish CMessageScreen 2017-05-31 11:26:50 -10:00
Jack Andersen 855ef53407 Work on CInventoryScreen 2017-05-07 09:35:52 -10:00
Jack Andersen b3c94f1d2b Lots of HUD-related implementations 2017-04-01 17:03:37 -10:00
Jack Andersen 4e01787e09 More efficient cooked resource loading, AQS audio fixes 2017-02-14 20:02:30 -10:00
Jack Andersen 7085b837b7 Subresource cooking and various bug fixes 2017-02-12 20:51:47 -10:00
Jack Andersen 83176b41a9 FRME bug fixes and shader adjustments 2017-01-29 18:16:20 -10:00
Jack Andersen d5c7efce58 Tons of refactors and bug fixes 2017-01-28 17:58:16 -10:00
Phillip Stephens 933e731817 CTweakPlayerGun rep (THE FINAL ONE YAY!!!) 2017-01-26 18:58:21 -08:00
Jack Andersen 3a3298d48e STRG cooking bug fixes 2017-01-26 16:22:52 -10:00
Jack Andersen 7a60151d3e Char16 refactor and GuiSys bug fixes 2017-01-23 21:41:33 -10:00
Jack Andersen 4c09493a3f CFrontEndUI work 2017-01-08 17:44:00 -10:00
Jack Andersen db7c2aeaf2 GuiSys and FrontEnd work 2016-12-30 14:51:51 -10:00
Jack Andersen 20677700e0 Return fixes for MSVC 2016-12-30 08:38:01 -10:00
Jack Andersen a93ca26ea1 CFrontEndUI work 2016-12-29 20:37:01 -10:00
Jack Andersen b3cae0d4d5 Work on CSaveUI and CSfxManager 2016-12-28 19:53:00 -10:00
Phillip Stephens 598f64002c Silence warnings, and fix Windows build 2016-12-21 11:27:15 -08:00
Jack Andersen a2b07ba357 CFrontEndUI work 2016-12-16 13:05:29 -10:00
Jack Andersen f665812d6e More CGuiSys and CFrontEndUI work 2016-12-15 18:35:49 -10:00
Jack Andersen 19a371c931 Refactor GuiSys (remove general logic handling) 2016-12-15 12:37:34 -10:00
Jack Andersen 12f23ba340 Several CWorldTransManager imps 2016-08-16 12:49:19 -10:00
Jack Andersen 0dacc2233c Work on CWorldTransManager 2016-08-15 10:58:07 -10:00
Jack Andersen 8608b52774 CModelData imps 2016-04-14 11:42:47 -10:00
Phillip 6301af3133 Windows Fixes 2016-03-22 11:35:52 -07:00