Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
Timers.cpp File Reference
#include "Timers.hpp"
#include "UIMessages.hpp"
#include <array>
#include <chrono>
Include dependency graph for Timers.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::timers
 

Functions

bool monopoly::timers::initialize ()
 
void monopoly::timers::shutdown ()
 
bool monopoly::timers::configure (std::size_t index, std::uint8_t speed, std::uint16_t restartCount, bool sendUIMessage, std::uint16_t value)
 
void monopoly::timers::pump ()
 
void monopoly::timers::advanceTicks (std::uint64_t numberOfTicks)
 
std::uint64_t monopoly::timers::tickCount ()
 

Variable Documentation

◆ remainingTicks

std::uint8_t remainingTicks = 1

Definition at line 22 of file Timers.cpp.

◆ restartCount

std::uint16_t restartCount = 0

Definition at line 17 of file Timers.cpp.

◆ sendUIMessage

bool sendUIMessage = false

Definition at line 24 of file Timers.cpp.

◆ speed

std::uint8_t speed
Initial value:
=
static_cast<std::uint8_t>(BasicClockRateHz / 10)

Definition at line 19 of file Timers.cpp.

◆ value

std::uint16_t value = 0

Definition at line 16 of file Timers.cpp.