Alison Watson
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.
6 years ago
Marrub
080b28c8c8
Fix licensing wording and add external licenses.
6 years ago
Marrub
953de47c94
Move code and remove lithos3l.lib
6 years ago
Marrub
ee96fb0bb4
Relicense under MIT License.
6 years ago
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
6 years ago
Marrub
f5fdcd56a9
Remove Lth_button and test file
6 years ago
Marrub
3f5d061bcd
Manifest: Add string-constant-seq
6 years ago
Marrub
ec2c3b8e7e
Add Lth_stdfix.h.
6 years ago
Marrub
46f8776c89
TokenStream: Fix dumb typo
6 years ago
Marrub
89882c943f
stdlib: Add Lth_ceilk and Lth_fractk
...
stdlib: Change memcpy calls to memmove calls
stdlib: Optimize Lth_PrintString with hacks
6 years ago
Marrub
4b20d830c4
Types: Add Lth_VectorAlloc and move Lth_pfor
6 years ago
Marrub
07bf122fdc
Token: Add TOK_Minus and fix negative numbers
6 years ago
Marrub
52d431acb9
Move README to README.md
6 years ago
Marrub
dbf3994ba3
TokenStream: Fix comment buffer eating forward slashes
7 years ago
Marrub
ce3a67c737
Token: Simplify escape sequences
7 years ago
Marrub
caf15b2866
Types: Add Lth_OptArgs macro
7 years ago
Marrub
44c32b82b0
HashMap: Make Lth_HashMapFind generic
...
Manifest: Fix Lth_Resource not handling char *
7 years ago
Marrub
33e5162f05
stdlib: Add Lth_stricmp, Lth_wcs*, Lth_mbslen, and Lth_Hash_wchar
7 years ago
Marrub
2420deecb3
Manifest: Fix boolean value loading
7 years ago
Marrub
9738d31bd0
Context: Fix double-free
7 years ago
Marrub
d13f2f6fe4
Change headers so everything is included sequentially by Lth.h.
...
Context: Rename Lth_ContextResourceFind
stdlib: Fix Lth_isidenti
7 years ago
Marrub
0592eca67f
stdlib: Fix Lth_Hash_* not masking characters, breaking unicode.
7 years ago
Marrub
f69a1e8412
Manifest: Add string object-declarations and booleans
7 years ago
Marrub
2ede2f4928
Window: Switch x/y and w/h in Lth_WindowNew
...
main: Add new test code
7 years ago
Marrub
abc86aaa8f
Add Manifest module.
7 years ago
Marrub
fb08786729
Token: Fix Lth_TOK_Dot eating numbers
7 years ago
Marrub
ab547ad527
stdlib: Add Lth_fpeekc, Lth_strealoc, et al.
7 years ago
Marrub
6834efad4f
stdlib: Add Lth_pfor
7 years ago
Marrub
f30001b818
assert: Fix Lth_Assert not using stderr
7 years ago
Marrub
36f008b298
Types: Fix VectorForEach, add 'bufsz' to Vector and add Lth_Pair
7 years ago
Marrub
95c85fdb9f
TokenStream: Remove scriptcall member
7 years ago
Marrub
b745b2eb3f
Hashmap: Change Lth_HashFindItr's parameters
7 years ago
Marrub
c500b83948
Remove binary files from tree.
7 years ago
Marrub
9f9daeb302
Create Token and TokenStream modules.
...
Draw: Change __fixed to standard _Accum.
main: Fix header comment.
7 years ago
Marrub
81061174e9
stdlib: Add Lth_Hash_char
7 years ago
Marrub
ca89eb95e9
Move classlayout.txt to the Tools directory.
7 years ago
Marrub
1038ca8961
Create Hashmap module.
7 years ago
Marrub
668f77010f
Types: Add Lth_Vector macro
7 years ago
Marrub
22421f7eeb
stdlib: Add Lth_strlocal and Lth_strdup_str
7 years ago
Marrub
93377a9dc7
Control: Add Lth_ControlFont
7 years ago
Marrub
cceece2216
Context: Fix mapspace not actually being used
7 years ago
Marrub
d34139fb4d
Context: Change unnamed structs to Lth_IVec2
7 years ago
Marrub
b550ec0668
Change header comment style.
7 years ago
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
7 years ago
Marrub
a93f60355f
Create Font module.
7 years ago
Marrub
f8cc0672ba
stdlib: Add Lth_strdup_str
7 years ago
Marrub
c07856f6e8
Add a class layout explanatory file.
7 years ago
Marrub
f0a59423e7
Control: Add Button dummy and restructure headers
7 years ago
Marrub
d4faa148ee
Control: Rename "control" to "ctrl" and pretty things
7 years ago
Marrub
44ae7d93e7
Control: Add SIGPSTDRAW
7 years ago