Commit Graph

1109 Commits

Author SHA1 Message Date
Luke Street 9966ca13fb Add CDvdFile::DiscInfo and update version detection 2022-02-23 01:28:35 -05:00
Phillip Stephens 15900053fa
Remove athena from Runtime, use raw zlib in bintoc rather than gzip 2022-02-21 22:59:47 -08:00
Luke Street c33674b9ab Lots of Windows fixes; add D3D12; more boo decoupling 2022-02-22 00:53:57 -05: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
Phillip Stephens 6c92f03664
Move CVar* into Metaforce to begin removal of hecl's Dataspec 2022-02-21 08:01:06 -08:00
Phillip Stephens 64d4b0388c
Get Exo off the DataSpec 2022-02-21 08:01:06 -08:00
Phillip Stephens ad272f7468
More refactoring, decouple tweaks from hecl 2022-02-21 08:01:05 -08:00
Phillip Stephens dad7249927
RE COutput/InputStream and friends and migrate over
This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
2022-02-21 08:01:05 -08:00
Phillip Stephens 49418f444f
aurora: Cleanup, rename ZTest to ZComp to more accurately describe purprose, implement colored_quad 2022-02-20 13:06:04 -08:00
Luke Street c64f9eb2d1 aurora: Reimplement textures 2022-02-17 19:38:31 -05:00
Luke Street 7b9f893a49 aurora: the boring C++ version 2022-02-16 00:21:24 -05:00
Phillip Stephens 615204f71f
More input and rendering implementations 2022-02-13 13:32:52 -08:00
Phillip Stephens acd861754c
TexturedQuad fixes, Better controller input handling (needs custom mapping) 2022-02-08 11:18:12 -08:00
Luke Street 5a41dab870 Merge remote-tracking branch 'origin/main' into wgpu
# Conflicts:
#	extern/boo
2022-02-08 03:46:22 -05:00
Luke Street 921d6bf10a Working movie player 2022-02-08 01:54:05 -05:00
Luke Street a1482b4743 SDL controller input 2022-02-07 20:48:08 -05:00
Phillip Stephens 06a1c6e8ac
Minor fixes, get PRESS START rendering 2022-02-05 07:22:30 -08:00
Luke Street 8e695dce74 Fix macOS compilation 2022-02-04 23:25:35 -05:00
Phillip Stephens a6106b6c42
Fix factory ref 2022-02-01 23:20:29 -08:00
Luke Street e48435f11e Start wiring up wgpu+winit 2022-01-31 19:06:54 -05:00
Phillip Stephens 8a9701fc30
CMetroidPrimeExo fixes 2022-01-09 17:17:10 -08:00
Phillip Stephens bb9a29c82f Fix missed GRP* macros in Runtime/MP0/MP1.cpp 2021-11-25 13:58:15 -08:00
Luke Street 32e115f4aa Merge remote-tracking branch 'origin/main' into utf8
# Conflicts:
#	DataSpec/DNAMP1/FRME.cpp
#	DataSpec/DNAMP1/MLVL.cpp
#	Runtime/CMain.cpp
#	hecl/lib/Blender/Connection.cpp
2021-10-25 19:03:01 -04:00
Phillip Stephens a6df91b795
Minor fixes for CMetroidPrimeExo 2021-10-23 14:45:03 -07:00
Phillip Stephens 01ee9a83b4
[MetroidPrimeExo] More implementations, and minor bug fix 2021-09-04 16:18:03 -07:00
Phillip Stephens 22d0343a5f
[Thardus] Rename `x5ec` to `x5ec_stateProg` to match observed behavior 2021-09-04 16:17:14 -07:00
Phillip Stephens 88b184536c
Fix Thardus not flinching when a rock is destroyed 2021-08-14 13:37:53 -07: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 63c4083bef
More Exo work 2021-06-26 13:31:52 -07:00
Phillip Stephens 933279ceb6
Various knockback related fixes, don't call WaitForComplete in CGameaArea 2021-06-13 18:06:29 -07:00
Phillip Stephens ace87397d7
Knockback/Damage fixes 2021-06-13 03:11:16 -07:00
Phillip Stephens a9bcb7a9ce
Reformat pass 2021-06-07 12:29:18 -07:00
Phillip Stephens 4cd242aef3 Fix compile error with MSVC 2021-06-06 18:40:16 -07:00
Phillip Stephens 3664b1b8d1
More compile fixes, disable clang CI for now 2021-06-06 17:35:39 -07:00
Phillip Stephens 0b4f15341b
Use EntityList instead of `rstl::resverved_vector<TUniqueId, 1024>' directly 2021-06-06 17:07:45 -07:00
Phillip Stephens 5bfe881b95
Compile fixes 2021-06-06 16:58:27 -07:00
Phillip Stephens 5f1aed51cb
De-hardcode max entity count 2021-06-06 16:53:41 -07:00
Phillip Stephens 95f44be694
Rename CSavwWorld to CWorldSaveGameInfo 2021-06-04 22:30:23 -07:00
Phillip Stephens 144af8cc15
Rename CWorldLayerState to CScriptLayerManager (this is it's actual name) 2021-06-03 23:08:05 -07:00
Phillip Stephens 99d363d5df
Finish initial CCredits implementation, merge EFlowStates with EClientFlowStates 2021-06-03 16:47:04 -07:00
Phillip Stephens 665dc5fd51
Fix credits scale 2021-06-03 16:24:04 -07:00
Phillip Stephens 0c6813d952
Implement CCredits, minor text parser fixes 2021-06-03 16:24:02 -07:00
Phillip Stephens 0f92b8d8c5
Rename CRelayTracker back to CScriptMailbox 2021-06-03 14:40:01 -07:00
Phillip Stephens c6db983c41
Fix memcard path CVars and add menu notifying player when they've been reset 2021-06-02 08:06:22 -07:00
Phillip Stephens 137e96c732
Fix cooking new world/area data without an underscore in the name 2021-05-30 23:10:59 -07:00
Luke Street 78bcba85e2 Various updates:
- Simplify Layers logic with hecl bugfix
- Show About window with error message on launch with no game
- Use high_resolution_clock for FPS & load logic (increased resolution on Windows)
2021-05-30 15:03:35 -04:00
Luke Street e46ba3ef98 Add About window & debug overlays 2021-05-29 18:45:08 -04:00
Luke Street 5ac2a298f0 Improve overall Inspect performance & fixes 2021-05-29 18:45:08 -04:00
Luke Street 4740ca0c43 Add all entities to ImGuiEntitySupport 2021-05-29 18:45:07 -04:00
Luke Street 55002f1537 Begin Runtime ImGui integration 2021-05-29 18:45:07 -04:00
Luke Street 1a5ec8b569 Add initial imgui implementation 2021-05-29 18:45:07 -04:00
Luke Street 94f10bb002 Remove Editor & specter 2021-05-29 18:45:07 -04:00
Phillip Stephens ec08dea524
Minor CSpacePirate fixes and cleanups, add temporary failsafe to keep CSpacePirate's transform from going NaN 2021-05-16 15:29:34 -07:00
Phillip Stephens 128015baa6
Code cleanup 2021-05-16 12:11:45 -07:00
Phillip Stephens e9b4cce6db
Remove debug print 2021-05-09 16:10:05 -07:00
Phillip Stephens 6718f697dd
Fix Flaahgra's attack by using the correct variable in CBodyController 2021-05-09 16:05:36 -07:00
Phillip Stephens 6ec2814b8c
CFlaahgra cleanups 2021-05-09 13:53:04 -07:00
Phillip Stephens bd050e8ac0 Start renaming CThardus functions 2021-05-06 10:53:19 -07:00
Phillip Stephens 2b8bc3fd8a
Minor corrections, and fix memorycard corruption 2021-05-02 15:06:38 -07:00
Phillip Stephens f1b0c4b735
CJellyZap fixes 2021-04-25 20:16:16 -07:00
Phillip Stephens 1654333a16
Only allocate particle buffers as needed, greatly improves performance and removes certain hacks 2021-04-18 16:53:51 -07:00
Phillip Stephens 1039424737
Minor CPhazonPool fixes 2021-04-13 19:09:55 -07:00
Luke Street c7f301b485 CMemoryCardDriver: Avoid crash with corrupt/empty file 2021-04-12 12:22:57 -04:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Luke Street f956e6e618 COmegaPirate: Remove debug print 2021-03-30 22:03:18 -04:00
Phillip Stephens 0a3bcf3ab8
Revert "Revert "Remove arbitrary particle limit of 256, unfortunately this breaks various particle systems including Essence Shockwave and flamethrower particles""
This reverts commit 732831de9a.
2021-03-16 21:49:18 -07:00
Henrique Gemignani Passos Lima bad8b35ae6 Fix typo in CPlayerState::ReInitializePowerUp 2021-03-16 01:33:17 +02:00
Phillip Stephens 55dd197e67
CPuddleSpore fixes 2021-03-07 06:25:27 -08:00
Luke Street 09d23ef519 CIceSheegoth/CMetroid: Use pas::EAnimationState 2021-03-01 23:55:55 -05:00
Luke Street bb4bdfa1ee Merge remote-tracking branch 'origin/animationstate'
# Conflicts:
#	Runtime/MP1/World/CFlyingPirate.cpp
#	Runtime/World/CScriptGunTurret.cpp
2021-03-01 23:45:21 -05:00
Phillip Stephens 172eae4a61
Don't differentiate export path between standalone and Trilogy extracts, minor fix in CMetroidPrimeEssence, update submodules 2021-02-26 01:35:54 -08:00
Luke Street 732831de9a Revert "Remove arbitrary particle limit of 256, unfortunately this breaks various particle systems including Essence Shockwave and flamethrower particles"
This reverts commit 35482529
2021-02-15 21:54:44 -05:00
Phillip Stephens 3548252931
Remove arbitrary particle limit of 256, unfortunately this breaks various particle systems including Essence Shockwave and flamethrower particles 2021-01-14 15:52:26 -08:00
SirMangler 0e093baf67 Removed constexpr from lambdas to fix compiler error 2021-01-03 19:20:48 +00:00
PhazonJim f86e570ef4 fix for build error in Xcode relating to non-reference types in a for loop 2020-12-21 02:09:54 -05:00
Luke Street cec1610847 CThardus: Temporary comment (GCC unused fix) 2020-12-18 06:29:10 -05:00
Luke Street cc79ba3d09 CBouncyGrenade: Element gen renaming 2020-12-18 06:05:22 -05:00
Phillip Stephens df0d21a03e
Fix Metroid Prime essence 2020-12-13 12:09:26 -08:00
Phillip Stephens b59bf39924
I feex 2020-12-13 10:57:45 -08:00
Phillip Stephens 4e51795fa6
Essence fixes 2020-12-13 10:57:45 -08:00
Phillip Stephens e5daca0899
More CMetroidPrimeExo imps 2020-12-13 10:57:45 -08:00
Phillip Stephens abbacad46b
More state implementations 2020-12-13 10:57:45 -08:00
Phillip Stephens 215eedc013
Fix inconsistent state causing Exo to fling herself off into the void 2020-12-13 10:57:45 -08:00
Phillip Stephens 2d56e56411
Fix zeus::close_enough call prevent AI from advancing 2020-12-13 10:57:45 -08:00
Phillip Stephens 8633bbddec
More CMetroidPrimeExo imps 2020-12-13 10:57:44 -08:00
Phillip Stephens 0903b478f6
More MetroidPrimeExo imps 2020-12-13 10:57:44 -08:00
Phillip Stephens bc60a237a4
More imps, initial AI execution 2020-12-13 10:57:43 -08:00
Phillip Stephens c4d4a937ec
Initial CMetroidPrimeExo imps 2020-12-13 10:56:51 -08:00
Phillip Stephens 0d11dd1476
Finish CMetroidPrimeEssence imps 2020-12-13 10:55:56 -08:00
Phillip Stephens 5598558265
Teh maymays 2020-12-13 10:55:56 -08:00
Phillip Stephens 543a24ea9e
Initial CMetroidPrimeEssence behavior 2020-12-13 10:55:56 -08:00
Phillip Stephens 130c60ccc8
Initial CMetroidPrimeExo imps 2020-12-13 10:55:50 -08:00
Phillip Stephens 01d94367dc
Add ability to disable AI 2020-10-02 23:28:05 -07:00
Luke Street cfe1507fc7 CRidley: DoUserAnimEvent projectile fixes 2020-09-26 11:16:59 -04:00
Luke Street 6b51f32f99 CBloodFlower: Use GetLctrTransform for projectile pos 2020-09-26 09:41:28 -04:00
Luke Street e305fbffab CBloodFlower: LaunchPollenProjectile fixes 2020-09-26 01:34:09 -04:00
Luke Street 995f3bb356 CDrone: Death fixes 2020-09-19 12:13:02 -04:00
Luke Street 76de1541f2 Runtime: Resolve -Wrange-loop-analysis warnings (part 2) 2020-09-18 17:04:50 -04:00
Luke Street 834fe39074 Runtime: Resolve -Wrange-loop-analysis warnings 2020-09-18 16:47:59 -04:00
Luke Street 325e955354 MP1: Load Strings pak as well 2020-09-17 20:04:06 -04:00