2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-26 20:44:07 +00:00

546 Commits

Author SHA1 Message Date
6c56f6452e hsh pipelines for ThermalCold, ThermalHot, ElemenGen
Plus various fixes
2020-10-02 18:59:10 -04:00
485e0afb43 CAABoxShader: Pull pipeline configuration from GX state 2020-09-30 01:58:28 -04:00
96ed5c7cee CBooRenderer: Don't rebind reflection texture 2020-09-29 20:58:23 -04:00
a5e455e128 CBooRenderer: hsh updates 2020-09-29 20:55:08 -04:00
c596834fdf CEnergyBarShader: Convert to hsh pipeline 2020-09-29 18:21:20 -04:00
2d786e4318 CDecalShaders: Convert to hsh pipeline 2020-09-29 17:49:25 -04:00
31bb006976 CColoredStripShader: Convert to hsh pipeline 2020-09-29 02:15:09 -04:00
8d15acb11d CCameraFilter: Disable depth_write for FilterPipelines 2020-09-29 01:34:04 -04:00
1037b16c59 CCameraBlurFilter: Correct pipeline attributes 2020-09-29 01:27:06 -04:00
68726f2783 CAABoxShader: Simplify pipeline attributes 2020-09-29 01:26:51 -04:00
811339afc6 Add CAABoxShader to runtime_add_hsh 2020-09-29 01:00:45 -04:00
4b40767050 CGraphics: Fix implicit truncation errors 2020-09-29 01:00:10 -04:00
fc9e18fe46 CAABoxShader: Convert to hsh pipeline 2020-09-29 00:58:21 -04:00
f4f840cb17 Merge remote-tracking branch 'origin/master' into hsh 2020-09-28 20:14:09 -04:00
Jack Andersen
3827f35227 Very, very incomplete integration of hsh/boo2 2020-09-28 10:54:40 -10:00
9e5f28ba80 CModelShaders: Check noZWrite for thermal depth test
Adds back LightingAlphaWrite extended shader
2020-09-27 12:59:56 -04:00
6ff305da06 CModelShaders: Disable Z-test for LightingAlphaWrite
Permits static thermal hot objects to render properly
2020-09-27 12:23:54 -04:00
2361916614 CBooRenderer: Don't smash the stack 2020-09-16 13:07:53 -04:00
bc8135e896 CBooRenderer: Fix light count in ActivateLightsForModel 2020-09-16 13:01:06 -04:00
Lioncash
a32e21df14 General: Resolve -Wcast-qual warnings
We can just avoid casting away const in order to resolve these warnings.
2020-08-23 15:54:54 -04:00
Lioncash
c9f5483c59 CLineRendererShaders: Make use of static inline variables
Same behavior, less code.
2020-08-02 03:02:08 -04:00
Lioncash
83c2023bbb CElementGenShaders: Make use of static inline variables
Same behavior, less code
2020-08-02 02:57:02 -04:00
Lioncash
4e1ff26f56 CDecalShaders: Make use of static inline variables
Same behavior, less code.
2020-08-02 02:53:15 -04:00
Lioncash
25c017e0cc CModelBoo: Make use of static inline variables
Same behavior, but allows all the initializers to be in one place,
rather than throughout the cpp file.
2020-08-01 23:33:50 -04:00
Lioncash
391e97fbd1 CBooRenderer: Eliminate mixed signedness bitwise ANDing
Prevents sign mismatch warnings.
2020-08-01 04:42:06 -04:00
d44eccc386 Runtime: constexpr fixes for gcc 2020-05-27 13:02:20 -04:00
c1f7358d96 CWideScreenFilter: Implement DrawFilter 2020-05-14 19:23:43 -04:00
Lioncash
f2d0939a15 CParticleSwooshShaders: Remove unused file-scope variable
Same behavior, one less runtime static constructor.
2020-05-12 20:50:35 -04:00
Lioncash
4e718a805f CFluidPlaneShader: Replace explicit operator bool calls with the analogous named function
Same behavior, more informative to the reader about what is being
checked for.
2020-05-12 20:45:32 -04:00
Lioncash
4b5074b298 RuntimeCommon: Const qualify auto references where source is const
Marks references that would be deduced as const automatically with const
to be explicit to the reader.
2020-05-12 20:32:51 -04:00
Lioncash
8e77d6175c CTextureBoo: Make use of std::array where applicable
Allows dehardcoding some array sizes.
2020-05-12 20:23:27 -04:00
Lioncash
e0a44bdf45 CTextureBoo: Prevent signed conversion warnings from occurring in Convert* helper functions 2020-05-12 20:03:58 -04:00
Lioncash
fee8d91dca CTextureBoo: Make use of anonymous namespace
Makes some helper functions have internal linkage, silencing some
-Wmissing-declarations warnings, and also allows preventing ODR
violations from ever occurring with the RGBA8 and DXT1Block structs.
2020-05-12 20:01:58 -04:00
Lioncash
df3aed75fe CGameArea: Eliminate implicit sign conversions in Validate() 2020-04-23 02:53:24 -04:00
Lioncash
fe642bde8b CCameraBlurFilter: Make use of std::array where applicable
Same behavior, less hardcoded sizes.
2020-04-22 00:13:43 -04:00
Lioncash
fa3e639a9d RuntimeCommon: Make use of bitfield initializers where applicable
Continues and finishes the migration towards initializing all bitfield
members where applicable
2020-04-21 17:16:19 -04:00
32c44cbf05 Merge branch 'master' into omegapirate
# Conflicts:
#	Runtime/GuiSys/CAuiImagePane.cpp
2020-04-19 22:12:18 -04:00
24acb585f8 MSVC & zeus fixes; update hecl-gui 2020-04-19 21:09:30 -04:00
4e88f503ac COmegaPirate: Implement CFlash 2020-04-19 02:47:25 -04:00
df75c00203
Fix WideScreenFilter crash 2020-04-17 15:32:26 -07:00
6838515d3d
Fix ALPH default value 2020-04-13 00:48:00 -07:00
Lioncash
aee2259972 CTexturedQuadFilter: Mark DefaultRect as constexpr
Same behavior, minus runtime initializers.
2020-04-12 10:40:36 -04:00
Lioncash
3efc8486a4 CColoredQuadFilter: Mark DefaultRect as constexpr
Same behavior, minus runtime initializers.
2020-04-12 10:39:02 -04:00
Lioncash
e0c187c607 CModelBoo: Make use of std::array where applicable
Allows decoding some array sizes.
2020-04-12 10:35:56 -04:00
Lioncash
c203a0de7c CGraphics: Mark skCubeBasisMats as constexpr
Same behavior, minus potential runtime initializers.
2020-04-12 10:31:07 -04:00
56cebfbacd
Merge pull request #308 from AxioDL/fmtlib-update
Update fmtlib
2020-04-12 03:06:46 -04:00
Lioncash
9d6b9142bb CParticleSwoosh: Make use of std::array where applicable
Same behavior, no implicit array to pointer decay.
2020-04-11 20:20:47 -04:00
Jack Andersen
5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10:00
7055b6983f
Merge pull request #306 from lioncash/random
CRandom16: Make constructor explicit
2020-04-11 16:36:51 -04:00
Lioncash
4bdcc5efdb CModel: Make CModelFlags constexpr constructible.
Allows initializers to be elided where applicable.

While we're at it, we can make the conditional flag tests more explicit
and eliminate implicit truncation in the case of the second flag test.
2020-04-11 16:16:19 -04:00