GAME READY
This commit is contained in:
parent
0bbbb20487
commit
5a60e1c62a
18 changed files with 2506 additions and 249 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include "suic_app.h"
|
||||
#include "../libsuicmez/libsuicmez.h"
|
||||
#include "runtime.h"
|
||||
#include "../../libsuicmez/libsuicmez.h"
|
||||
// #include "runtime.h" // Not available
|
||||
|
||||
void suic_app_init(int width, int height, const char* title) {
|
||||
suic_init_window(width, height, (char*)title);
|
||||
|
|
@ -18,7 +18,7 @@ void suic_app_frame_begin(void) {
|
|||
}
|
||||
|
||||
void suic_app_frame_end(void) {
|
||||
draw_fps(10, 40);
|
||||
suic_draw_fps(10, 40);
|
||||
suic_end_drawing();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include "suic_app.h"
|
||||
#include "runtime.h"
|
||||
// #include "runtime.h" // Not available
|
||||
#include <math.h>
|
||||
|
||||
const char* suic_item_name(uint8_t t) {
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ void suic_terrain_cleanup(void) {
|
|||
|
||||
SuicTerrainShader suic_terrain_shader_load(void) {
|
||||
SuicTerrainShader ts = {0};
|
||||
ts.shader = LoadShader("terrain.vs", "terrain.fs");
|
||||
ts.shader = LoadShader("game/terrain.vs", "game/terrain.fs");
|
||||
|
||||
if (ts.shader.id != 0) {
|
||||
ts.locViewPos = GetShaderLocation(ts.shader, "viewPos");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue