Doyle Thai
398ca0bc96
Add SSO for strings, memStack quick initialiser
2018-01-19 21:52:34 +11:00
Doyle Thai
feeec0c610
Remove useless request api in DqnMemAPI
2018-01-19 13:48:01 +11:00
Doyle Thai
912ca43056
Fix formatting and clean up documentation
2018-01-18 20:25:44 +11:00
Doyle Thai
db25c5997f
Minor fixes, add trim whitespace
2018-01-18 16:01:37 +11:00
Doyle Thai
7809185daa
Fix string append crash on 0 len
2018-01-06 16:53:53 +11:00
Doyle Thai
fd00b9071c
Minor const changes, string fix and name changes
2018-01-06 00:46:44 +11:00
Doyle Thai
5876c16abe
Fix array resize crash on 0 initialisation
2018-01-04 16:27:50 +11:00
Doyle Thai
8209593f57
Fix literals not working with strings in structs
2018-01-04 16:07:18 +11:00
Doyle Thai
18967312d6
Clean up DqnFile to be more C++ and minor fixes
2018-01-04 00:40:27 +11:00
Doyle Thai
ee4f8eca17
Finally fix clip rect bug?
2017-12-06 19:08:49 +11:00
Doyle Thai
3d3d741ad6
Add missing default constructor for DqnV2i
2017-11-12 00:14:49 +11:00
Doyle Thai
25d6308a5f
List removal for arrays, template specialize sort
2017-11-11 20:08:43 +11:00
Doyle Thai
88bac561ec
Update vector and rect api to use constructors
2017-11-10 23:14:50 +11:00
Doyle Thai
2f6624fad7
Make DqnRnd a class, make array memapi aware
2017-11-08 21:32:06 +11:00
Doyle Thai
25098ca74c
Add hash table and binary search to library
2017-10-29 20:30:07 +11:00
Doyle Thai
15dad9d8d2
Simplify DqnMemAPI and DqnMemStack api
2017-10-29 12:45:00 +11:00
Doyle Thai
d01e2fbc2f
Remove the need for isFreeable in strings
2017-10-29 11:51:16 +11:00
Doyle Thai
b6a3600283
Clean up tests, fix DqnString bug, rename DqnDir
2017-10-29 11:41:26 +11:00
Doyle Thai
3ee5500124
Remove C-style api for strings, fix stack alloc bug
2017-10-28 23:25:17 +11:00
Doyle Thai
bfa00944c6
Various fixes, string lib, start removing C-style API
2017-10-28 19:58:09 +11:00
Doyle Thai
5533ad0b68
Fix typos, add utilties for wstr/file reading
2017-07-26 21:31:17 +10:00
Doyle Thai
d2ebb53322
Fix mat4 lookat, add translate[3f|v3]
2017-07-16 20:47:49 +10:00
Doyle Thai
be0b84a244
Static analysis cppcheck
2017-07-13 12:50:01 +10:00
979679470b
Fix DqnMat4_Rotate not normalising axis
2017-07-04 14:22:24 +10:00
924aa84e7d
Fix problem exposing platform w/o implementation
2017-07-03 15:17:09 +10:00
f8a4d4fe4b
Fix crashes on unix using gcc -O3
2017-07-02 16:31:29 +10:00
2d163fa554
Add fix for strict-aliasing in DqnRnd
2017-07-02 14:47:38 +10:00
cbf7b4d606
Add quicksort generic to lib
2017-06-28 22:47:27 +10:00
825caefe4a
Fix non-used param bugs, add minimal win32 sample
2017-06-27 17:45:51 +10:00
db1f76996c
Add quicker filesize query, and ReadEntireFile()
2017-06-26 21:46:28 +10:00
866126e735
Make atomic add allow amounts not just +-1
2017-06-26 12:37:52 +10:00
fca8db0366
Port atomics, mutex lock and job queue to unix
2017-06-26 01:57:51 +10:00
19c427d756
Add opt. RAII-isms for destruction, fix thread bug
...
Thread Bug: Incorrectly using && operator for while
(DqnJobQueue_TryExecuteNextJob(queue) &&
!DqnJobQueue_AllJobsComplete(queue)) causing it to prematurely exit if
the main thread has completed its work before other threads have
completed the remainder. Should be using an || operator, so instead
creating a helper function which encapsulates this functionality.
2017-06-24 14:59:48 +10:00
886425eaa3
Add CPP api for dqn file and lock
2017-06-24 11:00:44 +10:00
45bc637773
Expose job queue, update init function
2017-06-23 23:12:20 +10:00
f9de41b6c0
Add cpp members to DqnArray
2017-06-23 21:17:26 +10:00
3d61d66388
Fix destructor premature call in memstack cpp api
2017-06-23 19:05:51 +10:00
9bb8efcf9d
Add CPP member functions to DqnMemStack
2017-06-23 15:30:21 +10:00
187fc14d02
DqnTimer unix implementation
2017-06-22 18:10:44 +10:00
f464e869ec
Add compile time asserts, table of contents
2017-06-22 16:16:28 +10:00
b2639447d0
Reorganise layout with table of contents
2017-06-22 14:43:53 +10:00
81c68ad908
Add better documentation
2017-06-22 14:00:11 +10:00
84149d0ad1
Add file write tests and delete functionality
2017-06-22 01:26:08 +10:00
93bbc25b11
Fix compile and warnings on MSVC
2017-06-21 19:01:36 +10:00
a067fed81f
Implement dir read/free and file write in Unix
2017-06-21 18:52:14 +10:00
245e6b11f1
Basic file open/close/read implemented in Unix
2017-06-21 18:05:30 +10:00
036afb9b10
Implemented unix DqnFile_Open
2017-06-21 17:48:00 +10:00
73b5d05df8
Enable more warnings for unix, fix StrtoF32 bug
2017-06-21 14:54:57 +10:00
341388bb70
Get basics to compile & work in unix
2017-06-21 14:10:53 +10:00
b1e7fdc264
Reorganise platform specific code
2017-06-20 22:23:34 +10:00