2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00

152 Commits

Author SHA1 Message Date
21f54ca09d Runtime: Windows compile fixes 2022-05-03 20:27:19 -04:00
2503872065 Fixes for CElementGen / CExplosion 2022-03-26 20:23:44 -04:00
e409f05b40 aurora: Add graphics debug group stack 2022-03-26 20:23:16 -04:00
671539d7eb Fix accidentally remove changes to RenderParticles 2022-03-20 16:34:25 -04:00
fcfa9f0d64 Begin transitioning CElementGen RenderParticles & many fixes 2022-03-20 16:24:02 -04:00
b9b635b311 aurora: GX Stream API, VtxDesc, TevSwap & more 2022-03-19 13:30:25 -04:00
929bb65417 Rework particle token descriptions 2022-03-10 18:56:55 -05:00
4684f4106f Shader fixes & stub out LineRenderer calls in CElementGen 2022-03-09 02:32:01 -05:00
84b6fcfb44 Remove forRenderer from CGraphics PerspectiveProjectionMatrix 2022-03-05 18:30:43 -05:00
740114af9e Begin transitioning to new CTexture; start Stream API 2022-03-04 02:47:21 -05:00
b02ec12049
Initial CFont implementation, proper CTexture/CGraphicsPalette structures 2022-02-26 18:18:58 -08:00
832eb180bd Begin transitioning to new CModel/CCubeModel & friends 2022-02-25 02:45:25 -05:00
c64f9eb2d1 aurora: Reimplement textures 2022-02-17 19:38:31 -05:00
7b9f893a49 aurora: the boring C++ version 2022-02-16 00:21:24 -05:00
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
99b6034e5c CElementGen: Use transposed matrix in SetOrientation 2021-10-25 23:02:56 -04:00
579bfbb51d CElementGen: Correct x208_orientationInverse type to CMatrix3f 2021-10-25 23:02:56 -04:00
a9bcb7a9ce
Reformat pass 2021-06-07 12:29:18 -07:00
13350ca3d9
Fix CElementGen::x60_advValues crash 2021-05-31 13:46:25 -07:00
128015baa6
Code cleanup 2021-05-16 12:11:45 -07:00
5918daf818 CElementGen: Add activeParticleCount sanity check 2021-05-06 14:35:02 -04:00
a3628bebff CElementGen: Disable RecreatePipelines logic for the time being 2021-05-06 11:27:29 -07:00
518e639f69
Don't recreate every pipeline in CElementGen, only those relevent to CParticle instances 2021-04-20 18:00:03 -07:00
f795332d89
Merge pull request #388 from henriquegemignani/feature/optick
Using optick, linked from boo
2021-04-18 17:31:29 -07:00
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
9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
fbf1e26eda Let's not blow up our memory usage plzkthxbai 2021-03-30 14:29:03 -07:00
879cf852c3 CElementGen: Hacky fix for memory corruption, need to dynamically reallocate buffers when MAXP changes 2021-03-28 18:26:50 -07:00
087bd51693
CElementGen: ADV Parameter fixes 2021-03-16 23:33:05 -07:00
0a3bcf3ab8
Revert "Revert "Remove arbitrary particle limit of 256, unfortunately this breaks various particle systems including Essence Shockwave and flamethrower particles""
This reverts commit 732831de9a9adbd138f9a7f954d4c3845ae49321.
2021-03-16 21:49:18 -07:00
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
dc270ced7e
Remove debug print 2021-01-14 15:57:16 -08:00
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
3d01549af3 CElementGen: Render PMAB models with ForcedAdditiveNoZWrite
Fixes rendering for missile impacts, charge beam & more
2020-09-23 03:24:33 -04:00
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
Lioncash
57d953a045 CElementGen: Eliminate sign conversion warnings with function parameters
Makes the expected types explicit.
2020-04-25 03:09:29 -04:00
d3a44259c3
Merge pull request #315 from lioncash/init
RuntimeCommonB: Make use of bitfield initializers where applicable
2020-04-21 00:56:39 -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
025a989e12 CElementGen: Use x338_moduColor in RenderModels 2020-04-18 23:41:35 -04:00
Lioncash
384efebf55 CElementGen: Collapse loop into a ranged-for loop
Same behavior, nicer syntax.
2020-04-14 16:08:21 -04:00
Jack Andersen
5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10:00
c7ca8dc3a7 Runtime/Particle: Replace bitfield unions with constructor initializers 2020-04-11 00:39:49 -04:00
Lioncash
097d4a4422 Runtime: Collapse emplace_back() calls where applicable
Same behavior, but with less code.
2020-03-13 17:14:44 -04:00
Lioncash
15dce1683e CElementGen: std::move TToken instance in constructor
Allows the parameter to be moved into via calling code.
2020-03-09 13:07:53 -04:00
Lioncash
af2a82b5a7 CElementGen: Make GetSystemCount() a const member function
This doesn't modify internal member state, so this can be made a const
member function.
2020-03-09 13:03:42 -04:00
Lioncash
a8486cf479 CElementGen: Resolve sign-conversion warnings in loops
Prevents implicit truncation to int from occurring.
2020-03-09 13:01:42 -04:00
Lioncash
9db07b037a CElementGen: Make use of std::array where applicable 2020-03-09 12:53:28 -04: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