painfull-success-cg/include/conf.h

22 lines
826 B
C
Raw Permalink Normal View History

2021-03-02 11:17:40 +01:00
/* SPDX-License-Identifier: MIT
* Copyright (c) 2021 KikooDX
* This file is part of
* [Painfull Success CG](https://git.sr.ht/~kikoodx/painfull-success-cg),
* which is MIT licensed. The MIT license requires this copyright notice to be
* included in all copies and substantial portions of the software. */
#pragma once
2021-05-01 02:23:11 +02:00
#define TARGET_UPS 60
#define TARGET_FPS 30
#define TILE_SIZE 16
#define LEVEL_WIDTH 16
#define LEVEL_HEIGHT 16
#define LEVEL_SIZE (LEVEL_WIDTH * LEVEL_HEIGHT)
#define LEVEL_WIDTH_PX (LEVEL_WIDTH * TILE_SIZE)
#define LEVEL_HEIGHT_PX (LEVEL_HEIGHT * TILE_SIZE)
#define DRAW_OFFSET_X 70
#define DRAW_OFFSET_Y_MIN -32
#define DRAW_OFFSET_Y_MAX 0
#define DRAW_OFFSET_Y_STEP 8
#define DRAW_OFFSET_Y_DEFAULT -16