Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Save Slot Controllers to work more with Save Slot Views #1014

Open
wants to merge 81 commits into
base: CG-Tespy-CGTFungusSaveSystem
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
5cad400
Added requested feature: Narrative Log not registering empty Say dial…
CG-Tespy Sep 8, 2020
e03289b
Updated test scene and narrative log prefab
CG-Tespy Sep 8, 2020
d4e4808
Added more versatile version of Message Received
CG-Tespy Sep 8, 2020
4ac233d
Revert "Added more versatile version of Message Received"
CG-Tespy Sep 9, 2020
00bd682
Merge pull request #2 from snozbot/develop
CG-Tespy Jan 11, 2021
1df345d
Revert "Updated test scene and narrative log prefab"
CG-Tespy Jan 12, 2021
2ee5fb2
Revert "Added requested feature: Narrative Log not registering empty …
CG-Tespy Jan 12, 2021
9b40b15
Merge pull request #4 from snozbot/CG-Tespy-CGTFungusSaveSystem
CG-Tespy Jan 12, 2021
cbf1524
Added unit tests for registered slot views
CG-Tespy Jul 10, 2021
2b89b56
Added unit test for music encoding result count
CG-Tespy Jul 11, 2021
fbe3573
Removed hard-coded view fields
CG-Tespy Jul 13, 2021
883f74c
Added more tests. Seems the base slot views work as intended
CG-Tespy Jul 13, 2021
d64908e
Had slots sorted in ascending order
CG-Tespy Jul 13, 2021
21cc13e
Merge remote-tracking branch 'origin/CG-Tespy-CGTFungusSaveSystem' in…
CG-Tespy Aug 25, 2021
9233af0
Unit test for saving numeric integers added, setup for plug and play …
CG-Tespy Aug 25, 2021
86034be
Added unit test for encoding many numeric vars at once
CG-Tespy Aug 27, 2021
8b00934
Refactored number saver so it works off a generic implementation
CG-Tespy Aug 27, 2021
ec08b18
Added tests for ensuring invalid inputs get rejected
CG-Tespy Aug 27, 2021
fcdc19a
Reorganized the num-saving test suite
CG-Tespy Aug 27, 2021
29ac3db
Added unit tests for saving string vars
CG-Tespy Aug 28, 2021
389784f
Added tests for saving color variables
CG-Tespy Aug 28, 2021
1b7601c
Test suite cleanup
CG-Tespy Aug 28, 2021
adbbce8
More suite cleanup
CG-Tespy Aug 28, 2021
2697698
Readded input-rejecting tests, renamed var test suite
CG-Tespy Aug 28, 2021
4a6222b
Added vec2 tests, had encoders use arrays instead of lists
CG-Tespy Sep 8, 2021
aa467b7
Altered tests so they work with json by default
CG-Tespy Sep 8, 2021
cd8c882
Added vec 3 var unit tests
CG-Tespy Sep 19, 2021
33a0cc4
Renamed the SaveEncoder classes to have "Saver" instead of "SaveEncoder"
CG-Tespy Sep 19, 2021
51b7af8
Laying out groundwork for restructure in how save data is defined
CG-Tespy Oct 7, 2021
100b911
Cleanup of flowchart var-saving tests base
CG-Tespy Oct 7, 2021
d27769b
More groundwork
CG-Tespy Oct 7, 2021
2f2ee3d
Reworking variable-saving to be more consolidated
CG-Tespy Oct 13, 2021
4524437
Removed invalid input checks and redundant code
CG-Tespy Oct 13, 2021
00df2b6
Undid some of the consolidation in the saver architecture
CG-Tespy Oct 13, 2021
8cfedd2
Support for saving the states of Transforms
CG-Tespy Oct 14, 2021
7c51a0d
Organized Flowchart tests, created base for stage tests
CG-Tespy Oct 28, 2021
49112ae
Layout out groundwork for stage-saving tests
CG-Tespy Oct 31, 2021
0c3a26f
Implemented test for position-saving
CG-Tespy Oct 31, 2021
84258ea
PortraitSaveState refactor for position field
CG-Tespy Nov 6, 2021
2bc9efa
Removed sibling index test, implemented stage name check test
CG-Tespy Nov 6, 2021
6652199
Fixed error in stage name test, did cleanup, implemented correct char…
CG-Tespy Nov 6, 2021
428d6b7
Added test for portrait dim states
CG-Tespy Nov 6, 2021
e0436e4
Implemented facing direction test
CG-Tespy Nov 6, 2021
e7c0c3d
Portrait indexes now saved instead of names. Added tests for said ind…
CG-Tespy Nov 6, 2021
8a12778
Added tests for checking if portraits are even on screen
CG-Tespy Nov 8, 2021
03c639f
Added support for saving portrait names, fixed testing bugs caused by…
CG-Tespy Nov 8, 2021
64ea9ec
Refactored all InfoStructs as ISaveUnits
CG-Tespy Nov 8, 2021
f0f1c6e
Renamed info structs to clarify their roles
CG-Tespy Nov 8, 2021
2cc400b
Adjustments to help pass portrait tests
CG-Tespy Nov 9, 2021
2a8f0f1
Reorganized Saver classes, cut needless test code
CG-Tespy Nov 9, 2021
68b9bc5
Big Cleanup Nov 9 2021
CG-Tespy Nov 10, 2021
a6dc646
Reorganized scripts into LionMane folder
CG-Tespy Nov 15, 2021
a152f19
Added CommandSaveUnit script, fleshed out BlockSaveUnit more
CG-Tespy Nov 15, 2021
cf5c252
Started work on command-saving tests, made Say Execution Count public
CG-Tespy Nov 26, 2021
f8caa14
Merge branch 'CG-Tespy-CGTFungusSaveSystem' into SaveDataCreationTesting
CG-Tespy Nov 27, 2021
b86d056
Renamed save unit folder, made progress on saving say command executi…
CG-Tespy Nov 27, 2021
d0d6412
Committing changes to command saving tests
CG-Tespy Nov 27, 2021
1b01107
Say execution-counter test semi-fixed
CG-Tespy Dec 3, 2021
1d4efb9
Block execution counts saved
CG-Tespy Dec 3, 2021
563aac2
Pending block-saving tests, progress on Block-saver
CG-Tespy Dec 10, 2021
154c14a
Extended Block class for BlockSaver convenience
CG-Tespy Dec 10, 2021
36430d2
Remove MenuHideIfVisitedSaved test since it's no longer needed
CG-Tespy Dec 10, 2021
8bd0863
Code reorganization, started work on SayCommandSaver
CG-Tespy Dec 10, 2021
d8e7305
Fixed compile error in SayCommandSaver
CG-Tespy Dec 10, 2021
b20a578
Refactor for making Blocks save in a more plug-and-play way
CG-Tespy Dec 16, 2021
3b6818b
Command indexes are now saved
CG-Tespy Dec 16, 2021
e0b8050
Successful test for block execution count being saved
CG-Tespy Dec 16, 2021
c23c61e
Fixed CommandIndexesSaved test
CG-Tespy Dec 16, 2021
d101b82
ItemIDsSaved unit test implemented and working
CG-Tespy Dec 19, 2021
8268a31
Removed SayCommandSaved test from BlockSavingTests, moved BlockExecution
CG-Tespy Dec 19, 2021
4e492fb
Merge remote-tracking branch 'origin/develop' into CG-Tespy-CGTFungus…
CG-Tespy Dec 19, 2022
8780d8e
Refactors to account for removal of things from FungusConstants in ne…
CG-Tespy Dec 19, 2022
ed94af5
Merge branch 'CG-Tespy-CGTFungusSaveSystem' into SaveDataCreationTesting
CG-Tespy Dec 19, 2022
b68a9a4
Save units are no longer structs
CG-Tespy Dec 19, 2022
b602970
Created SavedDateTime for convenience, implemented it into SaveUnit
CG-Tespy Dec 19, 2022
ec62423
UISave unit basics get serialized right
CG-Tespy Dec 19, 2022
795f27d
Refactored Contents fields out of SaveUnit classes
CG-Tespy Dec 19, 2022
cd42c31
Small refactor to SavedDateTime. UISaveUnit now saves playtime
CG-Tespy Dec 19, 2022
228d16a
Managed to get UISaveUnits written to and read from file correctly
CG-Tespy Dec 24, 2022
944b0dd
Fixed unit test for writing UISaveData
CG-Tespy Dec 24, 2022
041280d
Merge branch 'CG-Tespy-CGTFungusSaveSystem' into SaveSlotControllerVi…
CG-Tespy Dec 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
4 changes: 2 additions & 2 deletions Assets/Fungus/Resources/Prefabs/SaveSlot.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ GameObject:
- component: {fileID: 8335079148700219652}
- component: {fileID: 4849907420850878217}
m_Layer: 5
m_Name: Name
m_Name: Number
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down Expand Up @@ -271,7 +271,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 100}
m_SizeDelta: {x: 500, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8335079149223333646
CanvasRenderer:
Expand Down
Loading