Commit graph

25 commits

Author SHA1 Message Date
mshirt
4c61892e2e Fixing mklang file problems on windows and adding some errors to catch in SaveLoad 2017-05-07 15:18:35 -07:00
mshirt
d8002dabca all the solstice changes
i'm lazy sorry and forgot to keep the repo up to date

but here's all the solstice scripts
2017-03-27 14:52:10 -05:00
mshirt
0f3217d16d Added save backup system to the game
To better deal with the random savefile corruptions that occur for some
users.  This should help?  I tested it with each file in the chain
corrupted to make sure it was falling back onto the backups properly,
and made it delete the base file if all backups were corrupt, which is a
very unlikely scenario but might as well put a case to handle it.
2017-02-04 19:17:47 -06:00
mshirt
546edc33b8 Preventing saving if intro variable isn't set
This is to prevent the "[Niko feels uneasy.]" infinite loop that can
occur if you somehow save in the INIT room.
2017-01-02 17:33:33 -06:00
mshirt
aeff9a856c Adding in checkpoint save functionality 2016-12-14 02:16:57 -06:00
Michael Shirt
1762362044 Added permaflag/variable functionality 2016-11-18 01:53:52 -07:00
Michael Shirt
79ba9fc44a game_oneshot was misspelled
Mat did you even test this before you committed it?
2016-11-15 21:28:32 -07:00
Mathew Velasquez
eff90ea95f Fixed wallpaper restore save bug 2016-11-06 17:43:00 -05:00
Michael Shirt
c0a3cda160 Adding functions to disable saving on command 2016-11-04 14:04:38 -06:00
Michael Shirt
2a03b10d7c Fixed a bug with quit_game_bed
The interpreter needs to +1 to the index before saving or else
quit_game_bed will have the game stuck in an infinite loop of quitting
the game when reloading, but we need to -1 immediately after because
otherwise the interpreter will skip a command after this is called.
2016-10-29 18:46:52 -06:00
Michael Shirt
1750dc7c98 Changes to how the game handles quitting
With these changes the game technically never "allows" you to quit, and
instead the input is handled by Scene_Map.  This lets us run an event
before they quit.
2016-10-17 15:34:45 -06:00
Mathew Velasquez
99c9a27f2a Wallpaper functionality restored for windows 2016-10-13 20:26:01 -04:00
Michael Shirt
ab9856ef22 Made loading respect the fixed camera
Switch 100 is the fixed camera switch, this makes sure the game won't
try to focus on the player for the first frame.
2016-10-04 01:33:18 -06:00
Michael Shirt
30e53b9998 Added another check for a dream-time flag (last one) 2016-10-03 11:03:45 -06:00
Michael Shirt
21104415cf Added flag check for dream 3 2016-10-02 11:44:14 -06:00
Michael Shirt
3f6034ae10 Fixed followers not following niko
Followers still weren't following niko after loading a save, but this
code fixes that.
2016-09-29 19:53:03 -06:00
Michael Shirt
6c1f0f8bf4 Added flag check for dream 2
Will probably add more checks as dreams 3 and 4 are done
2016-09-28 22:41:34 -06:00
Michael Shirt
4ebcd19352 Made auto saving/loading fully functional
With this, autoloading upon launching the game should be fully working.
Also added some randomness to the pitch of step_sfx to make them sound a
bit less repetitive, and made it so the game can only save if the
current scene is a Scene_Map (because auto_saving at the titlescreen
breaks things pretty badly).
2016-09-26 08:59:21 -06:00
Michael Shirt
c0bd0ff2f7 Adding real_load function
Just so I have something I can call ingame to load the "real save"
2016-09-23 17:55:53 -06:00
Michael Shirt
2ade85c03a Save/Load fix
Updated default save and load file functions to save and load the extra
data that oneshot saves (followers and fast travel).  Also updated the
default save/load and the new save/load to save the footstep_sfx array,
since otherwise maps have no footstep sfx after loading a save until you
change map.
2016-09-20 13:11:10 -06:00
Mathew Velasquez
302ec6dd02 I stopped making commits for a good while. Here's the latest junk. 2016-09-19 13:54:38 -04:00
Mathew Velasquez
546f29f42e Preliminary i18n improvements 2016-02-29 01:41:37 -05:00
Mathew Velasquez
ddc43b2114 Beginnings of fast travel 2016-02-25 02:59:22 -05:00
Mathew Velasquez
b63b3ba8f3 Renamed save data to .dat for easier Steam cloud integration 2016-02-18 18:23:16 -05:00
Mathew Velasquez
965f88ef83 Added scripts 2016-01-05 14:50:18 -05:00