44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
/*
|
|
* Copyright Luka Jankovic 2025
|
|
*
|
|
* This file is part of Kubo.
|
|
*
|
|
* Kubo is free software: you can redistribute it and/or modify it under the
|
|
* terms of the GNU General Public License as published by the Free Software
|
|
* Foundation, either version 3 of the License, or (at your option) any later
|
|
* version.
|
|
*
|
|
* Kubo is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with
|
|
* Kubo. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef KUBO_WINDOW_H
|
|
#define KUBO_WINDOW_H
|
|
|
|
#include <raylib.h>
|
|
#include <rlgl.h>
|
|
|
|
#include "kubo_bar.h"
|
|
#include "kubo_camera.h"
|
|
#include "kubo_context.h"
|
|
#include "kubo_input.h"
|
|
|
|
#define KUBO_WINDOW_WIDTH 1000
|
|
#define KUBO_WINDOW_HEIGHT 800
|
|
|
|
#define KUBO_TARGET_FPS 165
|
|
|
|
#define KUBO_GRID_SIZE 50
|
|
|
|
void kubo_window_init();
|
|
void kubo_window_cleanup();
|
|
|
|
bool kubo_window_should_close(struct kubo_context *context);
|
|
|
|
void kubo_window_tick(struct kubo_context *context);
|
|
|
|
#endif
|