OpenTTD Source 20241224-master-gee860a5c8e
LoggedChangeMode Struct Reference
Inheritance diagram for LoggedChangeMode:
LoggedChange

Public Member Functions

 LoggedChangeMode (uint8_t mode, uint8_t landscape)
 
void FormatTo (std::back_insert_iterator< std::string > &output_iterator, GrfIDMapping &grf_names, GamelogActionType action_type) override
 
- Public Member Functions inherited from LoggedChange
 LoggedChange (GamelogChangeType type=GLCT_NONE)
 

Data Fields

uint8_t mode
 new game mode - Editor x Game
 
uint8_t landscape
 landscape (temperate, arctic, ...)
 
- Data Fields inherited from LoggedChange
GamelogChangeType ct
 

Detailed Description

Definition at line 39 of file gamelog_internal.h.

Constructor & Destructor Documentation

◆ LoggedChangeMode() [1/2]

LoggedChangeMode::LoggedChangeMode ( )
inline

Definition at line 40 of file gamelog_internal.h.

◆ LoggedChangeMode() [2/2]

LoggedChangeMode::LoggedChangeMode ( uint8_t  mode,
uint8_t  landscape 
)
inline

Definition at line 41 of file gamelog_internal.h.

Member Function Documentation

◆ FormatTo()

void LoggedChangeMode::FormatTo ( std::back_insert_iterator< std::string > &  output_iterator,
GrfIDMapping &  grf_names,
GamelogActionType  action_type 
)
overridevirtual

Implements LoggedChange.

Definition at line 171 of file gamelog.cpp.

Field Documentation

◆ landscape

uint8_t LoggedChangeMode::landscape

landscape (temperate, arctic, ...)

Definition at line 46 of file gamelog_internal.h.

Referenced by Gamelog::TestMode().

◆ mode

uint8_t LoggedChangeMode::mode

new game mode - Editor x Game

Definition at line 45 of file gamelog_internal.h.

Referenced by Gamelog::TestMode().


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