12fbc1000e
Basic framework for scaling text, unimplemented
2016-07-15 18:34:23 +10:00
0551f05e73
Rotate around entity center, update math notation
...
Change #define math functions to uppercase for consistency
2016-07-14 23:15:42 +10:00
b1875077b7
Additional debug string rendering infrastructure
...
Separate notion of rendering a static string, i.e. for debug display that
is absolutely positioned, and rendering of a regular string that moves
with the game camera.
2016-07-12 18:11:31 +10:00
d82afe49d0
Add memory allocation tracking data to debug state
2016-07-09 21:42:36 +10:00
1f364f7024
Update debug data architecture and methods
2016-07-09 20:46:04 +10:00
c9fc34aee1
Move rendering of tiles into rendering of entities
...
Downgraded background rendering to each tile individually (no batching)
temporarily such that we can render all entities in one function.
2016-07-08 16:09:18 +10:00
46629a489a
Add debug rendering, fix misaligned pos render bug
...
Rendering using a non-default quad specifies normalised coordinates
relative to the frame buffer size. Hence each render of these frames
should origin from (0,0) any other value is invalid.
2016-07-08 02:45:37 +10:00
a04c43681d
Removed rounding in glyphs per row overestimating
2016-07-07 22:44:22 +10:00
13a2152bf6
Correctly align text rendering to baseline
2016-07-07 22:30:06 +10:00
5ef54e16be
Improved string rendering with text advance metric
2016-06-30 00:14:07 +10:00
d8ee46611f
Renderer calculates NDC coordinates from screen coords
2016-06-29 20:44:35 +10:00
fa83daac60
Text rendering to screen, assetmanager merged to gamestate
2016-06-29 18:23:51 +10:00
ef112fa4cb
Flip font texture vertically on atlas creation
2016-06-29 14:04:35 +10:00
e03d3fd14a
Rudimentary font rasterisation at runtime with STB
2016-06-29 03:17:03 +10:00
76d6dfcf2f
Change notation for dengine headers
2016-06-28 16:00:03 +10:00
e638724c75
Add tile grid and atlas concept to game
2016-06-25 21:23:15 +10:00
753d700ca6
Complete port over to C, replace glm math lib
2016-06-18 19:12:09 +10:00