This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Repository navigation
GI#66, CF#243 - Background Layer Improvements #399
Merged
garethyr
merged 102 commits into
development
from
GI66-CF243-Background-Layer-Improvements
Jul 24, 2022
Merged
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
b5740ca
Cleanup and refactor SceneLayer
MaximDude 7a60bb0
Separate TerrainFrosting from SLTerrain
MaximDude 12afa0a
Move terrain frosting application from SLTerrain to TerrainFrosting
MaximDude aee6bb9
Cleanup and refactor SLTerrain
MaximDude 0575440
Misc changes
MaximDude a93c61b
Merge branch 'development' into GI66-Backdrop-Layer-Improvements
MaximDude 889613c
Merge branch 'development' into GI66-Backdrop-Layer-Improvements
MaximDude c3a3fb8
More cleanup and refactor SLTerrain
MaximDude 386b889
Move temp bitmaps handling from SLTerrain to SceneMan
MaximDude 75ebaba
More cleanup and refactor in SceneLayer and SLTerrain
MaximDude 63c2135
Add new class SLBackground to specifically deal with background layer…
MaximDude e825cd0
Replace SceneLayer with SLBackground where applicable
MaximDude 713079d
Move SpriteAnimMode enum from MOSprite to Constants - need to be avai…
MaximDude 13ef98d
Get background layers working with SLBackground
MaximDude c669fcb
Implement background layer animation
MaximDude 3136ea0
Implement background layer auto scrolling
MaximDude ccd4936
Misc changes
MaximDude 01f5537
Expose SLBackground to Lua
MaximDude 07314c5
Implement background layer auto scaling
MaximDude 46ef962
Comments, cleanup and more refactor in SceneLayer and SLBackground
MaximDude 96e03e0
Expose more SLBackground properties to Lua
MaximDude dd4e7f9
Add SLBackgrounds property to ignore the auto-scaling setting
MaximDude a48eee1
More refactor in SceneLayer drawing
MaximDude 81653e8
Fix material view not drawing correctly in 2+ player splitscreen - Re…
MaximDude 78f780b
Calculate auto-scale factor from player screen buffer instead of the …
MaximDude b63de7b
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 16e986c
No need to clear background layer data during Scene::ClearData - bitm…
MaximDude e0dc733
Fix offset jitter when background layer is wrapped during auto-scroll…
MaximDude 90712e0
Move material color key enum from SceneMan to Constants
MaximDude 7858200
Clean up a bunch of includes
MaximDude 985246a
Minor refactor in TerrainFrosting
MaximDude 04b9b47
Fix auto-scroll stepping logic
MaximDude 6ab2045
Refactor SceneLayer tiled drawing so it works properly with X+Y wrapping
MaximDude d194f14
Minor refactor in TerrainDebris
MaximDude 01015ac
Add support for Material background textures
MaximDude d2e1eaf
Implement SLTerrain background layer texturization with Material back…
MaximDude 76559d0
Rework and expand TerrainDebris placement logic
MaximDude b7f292c
Implement TerrainDebris rotation and flipping
MaximDude c33176c
Improve SLBackground auto-scaling when the player screen buffer is ta…
MaximDude 181f3e0
Misc changes
MaximDude e362701
Refactor SLTerrain drawing mode handling and cleanup SceneMan::Draw
MaximDude 0fcdf04
Adjust background layer scroll ratio to scale factor so scrolling is …
MaximDude 8967905
Move background layer edge gap filling handling from SceneLayer to SL…
MaximDude 8ad88a3
Add more temp bitmap sizes for settling into terrain and improve logi…
MaximDude fbafd3f
Refactor drawing settled objects to terrain
MaximDude 872b56c
Refactor SceneLayer offset handling and drawing
MaximDude fddd0cd
Cleanup some title screen scrolling handling
MaximDude 140e637
Remove SceneLayer ini property Offset - handled internally so does no…
MaximDude 54b64aa
Add SLBackground ini property OriginPointOffset and handling
MaximDude b848a58
Comments and misc cleanup
MaximDude 7418adf
Misc changes
MaximDude f2a9dd4
Remove SLTerrain ini alt property AddTerrainObject - Use PlaceTerrain…
MaximDude 25f636f
Make ScrollRatio, ScaleFactor and DrawTransparent ini properties excl…
MaximDude 1b2c98d
And SLBackground animation controls and expose to Lua
MaximDude c5eb9af
Fix random SceneLayer scrolling jitter
MaximDude c148d46
Cleanup and minor refactor in SceneMan::Update
MaximDude 37ebdb7
Remove SceneLayer scroll overriding - unnecessary since SLTerrain::Ap…
MaximDude 3e092c0
Add handling for setting scene background layer auto-scaling mode fro…
MaximDude 20af581
Update Entities meson build file
MaximDude c88966d
Fix duplicate loaded bitmaps in SLBackground
MaximDude 156b668
Comments, cleanup and misc changes in SLTerrain
MaximDude 8199cd3
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 0c4bb8f
Remove unimplemented SLTerrain structural integrity stuff - maybe one…
MaximDude 4c7f96f
Reformat and partial refactor in TerrainObject
MaximDude c9b0da9
More refactor in TerrainObject
MaximDude 8767523
Move terrain object application from SLTerrain to TerrainObject
MaximDude c09cff6
Fix SceneEditor crash after changing background layers from SceneLaye…
MaximDude e177829
Add Y wrap handling to TerrainObject::ApplyTerrainObject
MaximDude 268e59b
Move movable object application from SLTerrain to MovableObject
MaximDude be84a98
Rename ApplyObject methods to DrawToTerrain
MaximDude e7a653f
Misc changes in SLTerrain
MaximDude 87f3acd
Forgot to add some checks when drawing TerrainObjects
MaximDude e3da819
Decouple a bunch of headers
MaximDude 34b2e9b
More renaming (followup to be84a98ad5482ee6ea09fa28a2cdf94e81b5cac2)
MaximDude c760cd5
Remove a bunch of useless drawing modes
MaximDude 18a4980
Remove deprecated and unused properties from SceneMan::ReadProperty
MaximDude a137387
Eliminate SceneLayer::GetBitmapHash
MaximDude 1d25f77
Eliminate SLTerrain::ClearAllMaterial - handle in GibEditor as ClearT…
MaximDude d2cae4b
Comments, renaming and misc changes
MaximDude 3519099
Eliminate duplicate handling for getting/setting pixels on SLTerrain …
MaximDude c08c710
Misc changes and cleanup
MaximDude 2abd097
Merge SLTerrain::PlaceObjectOnTerrain and SceneMan::AddTerrainObject …
MaximDude ac4adb1
Add some checks for TerrainObject bitmaps
MaximDude 67ced2b
Misc changes
MaximDude e9e03a4
Save SceneLayer data as PNG for reduced filesizes and multithread so …
MaximDude 72e1208
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude a49283a
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 3e02aca
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude dda4f6b
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 3d38d90
Comments and misc changes
MaximDude d4b1749
Update changelog
MaximDude 9041008
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 8358d3e
Fix changelog
MaximDude a02bf3a
Review changes
MaximDude 7ecde6c
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
MaximDude 6c7f847
Review changes
MaximDude b69a571
Review changes
MaximDude 380e375
I accidentally the whole SLBackground
MaximDude 8dc1b4d
Review changes
MaximDude 7bac1fb
Review changes
MaximDude 2fc7dd5
Set dislodged terrain pixel PresetName in debug builds only
MaximDude 400d85b
Merge branch 'development' into GI66-CF243-Background-Layer-Improvements
garethyr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.