Commit Graph

327 Commits

Author SHA1 Message Date
5dd2c168b6 Removed text_2d. 2024-01-04 17:29:54 +01:00
8d7321f93c Added vertex color support for the FontMaterial. 2024-01-04 15:56:01 +01:00
caa9e4d39c Implement TextureMaterial properly for the new setup. 2024-01-04 15:52:04 +01:00
8f6288e674 Fix memleak, properly init variables, added unload() method, and small cleanups to Font. 2024-01-04 15:48:21 +01:00
6dd8f13545 Removed stbi include from font.h. 2024-01-04 15:42:56 +01:00
98822c4b5a Font cleanups. 2024-01-04 15:37:13 +01:00
3a57cd3da9 Fully fix Font mesh generation. 2024-01-04 15:35:00 +01:00
fd57d69c6e Fix Font mesh generation part 1. 2024-01-04 15:23:39 +01:00
80172bfee4 Initial font meshing setup. Also various cleanups. 2024-01-04 14:37:11 +01:00
5a572e2dc5 Font initial rework. 2024-01-04 12:12:57 +01:00
a01dd3c291 Now Texture is a Resource. 2024-01-04 12:12:44 +01:00
8bd597e390 Renamed TextMaterial to FontMaterial. 2024-01-04 11:03:58 +01:00
e55d4fc027 Duplicated TextRenderer as Text2D. Not int the build yet. 2024-01-04 11:02:33 +01:00
026c4859c0 Renamed text_renderer to font. 2024-01-04 11:00:48 +01:00
2a71ea18b3 Added origin note. 2024-01-04 10:58:34 +01:00
8d75698935 Moved the font data tables to a new file. 2024-01-04 10:57:24 +01:00
5e9954bcf7 Fixed font atlas generation. 2024-01-04 10:55:20 +01:00
b0da9c888c Setup font debugging. 2024-01-04 01:52:19 +01:00
72ef5f6868 TextRenderer initial rework. 2024-01-04 01:31:59 +01:00
06dadd50d8 Fixed accumulated input. 2024-01-03 23:29:24 +01:00
32962a9b83 Split off font data from the text renderer. 2024-01-03 19:51:15 +01:00
b44751276c Fix typo. 2024-01-03 19:47:04 +01:00
5a917f690a Added stb_truetype. 2024-01-03 19:45:13 +01:00
31481e7b47 Renamed fwk_font. 2024-01-03 19:36:50 +01:00
2c358a1466 Initial font rework. 2024-01-03 19:30:49 +01:00
82853c99f2 Moved out input classes from the input subfolder. 2024-01-03 19:15:35 +01:00
ad11438d7d Removed Joy, Touch, and midi handling. 2024-01-03 19:06:28 +01:00
a6938d2d29 Implemented input handling. 2024-01-03 18:39:58 +01:00
9d0476a48d Setup handling window focus events. Also cleaned up mouse pointer handling. 2024-01-03 15:35:25 +01:00
1a761c83ca Setup input callbacks. 2024-01-03 14:49:47 +01:00
24568b12ff Implemented time scale. 2024-01-03 14:07:00 +01:00
3062dada73 Fail if scene is null. 2024-01-03 14:05:45 +01:00
c6cdd2fed8 More cleanups, and use Scenes as a Ref<> in Application. 2024-01-03 14:04:22 +01:00
ee823eab5d More cleanups and simplifications. 2024-01-03 14:01:29 +01:00
89d8b7dcca Avoid memleak. 2024-01-03 13:55:16 +01:00
12fe8bbbbd Avoid memleak. 2024-01-03 13:54:26 +01:00
9ec2133dae Simplify main(). 2024-01-03 13:52:39 +01:00
85bad3cfda Fix build. 2024-01-03 13:40:27 +01:00
a8f046ffb0 Input and Application cleanups. 2024-01-03 13:39:53 +01:00
116a7d0eaf Added input classes to the build and made them compile. 2024-01-03 12:21:46 +01:00
9aad8379a1 Added keybopard.h and .cpp from pandemonium. 2024-01-03 11:28:23 +01:00
e0bde10e93 Added a central RenderState. Reworked Cameras to use it. This means that Camera classes are no longer needed in render_core. 2023-12-31 20:38:51 +01:00
cb6408a2d4 Removed my old string. 2023-12-31 20:01:55 +01:00
eb5d27a51e Removed my old variant. 2023-12-31 20:01:25 +01:00
f48208c855 Removed the RandomNumberGenerator class. 2023-12-31 20:01:03 +01:00
74e4151ea7 Added Resource to the build. 2023-12-31 20:00:21 +01:00
bb7ebfe362 Fixed automatic Ref<> to Variant conversions. 2023-12-31 19:57:59 +01:00
96ae4a1f7e Reimplemented sprintf. Moved it to Array. 2023-12-31 19:50:23 +01:00
c87f9fd541 Fixed building Variant. Also added more goodies to object. 2023-12-31 19:32:44 +01:00
c6f3a8b245 Grab some goodies for Object from pandemonium. Also init MemoryPool and StringNames. 2023-12-31 16:20:14 +01:00