Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Allow taking items from a scenario even if they summon monsters or ha…
…ve custom graphics. Breaks older saved games. (Older saved games might still work if not in a scenario.) - Remove items that call a special node when entering a new scenario - Remove stone block if a monster is placed on it - Monsters captured by Capture Soul now persist across scenarios - Fix barrels/crates not being restored when re-entering the town - Fix issue when saving monster status effects - Fix version number stored in saved game file; also, it's now stored in hexadecimal - Fix issue with saving which would have caused all but the first timer to be ignored when loading the saved game - Fix timers being written to out-of-bounds memory when loading a saved game - Fix use of std::skipws where std::ws was intended - Fix issue with the fields array being shifted right by one tile on loading; also, fields array is now saved as hexadecimal - Fields and terrain array use the town's dimension instead of dimension hard-coded (in the case of fields) or stored in the file - Fix PC editor remove from scenario option not working properly - Reconstruct the universe when loading a saved game to ensure there isn't leakage from the previous universe - Fix excess padding in output tarballs when the filesize is a multiple of 512 - Add hasFile function to tarball class
- Loading branch information
Showing
with
575 additions
and 179 deletions.
- +9 −1 src/boe.actions.cpp
- +31 −77 src/boe.graphutil.cpp
- +1 −3 src/boe.infodlg.cpp
- +3 −1 src/boe.items.cpp
- +16 −8 src/boe.monster.cpp
- +5 −15 src/boe.party.cpp
- +6 −4 src/boe.text.cpp
- +1 −2 src/boe.town.cpp
- +104 −8 src/classes/monster.cpp
- +1 −1 src/classes/monster.h
- +16 −18 src/classes/party.cpp
- +2 −3 src/classes/party.h
- +2 −1 src/classes/pc.h
- +193 −9 src/classes/universe.cpp
- +14 −0 src/classes/universe.h
- +8 −3 src/dialogxml/pict.cpp
- +3 −1 src/dialogxml/pict.hpp
- +3 −0 src/pcedit/pc.fileio.cpp
- +26 −4 src/tools/fileio.cpp
- +38 −7 src/tools/fileio.h
- +73 −8 src/tools/graphtool.cpp
- +6 −3 src/tools/graphtool.h
- +13 −2 src/tools/tarball.cpp
- +1 −0 src/tools/tarball.hpp
There are no files selected for viewing
Oops, something went wrong.