client: fix win32

isolation_bkp/dynres
Dominik Madarász 2021-01-10 17:52:20 +01:00
parent a177e4c208
commit 10ead34ff6
4 changed files with 6 additions and 7 deletions

View File

@ -3,8 +3,8 @@ project(eco2d)
set(CMAKE_C_STANDARD 11)
include_directories(eco2d-client code/vendors)
include_directories(eco2d-server code/vendors)
include_directories(eco2d-client code/vendors code/common)
include_directories(eco2d-server code/vendors code/common)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/)
add_subdirectory(code/apps/client)

View File

@ -1,4 +1,3 @@
#include "raylib.h"
#include "game.h"
int main(void)

View File

@ -1,9 +1,9 @@
#include "system.h"
#include "renderer.h"
#include "raylib.h"
#include "zpl.h"
const zpl_u32 screenWidth = 800;
const zpl_u32 screenHeight = 450;
const uint16_t screenWidth = 800;
const uint16_t screenHeight = 450;
void gfx_init() {
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
@ -14,7 +14,6 @@ void gfx_shutdown() {
CloseWindow();
}
void gfx_render() {
BeginDrawing();
ClearBackground(RAYWHITE);

View File

@ -0,0 +1 @@
#include <stdint.h>