MisterPeModder / Bomberman-Global-Offensive

Probably one of the best Bomberman fan games
MIT License
4 stars 3 forks source link

Add raylib shader encapsulation #230

Closed AndreasLrx closed 2 years ago

AndreasLrx commented 2 years ago

Also add a global shader in the engine, and a colorblind correction shader.

Can be tested by calling setColorBlindShader([0-2]) in the constructor of Engine. Resolves: #2

codecov-commenter commented 2 years ago

Codecov Report

Merging #230 (df79c14) into master (52c4b8d) will decrease coverage by 0.44%. The diff coverage is 3.73%.

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
- Coverage   11.29%   10.85%   -0.45%     
==========================================
  Files         169      172       +3     
  Lines        2762     2903     +141     
  Branches      914      965      +51     
==========================================
+ Hits          312      315       +3     
- Misses       2299     2439     +140     
+ Partials      151      149       -2     
Impacted Files Coverage Δ
src/game/Engine.cpp 0.00% <0.00%> (ø)
src/game/Engine.hpp 0.00% <ø> (ø)
src/game/Game.cpp 0.00% <0.00%> (ø)
src/game/scenes/AScene.cpp 0.00% <0.00%> (ø)
src/game/scenes/SettingsMenuScene.cpp 0.00% <0.00%> (ø)
src/game/settings/Settings.hpp 100.00% <ø> (ø)
src/raylib/core/Vector3.hpp 0.00% <ø> (ø)
src/raylib/core/scoped.hpp 0.00% <0.00%> (ø)
src/raylib/model/Model.cpp 0.00% <0.00%> (ø)
src/raylib/shaders/Shader.cpp 0.00% <0.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 52c4b8d...df79c14. Read the comment docs.