ScummVM API documentation
Ultima::Ultima1::Data::SpaceMap Struct Reference

#include <space_map.h>

Public Member Functions

void setup ()
 
void synchronize (Common::Serializer &s)
 

Public Attributes

SpaceMapCell _sectors [SPACE_SECTOR_COUNT][SPACE_SECTOR_COUNT]
 

Detailed Description

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

Member Function Documentation

◆ setup()

void Ultima::Ultima1::Data::SpaceMap::setup ( )

(Re)generates the whole galaxy

◆ synchronize()

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


The documentation for this struct was generated from the following file: