Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SimulationCommand.h File Reference
#include "simulation2/helpers/Player.h"
#include <js/RootingAPI.h>
#include <js/TypeDecls.h>
#include <js/Value.h>
Include dependency graph for SimulationCommand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SimulationCommand
 Simulation command, typically received over the network in multiplayer games. More...
 

Typedefs

using turn_id_t = std::int32_t
 At 1000 turns/second, a 32-bit counter would overflow in ~49 days. More...
 

Typedef Documentation

◆ turn_id_t

using turn_id_t = std::int32_t

At 1000 turns/second, a 32-bit counter would overflow in ~49 days.

No overflow checks are needed.