#include <space_map.h>
Public Member Functions | |
| void | setup () |
| void | synchronize (Common::Serializer &s) |
Public Attributes | |
| SpaceMapCell | _sectors [SPACE_SECTOR_COUNT][SPACE_SECTOR_COUNT] |
The whole galaxy. Regenerated from the savegame's random seed each time the player lifts off into space (it isn't itself part of the savegame), matching the original SPACE.EXE's setupSpaceMap
| void Ultima::Ultima1::Data::SpaceMap::setup | ( | ) |
(Re)generates the whole galaxy
| void Ultima::Ultima1::Data::SpaceMap::synchronize | ( | Common::Serializer & | s | ) |
Synchronizes the current state of every sector - called from the savegame while the player is actually in space, since the galaxy isn't just regenerated from the seed once ships/fuel/hazards diverge