Commit Graph

378 Commits

Author SHA1 Message Date
1c3c78d738 Add custom memory allocator support for DArray 2017-05-05 02:37:38 +10:00
116861d888 Add str find first occurence, fix array pop logic
Array pop was incorrectly returning the last element which is now an invalid ptr
to data.
2017-05-04 00:22:30 +10:00
2203e9b4f2 Add comments, make alignment function to macro
Alignment function becomes macro so that we can pass around alignment as a u32
instead of size_t.
2017-05-01 21:03:27 +10:00
fef763aaff Add MemBuffer with allocation from stack memory 2017-05-01 18:29:45 +10:00
fbb9c8bf9d Add operator overloads to vectors 2017-05-01 16:40:52 +10:00
4bea4f6505 Change naming scheme to be more compact 2017-05-01 14:01:05 +10:00
c3ebef2ea1 Add wchar operations 2017-04-25 17:37:40 +10:00
8d471a1502 Add some wide len, win32 error code display 2017-04-20 22:43:58 +10:00
a4bc798a6f Remove inline for now
I found in another project that using inline, inlined some functions in the
output object code. When using single file build, the implementation is defined
in one file and if it becomes inlined, then the function name is lost.

If then another file references the library and tries to use a function that has
been inlined, the linker won't be able to resolve the function name and the
object code since it has been inlined. So I've removed it from the library until
I find a case where it's suitable to use.
2017-04-19 18:10:00 +10:00
00685b9ce9 Add better push buffer system for dynamic alloc 2017-04-18 23:38:52 +10:00
f42fca6350 Add more string check functions 2017-04-17 23:12:10 +10:00
2cbb897efa Add pushbuffer system 2017-04-17 22:48:20 +10:00
3985455fc2 Add dynamic array pop, i32 to str returns len 2017-04-16 21:33:26 +10:00
34c3481c19 Fix non-compile issues in non-unity builds 2017-04-15 15:23:05 +10:00
f066d8bc4e Add ini.h, extra win32 functions, clean up formats 2017-04-15 01:27:11 +10:00
e0cae3029d Switch darray implementation to C++ with templates 2017-04-11 21:05:40 +10:00
9106f185a3 Add darray remove operations 2017-04-11 19:00:55 +10:00
15220a9646 Add stb sprintf implementation 2017-04-10 21:31:11 +10:00
cbb3adae52 Change naming scheme from dqnt to dqn 2017-04-10 18:40:15 +10:00
85051a00dc Add unit test for rect, fix free bug in dir free 2017-04-10 18:30:01 +10:00
197045b174 Add free directory read and documentation 2017-04-10 18:18:23 +10:00
54683f89bb Add dynamic array implementation and read dir 2017-04-10 18:00:07 +10:00
6a377451a0 Add basic win32 file open and reading 2017-04-09 23:11:08 +10:00
3e0064d741 Add ucs to utf8 conversion to and from 2017-04-09 22:35:54 +10:00
30e219e7c3 Add extra v2, v3 operations (cross, length etc) 2017-04-09 16:53:24 +10:00
2600485dea Add lerp 2017-04-09 16:35:54 +10:00
33bba1aa52 Add vector artihmetic 2017-04-09 16:26:08 +10:00
ab5fa39957 Initial commit 2017-04-09 15:08:31 +10:00