Commit Graph

399 Commits

Author SHA1 Message Date
Luke Street a3d0da44e2 Implement CGX & migrate usages to CGX/GX 2022-03-12 10:47:20 -05:00
Luke Street 929bb65417 Rework particle token descriptions 2022-03-10 18:56:55 -05:00
Luke Street 4684f4106f Shader fixes & stub out LineRenderer calls in CElementGen 2022-03-09 02:32:01 -05:00
Luke Street cd86dbd6ee More CCubeMaterial, more CGraphics, more aurora::gx 2022-03-06 02:46:42 -05:00
Luke Street 6c3e74b93e CGuiFrame & Model fixes; CModel::Draw impl; Document CModelFlags bits 2022-03-05 19:26:52 -05:00
Luke Street 84b6fcfb44 Remove forRenderer from CGraphics PerspectiveProjectionMatrix 2022-03-05 18:30:43 -05:00
Phillip Stephens 24a602c10f
Cleanup and more migration to Stream 2022-03-05 13:46:53 -08:00
Luke Street 740114af9e Begin transitioning to new CTexture; start Stream API 2022-03-04 02:47:21 -05:00
Phillip Stephens b02ec12049
Initial CFont implementation, proper CTexture/CGraphicsPalette structures 2022-02-26 18:18:58 -08:00
Luke Street 832eb180bd Begin transitioning to new CModel/CCubeModel & friends 2022-02-25 02:45:25 -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 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
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
Luke Street e48435f11e Start wiring up wgpu+winit 2022-01-31 19:06:54 -05:00
shiiion c23034de9d x280_VELSources and x278_hasVMD don't skip indices 2021-10-31 06:43:17 -07:00
Luke Street 99b6034e5c CElementGen: Use transposed matrix in SetOrientation 2021-10-25 23:02:56 -04:00
Luke Street 579bfbb51d CElementGen: Correct x208_orientationInverse type to CMatrix3f 2021-10-25 23:02:56 -04:00
Phillip Stephens 2cf0bd6784 CWaveBuster: Near complete implementation 2021-10-25 23:02:56 -04:00
Phillip Stephens a9bcb7a9ce
Reformat pass 2021-06-07 12:29:18 -07:00
Phillip Stephens 13350ca3d9
Fix CElementGen::x60_advValues crash 2021-05-31 13:46:25 -07:00
Phillip Stephens 128015baa6
Code cleanup 2021-05-16 12:11:45 -07:00
Luke Street 5918daf818 CElementGen: Add activeParticleCount sanity check 2021-05-06 14:35:02 -04:00
Phillip Stephens a3628bebff CElementGen: Disable RecreatePipelines logic for the time being 2021-05-06 11:27:29 -07:00
Phillip Stephens 518e639f69
Don't recreate every pipeline in CElementGen, only those relevent to CParticle instances 2021-04-20 18:00:03 -07:00
Phillip Stephens f795332d89
Merge pull request #388 from henriquegemignani/feature/optick
Using optick, linked from boo
2021-04-18 17:31:29 -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
Henrique Gemignani Passos Lima d6f19d26e7 Using optick, linked from boo 2021-04-10 09:21:34 -04:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Phillip Stephens fbf1e26eda Let's not blow up our memory usage plzkthxbai 2021-03-30 14:29:03 -07:00
Phillip Stephens 879cf852c3 CElementGen: Hacky fix for memory corruption, need to dynamically reallocate buffers when MAXP changes 2021-03-28 18:26:50 -07:00
Phillip Stephens 087bd51693
CElementGen: ADV Parameter fixes 2021-03-16 23:33:05 -07: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
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 dc270ced7e
Remove debug print 2021-01-14 15:57:16 -08: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
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 8633bbddec
More CMetroidPrimeExo imps 2020-12-13 10:57:44 -08:00
Luke Street 8b597112be ParticleCommon: Fix IESampleAndHold element ordering 2020-09-24 03:17:17 -04:00
Luke Street 6e3d94483c Note CMVEFastConstant bug in 0-00 2020-09-24 03:00:15 -04:00
Luke Street d5596e6430 Fix VEAngleSphere element ordering & calculations 2020-09-24 02:42:25 -04:00
Luke Street 3d01549af3 CElementGen: Render PMAB models with ForcedAdditiveNoZWrite
Fixes rendering for missile impacts, charge beam & more
2020-09-23 03:24:33 -04:00
Luke Street ee2e75b861 CElementGen: Don't use redToAlpha pipelines without a texture
Fixes Thermal Visor crashes for Super Missile & Elite Pirate grenades
2020-09-18 02:43:55 -04:00
shiiion cf86338a84 initial flamethrower weapon implementation 2020-06-25 22:37:45 -04:00
Lioncash 10c6c6729f CParticleSwoosh: Make virtual call in constructor explicit
virtual functions statically resolve in constructors and destructors.
This makes it obvious that we want the statically resolving behavior to
the reader.
2020-05-08 16:09:57 -04:00
Lioncash d3dbe15fcc CSpawnSystemKeyframeData: Remove unnecessary includes 2020-05-02 21:28:52 -04:00
Lioncash b76b956339 CElementGen: Give all function prototype parameters names 2020-04-25 03:16:08 -04:00
Lioncash 57d953a045 CElementGen: Eliminate sign conversion warnings with function parameters
Makes the expected types explicit.
2020-04-25 03:09:29 -04:00
Lioncash eb4362a4d4 CDecalDataFactory: Remove unused includes 2020-04-25 02:52:53 -04:00