22 lines
826 B
C
22 lines
826 B
C
/* 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
|
|
|
|
#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
|