jnonline / ogstudio

Automatically exported from code.google.com/p/ogstudio
0 stars 0 forks source link

Gameplay features: Save and load #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Нужно добавить возможность сохранения и 
загрузки партий.
1. Сохранение должно быть доступно из меню.
2. Сохранение должно предлагаться при 
выходе из игры.
3. Сохранения должны "помнить" для какой 
раскладки они сделаны.
4. В главном меню запущенной игры должна 
быть опция "продолжить последнюю 
партию" и опция "список сохраненных партий".
5. При старте новой игры на раскладке для 
которой доступно сохранение 
предлагать его загрузить.
6. Порядок действий для undo не сохранять. 
Показания таймера сохранять.

Original issue reported on code.google.com by Kai.Saerthen.Darker on 16 May 2010 at 9:25

GoogleCodeExporter commented 9 years ago
display "The game has been saved as:" dialog on pressing Save btn.

Original comment by korn...@gmail.com on 28 Jan 2011 at 4:32

GoogleCodeExporter commented 9 years ago
make sure the first element in the list is selected. disable buttons if the 
list is empty.

Original comment by korn...@gmail.com on 28 Jan 2011 at 5:32

GoogleCodeExporter commented 9 years ago
fix loading.

Original comment by korn...@gmail.com on 28 Jan 2011 at 5:39

GoogleCodeExporter commented 9 years ago
sound exception only happens when calling first loadAction, then buttonPressed. 
may be it should only be button pressed, and then retrieve fileName directly 
from Load.

Original comment by korn...@gmail.com on 29 Jan 2011 at 7:21

GoogleCodeExporter commented 9 years ago
done. implement delete.

Original comment by korn...@gmail.com on 29 Jan 2011 at 7:57

GoogleCodeExporter commented 9 years ago
done. see if it's hard to load on double click of the entry in the list.

Original comment by korn...@gmail.com on 29 Jan 2011 at 9:50

GoogleCodeExporter commented 9 years ago
done. now display all the info about the save when selected it in the list.

Original comment by korn...@gmail.com on 29 Jan 2011 at 10:04

GoogleCodeExporter commented 9 years ago
i need to do partial load to read the info. think how to do it.

Original comment by korn...@gmail.com on 29 Jan 2011 at 10:21

GoogleCodeExporter commented 9 years ago
up/down arrow keys do not work in the list. and Enter breaks everything, it 
doesn't load.

Original comment by korn...@gmail.com on 29 Jan 2011 at 12:08

GoogleCodeExporter commented 9 years ago
keys done.

Original comment by korn...@gmail.com on 29 Jan 2011 at 12:35

GoogleCodeExporter commented 9 years ago

Original comment by Kai.Saerthen.Darker on 1 Feb 2011 at 8:40

GoogleCodeExporter commented 9 years ago
create Load/Save dialog now with MJIN usage.

Original comment by korn...@gmail.com on 15 Mar 2011 at 7:25

GoogleCodeExporter commented 9 years ago
i erased yesterday's Load dialog progress. stupid. always commit.

Original comment by korn...@gmail.com on 16 Mar 2011 at 6:28

GoogleCodeExporter commented 9 years ago
display list of files on setVisible. hide on Cancel.

Original comment by korn...@gmail.com on 16 Mar 2011 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by korn...@gmail.com on 16 Mar 2011 at 9:57

GoogleCodeExporter commented 9 years ago
continue with binary representations of CmdRemove/Shuffle.

Original comment by korn...@gmail.com on 17 Mar 2011 at 4:21

GoogleCodeExporter commented 9 years ago
Application::save done. continue with Application::load.

Original comment by korn...@gmail.com on 17 Mar 2011 at 5:20

GoogleCodeExporter commented 9 years ago
save implemented. display save file info when selected.

Original comment by korn...@gmail.com on 17 Mar 2011 at 6:17

GoogleCodeExporter commented 9 years ago
done. make loading work.

Original comment by korn...@gmail.com on 17 Mar 2011 at 9:50

GoogleCodeExporter commented 9 years ago
loading always segfaults. smth wrong with the timer.

Original comment by korn...@gmail.com on 17 Mar 2011 at 10:54

GoogleCodeExporter commented 9 years ago
try to print listener before auto start, after it, and just before the load 
start.

Original comment by korn...@gmail.com on 17 Mar 2011 at 12:29

GoogleCodeExporter commented 9 years ago
everything breaks if at least one command has been executed.

Original comment by korn...@gmail.com on 17 Mar 2011 at 2:04

GoogleCodeExporter commented 9 years ago
segfault occurs on Timer::Listener::onTimerTick call within Timer. that means 
that some class does not exist upon the call, which causes the segfault. i 
wonder how to find which class vanishes.

Original comment by korn...@gmail.com on 17 Mar 2011 at 3:07

GoogleCodeExporter commented 9 years ago
this was a problem of non-unified beatifiers' state. now it's unified.

Original comment by korn...@gmail.com on 17 Mar 2011 at 3:26

GoogleCodeExporter commented 9 years ago
implement save deletion.

Original comment by korn...@gmail.com on 17 Mar 2011 at 3:48

GoogleCodeExporter commented 9 years ago
ask on quit if we need to save the game. if so, on start up load the saved game 
without asking.

Original comment by korn...@gmail.com on 17 Mar 2011 at 4:20

GoogleCodeExporter commented 9 years ago
hide msgbox on btn no in Load. display exception not in one line.

Original comment by korn...@gmail.com on 17 Mar 2011 at 5:43

GoogleCodeExporter commented 9 years ago
when msg is escaped from Load dialog, the whole dialog is escaped. only msg 
should be actually escaped.

Original comment by korn...@gmail.com on 18 Mar 2011 at 4:14

GoogleCodeExporter commented 9 years ago
done, but exception is still displayed in single line.

Original comment by korn...@gmail.com on 18 Mar 2011 at 4:24

GoogleCodeExporter commented 9 years ago
fixed. now ask confirmation when loading if timer is ticking.

Original comment by korn...@gmail.com on 18 Mar 2011 at 5:21

GoogleCodeExporter commented 9 years ago
done. now ask on quit if timer is ticking to save the game. on start up load it 
without asking.

Original comment by korn...@gmail.com on 18 Mar 2011 at 6:23

GoogleCodeExporter commented 9 years ago
warnings are necessary in gui::Game.

Original comment by korn...@gmail.com on 18 Mar 2011 at 6:27

GoogleCodeExporter commented 9 years ago
also report on save that the file has been saved.

Original comment by korn...@gmail.com on 18 Mar 2011 at 6:31

GoogleCodeExporter commented 9 years ago
when pressing no on quit message to save the file, still quit the application.
on boot erase the "Boot" cfg param (after the boot).

Original comment by korn...@gmail.com on 18 Mar 2011 at 9:55

GoogleCodeExporter commented 9 years ago
done.
think about how to best handle load failure.

Original comment by korn...@gmail.com on 18 Mar 2011 at 10:49

GoogleCodeExporter commented 9 years ago
we handle it in Application now.

Original comment by korn...@gmail.com on 18 Mar 2011 at 2:12

GoogleCodeExporter commented 9 years ago
unable to load one of the latest saves after several commands. find out why.

Original comment by korn...@gmail.com on 18 Mar 2011 at 2:45

GoogleCodeExporter commented 9 years ago
the first file loads fine.
the second one is several commands away from the first one and causes crash.

Original comment by korn...@gmail.com on 18 Mar 2011 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
it appeared these are different games at all.

Original comment by korn...@gmail.com on 18 Mar 2011 at 5:23

GoogleCodeExporter commented 9 years ago
confirm the load on double click.

Original comment by korn...@gmail.com on 18 Mar 2011 at 5:27

GoogleCodeExporter commented 9 years ago
also, it's now allowed to undo to game_loss with 0 moves, and still see the 
scene.

Original comment by korn...@gmail.com on 18 Mar 2011 at 5:31

GoogleCodeExporter commented 9 years ago
it only happens with the loaded game.

Original comment by korn...@gmail.com on 18 Mar 2011 at 5:43

GoogleCodeExporter commented 9 years ago
i think it happens because we don't check game tiles (and thus state) while we 
load commands. if we would do that, then it would be ok.

Original comment by korn...@gmail.com on 18 Mar 2011 at 6:01

GoogleCodeExporter commented 9 years ago
verify.

Original comment by korn...@gmail.com on 21 Mar 2011 at 4:20

GoogleCodeExporter commented 9 years ago
done

Original comment by korn...@gmail.com on 21 Mar 2011 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by Kai.Saerthen.Darker on 21 May 2011 at 12:01