SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
gameBasics.cpp File Reference

game basic mechanisms More...

#include <chrono>
#include <thread>
#include "game.h"
#include "playMode.h"
#include "pixelManager/goodPixelManager.h"
Include dependency graph for gameBasics.cpp:

Go to the source code of this file.

Macros

#define WININIT   window("SUPER Space Invader : Turbo Apocalypse DX - VS GOD", Position(1280, 720), Position(128, 128), nsGraphics::KBlack)
 
#define START_TIMER()   DEBUG_INSTR(debugTime = chrono::high_resolution_clock::now())
 
#define PRINT_TIMER(X)   DEBUG_MSG((X) << ": " << chrono::duration_cast<chrono::nanoseconds>(chrono::high_resolution_clock::now()-debugTime).count())
 

Detailed Description

game basic mechanisms

god's implementation

Author
RUBINI Thomas
SIMAILA Djalim
Date
January 2022
Version
1.0
Author
RUBINI Thomas
Date
January 2022
Version
1.0

Definition in file gameBasics.cpp.

Macro Definition Documentation

◆ PRINT_TIMER

#define PRINT_TIMER (   X)    DEBUG_MSG((X) << ": " << chrono::duration_cast<chrono::nanoseconds>(chrono::high_resolution_clock::now()-debugTime).count())

Definition at line 113 of file gameBasics.cpp.

◆ START_TIMER

#define START_TIMER ( )    DEBUG_INSTR(debugTime = chrono::high_resolution_clock::now())

Definition at line 112 of file gameBasics.cpp.

◆ WININIT

#define WININIT   window("SUPER Space Invader : Turbo Apocalypse DX - VS GOD", Position(1280, 720), Position(128, 128), nsGraphics::KBlack)

Definition at line 18 of file gameBasics.cpp.