
- We just add to a frame of quads which the renderer deals with in gfx_update - draw_quad, draw_rect, draw_rect_rotated - Currently just implemented with legacy opengl, so we can't do custom shading - Added third party code from lodepng so we can load pngs without any other dependencies (no C includes) - ALLOCATOR_REALLOCATE - Basic Vector2, Vector3, Vector4 stuff, and some math utilities - Added <math.h> dependency for now. - Graphics renderer frontend layer - Naive get_random() implementation
13 lines
No EOL
269 B
Batchfile
13 lines
No EOL
269 B
Batchfile
@echo off
|
|
rmdir /S /Q build
|
|
mkdir build
|
|
|
|
pushd build
|
|
|
|
mkdir release
|
|
pushd release
|
|
|
|
clang -o cgame.exe ../../build.c -Ofast -DRELEASE -std=c11 -Wextra -Wno-incompatible-library-redeclaration -Wno-sign-compare -Wno-unused-parameter -lgdi32 -luser32 -lopengl32
|
|
|
|
popd
|
|
popd |