Skip to content

Commit

Permalink
Fix issue where document wasn't being flagged as modified until first…
Browse files Browse the repository at this point in the history
… change after migrating a project
  • Loading branch information
chrismaltby committed May 13, 2024
1 parent f976dd5 commit 979a7ed
Show file tree
Hide file tree
Showing 15 changed files with 1,041 additions and 975 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Generate `game_globals.h` at compile time allowing access to global variables from C code [@pau-tomas](https://github.com/pau-tomas)
- Add support for using random numbers in GBVM RPN instructions [@untoxa](https://github.com/untoxa)
- Add `Set Camera Position` event which can be used before scene fade in to instantly move camera to a new location
- Add `Script Lock` and `Script Unlock` events allowing pausing other scripts and scene updates until the script is completed or unlocked
- Add `Script Lock` and `Script Unlock` events allowing pausing other scripts and scene updates until the script is completed or unlocked
- Add `Build Options` to "Settings" section with option to toggle if "Build Log" should be opened automatically on warnings
- Add `Show Navigator` button to World toolbar if navigator is closed

Expand Down Expand Up @@ -78,6 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix issue where setting "Show Connections" to "None" would prevent Player start position from being visible/draggable
- Fix issue where note lengths for wave instruments in .uge files were not being stored according to file specification. This may cause some .uge files created with older builds of GB Studio to not sound correct. If you need to fix any .uge files, you can use this [migrator tool](https://chrismaltby.github.io/gbs-uge-migrator/)
- Fix issue where navigator sidebar could sometimes not be wide enough to show Add and Search buttons in section headers
- Fix issue where document wasn't being flagged as modified until first change after migrating a project

### Removed

Expand Down
360 changes: 182 additions & 178 deletions appData/templates/blank/project.gbsproj

Large diffs are not rendered by default.

29 changes: 20 additions & 9 deletions appData/templates/gbhtml/project.gbsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "___PROJECT_NAME___",
"author": "___AUTHOR___",
"_version": "3.3.0",
"_release": "5",
"_release": "7",
"scenes": [
{
"id": "94c18861-b352-4f49-a64d-52f2e3415077",
Expand Down Expand Up @@ -6318,7 +6318,8 @@
"imageWidth": 160,
"imageHeight": 144,
"filename": "cave.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "b340b9a2-2865-4e05-91c0-148846a693c8",
Expand All @@ -6329,7 +6330,8 @@
"imageWidth": 160,
"imageHeight": 144,
"filename": "house.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "f8b1c7ad-7bb2-44b2-8189-175ae8698f11",
Expand All @@ -6340,7 +6342,8 @@
"imageWidth": 160,
"imageHeight": 144,
"filename": "logo.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "b49ea566-b022-478c-979d-ec3ee255fdc5",
Expand All @@ -6351,7 +6354,8 @@
"imageWidth": 160,
"imageHeight": 144,
"filename": "menu.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "1b7fa267-d716-40f0-b0d0-f4f966610e07",
Expand All @@ -6362,7 +6366,8 @@
"imageWidth": 256,
"imageHeight": 256,
"filename": "outside.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "40fda058-df90-4205-a239-fe77bce4fa79",
Expand All @@ -6373,7 +6378,8 @@
"imageWidth": 256,
"imageHeight": 256,
"filename": "stars.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "f047ff0e-58ad-49fc-bd2b-ec84fc1f7ab3",
Expand All @@ -6384,7 +6390,8 @@
"imageWidth": 160,
"imageHeight": 144,
"filename": "titlescreen.png",
"tileColors": []
"tileColors": [],
"autoColor": false
},
{
"id": "f3102db4-2273-411d-b33f-4d6f65959c60",
Expand All @@ -6395,7 +6402,8 @@
"imageWidth": 256,
"imageHeight": 256,
"filename": "underground.png",
"tileColors": []
"tileColors": [],
"autoColor": false
}
],
"spriteSheets": [
Expand Down Expand Up @@ -9702,6 +9710,9 @@
"debuggerBreakpoints": [],
"debuggerWatchedVariables": [],
"colorMode": "mono",
"previewAsMono": false,
"openBuildLogOnWarnings": true,
"generateDebugFilesEnabled": false,
"defaultFadeStyle": "white",
"startMapId": "cb5e225f-e996-4ca8-b068-09a12ec18b75",
"playerSpriteSheetId": "ac1e8ef4-ffe6-47cd-b16f-9af5da77ec26"
Expand Down
Loading

0 comments on commit 979a7ed

Please sign in to comment.