66 Commits

Author SHA1 Message Date
e647fd5365 Improve character width calculation 2022-06-22 11:48:04 +08:00
d7f0b1b5ec fixed a bug that The number of pixels in a line of a character bitmap is incorrectly calculated 2022-06-22 11:36:20 +08:00
394bd4bc8d
Improved TextRender supports character limit customization. 2022-05-13 10:57:05 +08:00
678a55a2c9 changed include 2022-05-12 16:02:36 +08:00
07092da047 used newly GetColor3f/4f 2022-03-11 17:38:21 +08:00
8fddcf7507 renamed to FULL_WIDTH_SPACE from FULL_SPACE 2022-02-28 14:28:01 +08:00
1fc1db4376 renamed values' name 2022-02-22 20:53:39 +08:00
fe730defb7 auto clear chars from tile font. 2022-02-21 17:13:12 +08:00
eb30999133 renamed values and functions. 2022-02-21 11:18:51 +08:00
125bf163dc added is_currency attribute at CharAttributes. 2022-02-18 20:42:12 +08:00
f9cf0d1911 used u32char insted of u16char at FontSource.cpp 2022-02-18 20:38:20 +08:00
14269369be added not_bitmap_chars at TileFont 2022-02-18 20:30:50 +08:00
6a039b8a51 used get_max 2022-02-18 19:59:02 +08:00
33b8ce120e codes layout 2022-02-18 19:07:02 +08:00
693bc33720 used hgl_align2 function 2022-02-18 12:01:42 +08:00
f0ffb87d5b used a struct instead of multi values. 2022-02-18 11:46:01 +08:00
1d457c5d58 splited function at TextRender 2022-02-17 20:02:59 +08:00
1ab3e5241f optimized TextRender 2022-02-17 11:02:55 +08:00
0f963fb74b optmized TextRender. 2022-02-17 10:48:12 +08:00
be2b3b7bcf added TextRender.cpp/.h 2022-02-16 23:26:50 +08:00
3e78da3b45 updated names of many params 2022-02-16 16:54:19 +08:00
e7ad21c82e used VABConfigInfo at CreateMaterialInstance of TextRenderable 2021-11-30 15:01:55 +08:00
af72c68ebe used VBO instead of VAB 2021-11-29 15:58:48 +08:00
903f9081eb renamed VAF to VF, FMT to PF 2021-06-24 19:25:43 +08:00
015a4d0b8e (WIP) renamed a few values, new SceneTreeToRenderList 2021-05-11 20:45:00 +08:00
744c3a1963 little change 2020-10-26 15:45:03 +08:00
c8955b6f35 remove vulkan namespace 2020-10-21 12:47:06 +08:00
0e56a6b00c a lot of rename 2020-10-21 12:39:22 +08:00
a20afeba9e a lot of rename 2020-10-21 12:09:15 +08:00
917424e784 move VK source files to up-level folder 2020-10-21 11:43:18 +08:00
884cc09259 moved relationship to RenderableInstance whose the Material and Renderable. 2020-09-21 19:05:25 +08:00
8f68b3935d fix a little problem 2020-09-11 18:52:17 +08:00
cba14ff413 VertexAttrib 属性中的Vertex全部改名为Position 2020-09-05 18:56:49 +08:00
5427d10e8d support String 2020-09-05 17:54:21 +08:00
90314c4b97 finished first edition of the TextRenderable class. 2020-08-08 20:12:37 +08:00
a6f1657cac add TextRenderable 2020-08-07 22:34:07 +08:00
74cf457bba use MemBlock instead uint8 * in WinBitmapFont 2020-08-07 16:14:29 +08:00
3355a75cdf WinBitmapFont luminance convert to sRGB 2020-08-04 18:28:04 +08:00
2654658203 fix TextLayout error values problem. 2020-08-04 18:27:28 +08:00
824c1b0fcd finished draw text example,and tested ok. 2020-08-04 02:23:22 +08:00
cea2f8da9e fix draw text example. 2020-08-04 01:27:35 +08:00
346d8b3279 fix TileFont::Registry function 2020-08-04 00:08:21 +08:00
2ae2228546 first finished TileFont and test program. 2020-08-03 21:22:02 +08:00
bb1484ae98 split CharAttributes from CharLayoutAttributes. use in all FontSource 2020-08-03 17:51:24 +08:00
85dac21d87 update TileFont/TileData 2020-08-01 22:10:06 +08:00
cbd3598ebb first finished TileFont::Registry/Unregistry functions. but it not test. 2020-08-01 19:38:43 +08:00
18b00d40fe update TileFont codes 2020-07-31 22:21:44 +08:00
1f80f793ac update TileFont.... 2020-07-31 18:01:28 +08:00
093fa93825 convert tabs to spaces 2020-07-29 15:24:41 +08:00
8cc35599ad convert file codes to UTF8-BOM 2020-07-29 01:00:25 +08:00