SQCSimulator2023/SQCSim2021/define.h

57 lines
1.1 KiB
C
Raw Normal View History

2023-09-25 17:17:17 -04:00
#ifndef CLI_DEFINE_H__
#define CLI_DEFINE_H__
//#define SFML_STATIC true
2021-10-11 11:37:58 -04:00
#include <iostream>
2023-09-25 08:23:52 -04:00
#include <chrono>
#include <iomanip>
2023-10-04 15:01:48 -04:00
#include <GL/glew.h>
2023-09-27 11:24:41 -04:00
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
2023-09-25 17:17:17 -04:00
#include "../SQCSim-common/define.h"
#ifdef _WIN32
#include <gl/GL.h>
#include <gl/GLU.h>
2023-10-04 15:01:48 -04:00
#else
#include <GL/gl.h>
#include <GL/glu.h>
#include <climits>
#endif
2023-09-25 17:17:17 -04:00
#define SRV_ADDR "127.0.0.1"
#define COUNTDOWN 300
2021-11-26 11:59:02 -05:00
2023-10-16 12:02:37 -04:00
#define BULLET_UPDATES_PER_FRAME 20
2023-10-16 17:36:04 -04:00
#define BASE_WIDTH 640
#define BASE_HEIGHT 480
2023-08-28 16:23:34 -04:00
#define ANIME_PATH_JUMP "./media/textures/AssetOtherPlayer/FinalPNGJumping/"
#define ANIME_PATH_STILL "./media/textures/AssetOtherPlayer/FinalPNGStanding/"
2023-08-28 16:23:34 -04:00
#define TEXTURE_PATH "./media/textures/"
#define SHADER_PATH "./media/shaders/"
#define AUDIO_PATH "./media/audio/"
#define CHUNK_PATH "./media/chunks/"
#define BOOSTER_TEXTURE_PATH "./media/textures/Booster/"
enum GameState {
MAIN_MENU,
SPLASH,
2023-12-06 13:14:51 -05:00
LOBBY,
2023-12-04 13:02:28 -05:00
OPTIONS,
QUIT,
PLAY,
PAUSE
};
enum Resolution {
HD = 0, // 1280x720 (High Definition)
FHD, // 1920x1080 (Full HD)
QHD, // 2560x1440 (Quad HD)
UHD // 3840x2160 (Ultra HD)
};
#endif // DEFINE_H__