Autosave after reaching objective
Bug #536507 reported by
bedouin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
cghislai |
Bug Description
Wish migrated from feature request #1403208.
After an objective has been reached, an autosave should take place. Toggling this behaviour should be possible.
Related branches
lp:~widelands-dev/widelands/autosave_on_objectives
- SirVer: Approve
-
Diff: 902 lines (+263/-216)8 files modifiedcampaigns/tutorial01.wmf/scripting/init.lua (+48/-48)
src/logic/game.h (+0/-4)
src/save_handler.cc (+33/-17)
src/save_handler.h (+12/-4)
src/scripting/lua_game.cc (+19/-4)
src/scripting/lua_root.cc (+27/-27)
src/scripting/lua_root.h (+2/-0)
test/lua/persistence.wmf/scripting/init.lua (+122/-112)
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: autosave savegame |
tags: | added: lowhangingfruit |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
milestone: | none → build18-rc1 |
To post a comment you must log in.
I suppose that the filename of the save should include something like: descname( ).c_str( )
_("achieved %s"), objective.