![]() |
Cytopia
0.3
A city building simulation game
|
▼NCytopia | |
CGame | |
▼NSignal | |
►NLib | |
CSignal | Signal is a template type providing an interface for arbitrary callback lists. A signal type needs to be declared with the function signature of its callbacks, and optionally a return result collector class type. Signal callbacks can be added with operator+= to a signal and removed with operator-=, using a callback connection ID return by operator+= as argument. The callbacks of a signal are invoked with the emit() method and arguments according to the signature. The result returned by emit() depends on the signal collector class. By default, the result of the last callback is returned from emit(). Collectors can be implemented to accumulate callback results or to halt a running emissions in correspondance to callback results. The signal implementation is safe against recursion, so callbacks may be removed and added during a signal emission and recursive emit() calls are also safe. The overhead of an unused signal is intentionally kept very low, around the size of a single pointer. Note that the Signal template types is non-copyable |
▼Nstd | |
Chash< Point > | |
Chash< StrongType< WeakType, Tag > > | |
Chash< TileSize > | |
▼Nutils | |
►NLib | |
C_sprite_highlight_color_t | |
▼CAudioConfig | |
CSoundtrackConfiguration | |
CAudioError | An audio-related error occured |
CAudioMixer | |
CBiomeData | |
CBuildMenu | |
CBuildMenuButton | |
CCamera | |
CCompressionError | A compression error occured |
CConfigurationError | A configuration error |
CConstant | Constant::value returns the value |
CCoordinate3D | 3-dimensional coordinate |
CCytopiaError | A generic error in Cytopia |
CDecodedAudioData | Container for raw pcm data that read from .ogg sound file |
CDisplayError | A display error occured |
CEventManager | |
CFontError | A font-related error occured |
▼CGameClock | Game clock service. Implement two timers one real time timer and other game time timer |
CClockTask | Template structure provide base for different clock tasks |
CGameMenu | |
CGamePlay | |
CGameStates | |
CGameStatesData | Data struct for GameStates class |
CGameTimeMenu | |
CGetMemberType | |
CGetMemberType< Member Type::* > | |
CGetType | GetType is the ith type in TypeList if within range, otherwise nullptr_t |
CGetType_t | |
CGetType_t< i, List< T, Ts... >, EnableIf< i==0 > > | |
CGetType_t< i, List< T1, T2, Ts... >, EnableIf< i !=0 > > | |
CIEquatable | Allows Type to be hashable, use operator==, and use operator!= |
Cis_strong_equatable_type | Is true if a type is strongly equatable |
Cis_strong_equatable_type< Type, std::void_t< decltype(std::declval< Type >().Equals(std::declval< Type >()))> > | |
CLayoutData | |
CLoadMenu | |
CLOG | |
CMap | |
CMapFunctions | |
CMapGrid | |
CMapLayers | |
CMapNode | Class that holds map nodes |
CMapNodeData | |
CMessageQueue | |
CNeighborNode | |
COSystem | |
CPauseMenu | |
CPoint | |
CPointFunctions | |
CPowerGrid | |
CPowerManager | |
CPowerNode | |
CPriorityQueue | Priority queue with erase element functionality |
CRandomizer | |
▼CResourceManager | |
CAgeIterator | |
Cresource_type | |
CResourceItem | |
CResourcesManager | |
CSettings | Settings of the client |
CSettingsData | |
CSettingsMenu | |
CSignalMediator | Create signals and register callbacks here |
CSingleton | Abstract Singleton implementation |
CSoundtrack | |
CSprite | |
CSpriteData | |
CSpriteRGBColor | |
CStrongType | |
CTerrainGenerator | |
CTerrainSettings | |
CTileData | Holds all releavted information to this specific tile |
CTileManager | This class holds all the information about tileIDs gathered from TileData.json |
CTileSize | How many tiles are occupied by a building |
CTupleType | TupleType::type returns std::tuple<All fields inside the TypeList> |
CTupleType< List< Ts... > > | |
CTypeList | Represent a list of types |
CTypeList< T > | |
CTypeList< T, Ts... > | |
CUIError | A UI-related error occured |
CUIManager | Draws the UI to the screen |
CUnimplementedError | An unimplemented function was called |
CVariantType | VariantType::type returns std::variant<All fields inside the TypeList> |
CVariantType< List< Ts... > > | |
CWindowManager | |
CZoneArea | |
CZoneManager | |
CZoneNode |