diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-05-30 21:58:02 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-05-30 21:58:02 +0200 |
commit | 6e93448b2996a0edcb15e194f9f848228cc5a4d6 (patch) | |
tree | e4d944bcb67c207dce2a7f43a7020be762b1eeb9 /src/leveldefines.h | |
parent | cool (diff) | |
download | yabs-6e93448b2996a0edcb15e194f9f848228cc5a4d6.tar.gz yabs-6e93448b2996a0edcb15e194f9f848228cc5a4d6.tar.bz2 yabs-6e93448b2996a0edcb15e194f9f848228cc5a4d6.tar.xz yabs-6e93448b2996a0edcb15e194f9f848228cc5a4d6.tar.zst yabs-6e93448b2996a0edcb15e194f9f848228cc5a4d6.zip |
cooler
Diffstat (limited to 'src/leveldefines.h')
-rw-r--r-- | src/leveldefines.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/leveldefines.h b/src/leveldefines.h index 1d2506b..7d739fa 100644 --- a/src/leveldefines.h +++ b/src/leveldefines.h @@ -1,35 +1,35 @@ #pragma once // game -# define TEXTURES 1 // whether to use textures for the level -# define FOG 1 +#define TEXTURES 1 // whether to use textures for the level +#define FOG 1 // S3L -# define S3L_NEAR_CROSS_STRATEGY 3 +#define S3L_NEAR_CROSS_STRATEGY 3 #if TEXTURES -# define S3L_PERSPECTIVE_CORRECTION 2 +#define S3L_PERSPECTIVE_CORRECTION 2 #else -# define S3L_PERSPECTIVE_CORRECTION 0 +#define S3L_PERSPECTIVE_CORRECTION 0 #endif -# define S3L_NEAR (S3L_FRACTIONS_PER_UNIT / 5) +#define S3L_NEAR (S3L_FRACTIONS_PER_UNIT / 5) -# define S3L_USE_WIDER_TYPES 0 -# define S3L_FLAT 0 -# define S3L_SORT 0 -# define S3L_Z_BUFFER 1 -# define S3L_MAX_TRIANGES_DRAWN 512 +#define S3L_USE_WIDER_TYPES 0 +#define S3L_FLAT 0 +#define S3L_SORT 0 +#define S3L_Z_BUFFER 1 +#define S3L_MAX_TRIANGES_DRAWN 512 -# define S3L_PIXEL_FUNCTION drawPixel +#define S3L_PIXEL_FUNCTION drawPixel -# define S3L_MAX_PIXELS (1024 * 1024) +#define S3L_MAX_PIXELS (1024 * 1024) // Screen #ifndef SCREEN_MEASURMENTS - # define SCREEN_WIDTH 1920 - # define SCREEN_HEIGHT 1080 +#define SCREEN_WIDTH 1920 +#define SCREEN_HEIGHT 1080 #endif -# define HALF_SCREEN_WIDTH SCREEN_WIDTH/2 -# define HALF_SCREEN_HEIGHT SCREEN_HEIGHT/2 +#define HALF_SCREEN_WIDTH SCREEN_WIDTH / 2 +#define HALF_SCREEN_HEIGHT SCREEN_HEIGHT / 2 |