1
0
Fork 0
Commit Graph

41 Commits (4644b4108c492b87b289061e97704328cd4ec8a5)

Author SHA1 Message Date
an 4644b4108c TokenStream: Fix erroneous block comment parsing 2017-04-29 02:01:10 -04:00
an 7c854b943f Token: Add more escape characters 2017-04-29 02:00:47 -04:00
an 12558fca11 Token: Add new tokens 2017-04-29 02:00:31 -04:00
an 7f3a6e222e Token: Improve string parsing 2017-04-24 06:18:03 -04:00
an 7c8da17172 Token: Add new tokens 2017-04-24 06:17:53 -04:00
an 0446080176 Refactoring, part 2
Now with conditional compilation macros.
2017-03-12 16:55:50 -04:00
an 844919016c Refactoring, part 1
Changes made over the past week or so after using this in Lithium.
Some modules are missing and there is no makefile now.
2017-03-12 16:34:21 -04:00
Marrub 953de47c94 Move code and remove lithos3l.lib 2016-11-21 02:30:03 -05:00
Marrub 4339cc7296 Mega commit.
Create WinMan module.
Remove HudMessage module.
Update tests.
Add (somewhat test) fonts.
Callback: Rename some things
Control: Improve font loading nonsense
Control: Make descendants have a head and tail pointer
Control: Move Lth_ControlCall to Callback
Control: Add Lth_ControlInit convenience macro
Context: Add scaled drawing
Context: Split into WinMan
Context: Fix trying to access a null pointer in Lth_ContextResource
Draw: Add more contextualized drawing functions
Font: Fully implement Unicode font rendering and loading
HashMap: Rename Lth_HashMapFree to Lth_HashMapDestroy
Window: Update code
2016-11-21 01:33:10 -05:00
Marrub f5fdcd56a9 Remove Lth_button and test file 2016-11-21 01:11:13 -05:00
Marrub 3f5d061bcd Manifest: Add string-constant-seq 2016-11-21 01:07:31 -05:00
Marrub ec2c3b8e7e Add Lth_stdfix.h. 2016-11-21 01:05:53 -05:00
Marrub 46f8776c89 TokenStream: Fix dumb typo 2016-11-21 01:04:44 -05:00
Marrub 89882c943f stdlib: Add Lth_ceilk and Lth_fractk
stdlib: Change memcpy calls to memmove calls
stdlib: Optimize Lth_PrintString with hacks
2016-11-21 01:03:52 -05:00
Marrub 07bf122fdc Token: Add TOK_Minus and fix negative numbers 2016-11-21 00:58:32 -05:00
Marrub dbf3994ba3 TokenStream: Fix comment buffer eating forward slashes 2016-10-24 01:22:52 -04:00
Marrub ce3a67c737 Token: Simplify escape sequences 2016-10-23 21:25:30 -04:00
Marrub 33e5162f05 stdlib: Add Lth_stricmp, Lth_wcs*, Lth_mbslen, and Lth_Hash_wchar 2016-10-23 21:20:09 -04:00
Marrub 2420deecb3 Manifest: Fix boolean value loading 2016-10-22 14:48:42 -04:00
Marrub 9738d31bd0 Context: Fix double-free 2016-10-22 14:45:06 -04:00
Marrub d13f2f6fe4 Change headers so everything is included sequentially by Lth.h.
Context: Rename Lth_ContextResourceFind
stdlib: Fix Lth_isidenti
2016-10-21 21:55:38 -04:00
Marrub 0592eca67f stdlib: Fix Lth_Hash_* not masking characters, breaking unicode. 2016-10-21 17:55:00 -04:00
Marrub f69a1e8412 Manifest: Add string object-declarations and booleans 2016-10-21 17:13:29 -04:00
Marrub 2ede2f4928 Window: Switch x/y and w/h in Lth_WindowNew
main: Add new test code
2016-10-21 15:07:17 -04:00
Marrub abc86aaa8f Add Manifest module. 2016-10-21 15:05:29 -04:00
Marrub fb08786729 Token: Fix Lth_TOK_Dot eating numbers 2016-10-21 14:50:19 -04:00
Marrub ab547ad527 stdlib: Add Lth_fpeekc, Lth_strealoc, et al. 2016-10-21 14:49:11 -04:00
Marrub 95c85fdb9f TokenStream: Remove scriptcall member 2016-10-21 14:44:37 -04:00
Marrub 9f9daeb302 Create Token and TokenStream modules.
Draw: Change __fixed to standard _Accum.
main: Fix header comment.
2016-10-20 19:55:35 -04:00
Marrub 81061174e9 stdlib: Add Lth_Hash_char 2016-10-19 10:03:32 -04:00
Marrub 22421f7eeb stdlib: Add Lth_strlocal and Lth_strdup_str 2016-10-19 10:00:10 -04:00
Marrub 93377a9dc7 Control: Add Lth_ControlFont 2016-10-18 20:02:02 -04:00
Marrub cceece2216 Context: Fix mapspace not actually being used 2016-10-18 19:40:00 -04:00
Marrub b550ec0668 Change header comment style. 2016-10-18 17:21:09 -04:00
Marrub 47acf3cadd Control, Context, LinkList, et al: Restructuring
LinkList: Rename Lth_LinkList* functions to Lth_List*
LinkList: Split Lth_LinkListInsert
LinkList: Add Lth_ListLinkTail

Control: Make controls associated with a context and font

Context: Fix mapped windows with unspecified position being placed wrong
Context: Fix mapped windows being added backwards

Draw: Fix rectangles being drawn wrong
2016-10-18 13:59:02 -04:00
Marrub a93f60355f Create Font module. 2016-10-18 13:46:06 -04:00
Marrub f8cc0672ba stdlib: Add Lth_strdup_str 2016-10-18 13:44:22 -04:00
Marrub f0a59423e7 Control: Add Button dummy and restructure headers 2016-10-18 05:49:47 -04:00
Marrub d4faa148ee Control: Rename "control" to "ctrl" and pretty things 2016-10-17 19:30:28 -04:00
Marrub a0e68bab91 Draw: Add Lth_DrawRectAndClip 2016-10-17 19:10:24 -04:00
Marrub 3e801bda10 Initial commit 2016-10-17 11:57:44 -04:00