stmm-games-doc  0.32.0
Namespaces | Classes | Enumerations | Functions
stmg Namespace Reference

Namespaces

 CommonTheme
 
 Helpers
 
 libconfig
 
 testing
 
 Util
 
 XmlUtil
 

Classes

class  ActionsBoxThWidget
 
class  ActionsBoxThWidgetFactory
 
class  ActionsBoxWidget
 Action grid box. More...
 
class  ActionThWidgetFactory
 
class  ActionWidget
 Action widget. More...
 
class  AlarmsEvent
 Alarms event. More...
 
class  AllPreferences
 
class  AllPreferencesLoader
 
class  AlphaModifier
 Alpha tile modifier. More...
 
class  AlphaTraitSet
 
class  AppConfig
 Read-only interface to application configuration data. More...
 
class  AppConstraints
 
class  AppPreferences
 
class  ArrayEvent
 Array event. More...
 
class  AssignableNamed
 Assignable and clearable named class. More...
 
class  AssignableNamedIndex
 Assignable and clearable named indexes class. More...
 
class  AssignableNamedObjIndex
 
class  BackgroundAnimation
 Background animation. More...
 
class  BackgroundEvent
 
class  BackgroundThAniFactory
 
class  BackgroundThWidgetFactory
 
class  BackgroundWidget
 Background widget. More...
 
class  Block
 
class  BlocksBricksIdListener
 Block modification listener. More...
 
class  BlocksListener
 Block listener. More...
 
class  BlocksPlayerChangeListener
 Block's player change listener. More...
 
class  BoaBloListener
 The common board and block listener. More...
 
class  BoardListener
 Board listener. More...
 
class  BoardScrollListener
 Board scroll listener. More...
 
class  BoolOption
 
class  BoxThemeWidget
 Template class for Box theme widgets. More...
 
class  BoxThemeWidgetFactory
 
class  BoxThWidget
 
class  BoxThWidgetFactory
 
class  BoxWidget
 
class  CachedSurfaces
 Cairo cached surfaces for an image. More...
 
class  CaseModifier
 Single case shortcut of SelectCaseModifier. More...
 
class  CCSave
 RAII save and restore for a Cairo::Context. More...
 
class  CharIndexTraitSet
 
class  CharTraitSet
 
class  CharUcs4TraitSet
 
class  CircularBuffer
 
class  ColorBlueTraitSet
 
class  ColorChannelTraitSet
 Template param: 0 is for red, 1 for green and 2 for blue. More...
 
class  ColorGreenTraitSet
 
class  ColorIndexTraitSet
 
class  ColorPalTraitSet
 
class  ColorRedTraitSet
 
class  ColorRgbTraitSet
 
class  ColorTraitSet
 
class  ConditionalCtx
 
class  ContainerModifier
 Container modifier. More...
 
class  ContainerWidget
 The base class for container widgets. More...
 
class  Coords
 Coords class. More...
 
class  CumulCmpEvent
 Keeps two numbers and compares them if requested. More...
 
class  DelayedQueueEvent
 Delayed queue event. More...
 
class  Direction
 
class  DumbBlockEvent
 Block that does nothing. More...
 
class  DynAnimation
 
class  ElapsedMapper
 Elapsed mapper. More...
 
class  EnumOption
 
class  Event
 The level event class. More...
 
class  ExplosionAnimation
 
class  ExplosionThAniFactory
 
class  ExtendedBoard
 
class  FadeModifier
 Fading effect to a sub-modifier. More...
 
class  FakeLevelView
 Fake LevelView for testing. More...
 
class  File
 
class  FillerEvent
 
class  FillModifier
 Fills the tile rectangle with the color of the to be drawn tile. More...
 
class  FontTraitSet
 
struct  FPoint
 
class  Frame
 Frame of images. More...
 
struct  FRect
 
struct  FSize
 
class  Game
 
class  GameConstraints
 The game constraints. More...
 
class  GameCtx
 
class  GameDiskFiles
 
class  GameInfoCtx
 
class  GameLoader
 
class  GameOwner
 
class  GameProxy
 Proxy class (of Game) exposed by Level available to events. More...
 
class  GameSound
 
class  GameView
 
class  GameWidget
 The widget base class. More...
 
class  GammaTraitSet
 
class  GrowModifier
 Growing effect of sub-modifiers. More...
 
class  Highscore
 Class the holds highscores. More...
 
class  HighscoresDefinition
 
class  HighscoresLoader
 
class  IfElseModifier
 If ElseIf Else tile selection conditions. More...
 
class  Image
 Image class. More...
 
class  ImageModifier
 Modifier drawing an image. More...
 
class  ImageSequenceAnimation
 Animation model for an image sequence. More...
 
class  ImageSequenceThAniFactory
 
class  ImmutableThWidgetImpl
 
class  InputBoxThWidget
 
class  InputBoxThWidgetFactory
 
class  InputBoxWidget
 
class  IntOption
 
class  IntSet
 Smallish set of integers. More...
 
class  IntTraitSet
 Integer set that can be empty and can contain the empty value as long as it is representable as an integer. More...
 
class  KeyActionEvent
 
class  Layout
 
class  LayoutCtx
 
class  Level
 The level is the container for board, events and blocks. More...
 
class  LevelAnimation
 Animation model class. More...
 
class  LevelBlock
 Base class for run-time Blocks. More...
 
class  LevelShow
 This class is used for both Show and Subshows. More...
 
class  LevelShowThemeWidget
 Base class for implementations of LevelShowWidget view. More...
 
class  LevelShowThWidgetFactory
 
class  LevelShowWidget
 The widget that displays the level show area or a mate's subshow area. More...
 
class  LevelView
 
class  LogEvent
 
struct  MainAuthorData
 
struct  MainWindowData
 
class  MaskModifier
 Mask modifier. More...
 
class  MockEvent
 
class  MutableThWidgetImpl
 
class  Named
 String indexing for assets provided by the view (Theme) to the model(s). More...
 
class  NamedIndex
 Named indexes class. More...
 
class  NamedObjIndex
 Named objects indexed template class. More...
 
class  NewRows
 
class  NextSubPainterModifier
 Continue drawing jumping to the first modifier of the next sub-painter. More...
 
class  NotEmptyIntTraitSet
 Integer set that cannot be empty and cannot contain the empty value. More...
 
struct  NPoint
 
struct  NRange
 
struct  NRect
 
struct  NSize
 
struct  NTimeRange
 
class  Option
 
class  OthersReceiverEvent
 
class  OthersSenderEvent
 
class  ParserCtx
 
class  PlainTextThAniFactory
 Creates theme animation that draws the text to fit in a rectangle. More...
 
class  PositionerEvent
 The positioner event. More...
 
class  PrefSelector
 
class  PreviewThWidgetFactory
 
class  PreviewWidget
 Blocks preview widget. More...
 
class  ProgressThWidgetFactory
 
class  ProgressWidget
 Progress widget. More...
 
class  QueryTileRemoval
 
class  RandomEvent
 Random number generator event. More...
 
class  RandomParts
 
class  RandomSource
 
class  RandomTiles
 
class  Recycler
 Recycling factory for shared_ptr wrapped classes. More...
 
class  RelSizedGameWidget
 Widget sized relative to a reference widget of the same layout. More...
 
class  RelSizedThemeWidgetImpl
 
struct  RgbColor
 
class  RotateModifier
 Rotates the sub modifier according to a tile animator. More...
 
class  ScrollerEvent
 Event that scrolls the board. More...
 
class  SegmentedFunction
 Segmented function: concatenation of "touching" segments. More...
 
class  SelectAniModifier
 Tile animation value selector. More...
 
class  SelectCaseModifier
 Tile to image assignment selection. More...
 
class  SelectedImageModifier
 Draws the selected image. More...
 
class  SelectEvent
 Select listener group by nValue or a variable's value. More...
 
class  SelectVarModifier
 Game variable value selector. More...
 
class  ShowTextEvent
 
class  SoundEvent
 Sound event. More...
 
class  SpeedEvent
 
class  SquarsorEvent
 
class  StaticGridAnimation
 Static grid animation. More...
 
class  StaticGridEvent
 
class  StaticGridThAniFactory
 
class  StdConfig
 
class  StdPreferences
 
class  StdRandomSource
 
class  StdTheme
 
class  StdThemeAnimationFactory
 Base class for ThemeAnimation factories. More...
 
class  StdThemeContext
 The theme context for a StdTheme. More...
 
class  StdThemeDrawingContext
 The tile drawing context. More...
 
class  StdThemeModifier
 Base class for tile drawing. More...
 
class  StdThemeWidgetFactory
 Base class for theme widget factories. More...
 
class  StopModifier
 Tells the theme to stop drawing. More...
 
class  SysEvent
 Instances of this class end the game for a team or player. More...
 
class  TextAnimation
 
class  TextModifier
 Draws tile's char or a very short text. More...
 
class  Theme
 
class  ThemeAnimation
 
class  ThemeContainerWidget
 ThemeWidget container class. More...
 
class  ThemeContext
 
class  ThemeCtx
 
class  ThemeLayout
 
class  ThemeLoader
 
class  ThemeSound
 
class  ThemeWidget
 
class  ThemeWidgetInteractive
 Optional interface for ThemeWidget. More...
 
class  ThetaTraitSet
 
class  Tile
 
class  TileAlpha
 
class  TileAni
 Tile animation made of images. More...
 
class  TileAnimator
 Interface used to animate tiles of board and level blocks. More...
 
class  TileAnimatorEvent
 Event that animates selected tiles of board and blocks. More...
 
class  TileAniModifier
 Draws the image selected by a tile animation value. More...
 
class  TileBuffer
 
class  TileChar
 
class  TileColor
 
class  TileCoords
 
class  TileFont
 
class  TileGamma
 
class  TileRect
 
class  TileSelector
 
class  TileSizing
 Constraints to tile size and width to height ratio. More...
 
class  TileTheta
 
class  TraitSet
 Ordered set of a tile's trait values. More...
 
class  TransparentThWidgetFactory
 
class  TransparentWidget
 Transparent widget. More...
 
class  Variable
 
class  VariableEvent
 Variable event. More...
 
class  Variant
 
class  VariantSet
 Smallish set of variants. More...
 
class  VarThWidgetFactory
 
class  VarWidget
 Variable widget. More...
 
class  VolatileThWidgetFactory
 
class  VolatileWidget
 Volatile widget. More...
 
struct  WidgetAxisFit
 Widget alignment position and expansion behavior for one axis. More...
 
class  XmlActionBaseWidgetParser
 
class  XmlActionsBoxThWidgetFactoryParser
 Parses ActionsBoxThWidgetFactory. More...
 
class  XmlActionsBoxWidgetParser
 
class  XmlActionThWidgetFactoryParser
 Parses ActionThWidgetFactory. More...
 
class  XmlActionWidgetParser
 
class  XmlAlarmsEventParser
 
class  XmlAlphaModifierParser
 
class  XmlArrayEventParser
 
class  XmlBackgroundEventParser
 
class  XmlBackgroundThAnimationFactoryParser
 
class  XmlBackgroundThWidgetFactoryParser
 Parses BackgroundThWidgetFactory. More...
 
class  XmlBackgroundWidgetParser
 
class  XmlBasicParser
 
class  XmlBoxThWidgetFactoryParser
 Parses BoxThWidgetFactory. More...
 
class  XmlBoxWidgetParser
 
class  XmlCaseModifierParser
 
class  XmlCommonErrors
 
class  XmlCommonParser
 
class  XmlConditionalParser
 
class  XmlCumulCmpEventParser
 
class  XmlDelayedQueueEventParser
 
class  XmlElapsedMapperParser
 
class  XmlEventParser
 
class  XmlExplosionThAnimationFactoryParser
 
class  XmlFadeModifierParser
 
class  XmlFillerEventParser
 
class  XmlFillModifierParser
 
class  XmlGameFiles
 Interface locating xml files related to games. More...
 
class  XmlGameLoader
 
class  XmlGameWidgetParser
 
class  XmlGrowModifierParser
 
class  XmlHighscoresLoader
 
class  XmlIdTilesParser
 
class  XmlIfElseModifierParser
 
class  XmlImageModifierParser
 
class  XmlImageParser
 
class  XmlImageSeqThAnimationFactoryParser
 
class  XmlInputBoxThWidgetFactoryParser
 Parses InputBoxThWidgetFactory. More...
 
class  XmlInputBoxWidgetParser
 
class  XmlLevelShowThWidgetFactoryParser
 Parses LevelShowThWidgetFactory. More...
 
class  XmlLevelShowWidgetParser
 
class  XmlLogEventParser
 
class  XmlMaskModifierParser
 
class  XmlModifierParser
 
class  XmlNewRowsParser
 
class  XmlNextThemeModifierParser
 
class  XmlOthersReceiverEventParser
 
class  XmlOthersSenderEventParser
 
class  XmlPlainTextThAnimationFactoryParser
 
class  XmlPositionerEventParser
 
class  XmlPreferencesLoader
 
class  XmlPreviewThWidgetFactoryParser
 Parses PreviewThWidgetFactory. More...
 
class  XmlPreviewWidgetParser
 
class  XmlProbTileGenParser
 
class  XmlProgressThWidgetFactoryParser
 Parses ProgressThWidgetFactory. More...
 
class  XmlProgressWidgetParser
 
class  XmlRandomEventParser
 
class  XmlRotateModifierParser
 
class  XmlScrollerEventParser
 
class  XmlSelectAniModifierParser
 
class  XmlSelectCaseModifierParser
 
class  XmlSelectedImageModifierParser
 
class  XmlSelectEventParser
 
class  XmlSelectVarModifierParser
 
class  XmlShowTextEventParser
 
class  XmlSoundEventParser
 
class  XmlSpeedEventParser
 
class  XmlSquarsorEventParser
 
class  XmlStaticGridEventParser
 
class  XmlStaticGridThAnimationFactoryParser
 
class  XmlStopModifierParser
 
class  XmlSysEventParser
 
class  XmlTextModifierParser
 
class  XmlThAnimationFactoryParser
 
class  XmlThemeImageParser
 
class  XmlThemeLoader
 
class  XmlThWidgetFactoryParser
 Base class for ThemeWidget factory parsers. More...
 
class  XmlTileAnimatorEventParser
 
class  XmlTileAniModifierParser
 
class  XmlTraitsParser
 
class  XmlTransparentThWidgetFactoryParser
 Parses TransparentThWidgetFactory. More...
 
class  XmlTransparentWidgetParser
 
class  XmlVariableEventParser
 
class  XmlVariantSetParser
 
class  XmlVarThWidgetFactoryParser
 Parses VarThWidgetFactory. More...
 
class  XmlVarWidgetParser
 
class  XmlVolatileThWidgetFactoryParser
 Parses VolatileThWidgetFactory. More...
 
class  XmlVolatileWidgetParser
 
class  XYBuffer
 

Enumerations

enum  OwnerType { OwnerType::GAME = 0, OwnerType::TEAM = 1, OwnerType::PLAYER = 2 }
 

Functions

std::vector< unique_ptr< XmlEventParser > > getXmlStdEventParsers ()
 
std::vector< unique_ptr< XmlGameWidgetParser > > getXmlStdGameWidgetParsers ()
 
std::pair< Glib::RefPtr< Gtk::Window >, std::string > createMainWindow (MainWindowData &&oMainWindowData) noexcept
 Creates the game window. More...
 
bool operator== (NPoint oP1, NPoint oP2) noexcept
 
bool operator== (NSize oS1, NSize oS2) noexcept
 
bool operator== (NRect oR1, NRect oR2) noexcept
 
bool operator== (const FPoint &oP1, const FPoint &oP2) noexcept
 
bool operator== (const FSize &oS1, const FSize &oS2) noexcept
 
bool operator== (const FRect &oR1, const FRect &oR2) noexcept
 
std::vector< unique_ptr< XmlModifierParser > > getXmlStdModifierParsers ()
 
std::vector< unique_ptr< XmlThAnimationFactoryParser > > getXmlStdThAnimationParsers ()
 
std::vector< unique_ptr< XmlThWidgetFactoryParser > > getXmlStdThWidgetParsers ()
 

Enumeration Type Documentation

◆ OwnerType

enum stmg::OwnerType
strong
Enumerator
GAME 
TEAM 
PLAYER 

Function Documentation

◆ createMainWindow()

std::pair<Glib::RefPtr<Gtk::Window>, std::string> stmg::createMainWindow ( MainWindowData &&  oMainWindowData)
noexcept

Creates the game window.

Parameters
oMainWindowDataThe initialization data.
Returns
The window or null and the error string if an error occurred.

◆ getXmlStdEventParsers()

std::vector<unique_ptr<XmlEventParser> > stmg::getXmlStdEventParsers ( )

◆ getXmlStdGameWidgetParsers()

std::vector<unique_ptr<XmlGameWidgetParser> > stmg::getXmlStdGameWidgetParsers ( )

◆ getXmlStdModifierParsers()

std::vector<unique_ptr<XmlModifierParser> > stmg::getXmlStdModifierParsers ( )

◆ getXmlStdThAnimationParsers()

std::vector<unique_ptr<XmlThAnimationFactoryParser> > stmg::getXmlStdThAnimationParsers ( )

◆ getXmlStdThWidgetParsers()

std::vector<unique_ptr<XmlThWidgetFactoryParser> > stmg::getXmlStdThWidgetParsers ( )

◆ operator==() [1/6]

bool stmg::operator== ( NPoint  oP1,
NPoint  oP2 
)
noexcept

◆ operator==() [2/6]

bool stmg::operator== ( NSize  oS1,
NSize  oS2 
)
noexcept

◆ operator==() [3/6]

bool stmg::operator== ( NRect  oR1,
NRect  oR2 
)
noexcept

◆ operator==() [4/6]

bool stmg::operator== ( const FPoint oP1,
const FPoint oP2 
)
noexcept

◆ operator==() [5/6]

bool stmg::operator== ( const FSize oS1,
const FSize oS2 
)
noexcept

◆ operator==() [6/6]

bool stmg::operator== ( const FRect oR1,
const FRect oR2 
)
noexcept