Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
Loading...
Searching...
No Matches
main.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DISPLAY_W   1260
 
#define DISPLAY_H   920
 
#define FRAMES_PER_SECOND   60
 
#define H_SCROLL_STEP_SIZE   1
 
#define W_SCROLL_STEP_SIZE   1
 
#define VIEWPORT_POS_X   10
 
#define VIEWPORT_POS_Y   10
 
#define VIEWPORT_WIDTH   1240
 
#define VIEWPORT_HEIGHT   900
 
#define DEFAULT_ZOOM_SCALE_POS   60
 
#define EXIT_FRAME_BUDGET_EXHAUSTED   3
 
#define APP_NAME   "Scarab"
 

Macro Definition Documentation

◆ APP_NAME

#define APP_NAME   "Scarab"

◆ DEFAULT_ZOOM_SCALE_POS

#define DEFAULT_ZOOM_SCALE_POS   60

◆ DISPLAY_H

#define DISPLAY_H   920

◆ DISPLAY_W

#define DISPLAY_W   1260

◆ EXIT_FRAME_BUDGET_EXHAUSTED

#define EXIT_FRAME_BUDGET_EXHAUSTED   3

◆ FRAMES_PER_SECOND

#define FRAMES_PER_SECOND   60

◆ H_SCROLL_STEP_SIZE

#define H_SCROLL_STEP_SIZE   1

◆ VIEWPORT_HEIGHT

#define VIEWPORT_HEIGHT   900

◆ VIEWPORT_POS_X

#define VIEWPORT_POS_X   10

◆ VIEWPORT_POS_Y

#define VIEWPORT_POS_Y   10

◆ VIEWPORT_WIDTH

#define VIEWPORT_WIDTH   1240

◆ W_SCROLL_STEP_SIZE

#define W_SCROLL_STEP_SIZE   1