Umoria 5.7.8
- Improve Wizard Mode help files.
- Easier item creation in Wizard Mode (inspired by Bmoria).
- Change
[Press any key to continue.]
to[ press any key to continue ]
, and any variations, as it looks clearer.
Code
There are two main areas of focus for this release. The first was to create more objects to move the numerous global variables on to. E.g. Dungeon_t
.
The second area of focus has been to start grouping related functions and variables in the same file. Ex. most player functions are moved to player.cpp
, or a new player_xxx.cpp
file has been created (run, stats, tunnel, etc.). The LOS and look functions are located in los.cpp
.
Grouping globals and functions together like this should make their usage and their relationships more obvious.
These locations are by no means final, but are a useful first pass.
- Grouping related functions together in the same file.
- Move more Player globals to the
Player_t
struct. - Create a
Dungeon_t
and put all dungeon related globals here. - Create a
Dice_t
instead of using an array. - Started replacing
char *
withstd::string
. - Simpler display of death screens (using
death_tomb.txt
,death_royal.txt
files).