Working on model loading and added poker table

This commit is contained in:
2021-05-09 14:38:08 -07:00
parent 4a3b6c2f98
commit 848f3cc3b8
30 changed files with 1789 additions and 38 deletions

View File

@ -0,0 +1,25 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../libs.h"
/** Which is the first character within the font tilemap */
#define FONT_CHAR_START 33
/** Center a font along the X axis */
#define FONT_CENTER_X 9876543
/** Center a font along the Y axis */
#define FONT_CENTER_Y -FONT_CENTER_X
/** Align right edge of font to origin */
#define FONT_RIGHT_X (FONT_CENTER_X-1)
typedef struct {
float width, height;
int32_t lines;
} fontmeasure_t;