Commit Graph

627 Commits (e979447de030d6d942d098914986a175b9b78e77)

Author SHA1 Message Date
Brett 12a5985916 Push V0.3.2a 2023-01-29 23:36:42 -05:00
Brett 38e6abe4e3 Writing and Reading buffers 2023-01-29 22:27:48 -05:00
Brett 060e1a8efb Tables now have names 2023-01-29 17:10:36 -05:00
Brett c5f732342d Test NBT block reading
Block reading is slower than raw reading from the file. Going to run another test:
Test reading in smaller blocks
2023-01-29 15:39:49 -05:00
Brett 483713b265 tests cleanup, NBT UTF
The UTF8 implementaion is ripped from openjdk-source's java source code, adapted by me for c++
2023-01-29 15:24:33 -05:00
Brett 33b0b7bbbb Cleanup + making way for NBT! 2023-01-27 10:45:18 -05:00
Brett 42b912604d Ordered table pretty print 2023-01-27 09:58:51 -05:00
Brett f68f23ae30 Update 0.3a!
Added table format (TODO: add title to table!)
printing of profiler
ordered table printing to come
TODO: add old table print back, default to table print!
2023-01-27 00:49:44 -05:00
Brett 8ec971f8ce Printing 2023-01-26 12:21:19 -05:00
Brett e58f20d16e Better profiler 2023-01-26 00:59:36 -05:00
Brett bc4bf76be7 Add stream version of the logging macros 2023-01-24 23:01:34 -05:00
Brett 51a1468cf0 Console logging 2023-01-24 17:56:48 -05:00
Brett 4fbeb5be72 Fix readme 2023-01-24 16:01:06 -05:00
Brett 594b8c4199 Update readme 2023-01-24 15:57:52 -05:00
Brett 4562171205 Logging macros now print new line even if the supplied string does not include one.
this is done because the use of macros does not support complex line outputs and therefore there will never be a case where \n is not desired.
2023-01-24 15:19:44 -05:00
Brett 6816ddaf7a Logging is now working with all types + formatting
Can provide raw data types like ints, long, float, byte, double etc. Will be printed out as a full line. This cannot be avoided as writing requires the prefix, which cannot be calculated via discrete macro calls. At least not easily.
Performance of the logging needs to be tested
plus writing to filesystem is required.
2023-01-24 15:16:47 -05:00
Brett 5e1deefe48 Add time to the log output 2023-01-23 23:53:37 -05:00
Brett d025b0595c Logging works for the most part, more features need to be added 2023-01-23 17:52:32 -05:00
Brett cf96536468 Logging begin 2023-01-23 10:15:37 -05:00
Brett dee1c92532 string contains functions as well 2023-01-22 18:08:50 -05:00
Brett 69ab5d7079 Added some std::string functions from c++ 20 2023-01-22 17:54:24 -05:00
Brett 12ec6a9334 Function reference 2023-01-17 11:13:48 -05:00
Brett 30eb1938cc revert 2023-01-17 11:13:25 -05:00
Brett 4269e52e31 Testing pointer nonsense for glut 2023-01-17 11:09:25 -05:00
Brett 93d27519ca Make functions const ref 2023-01-17 10:35:01 -05:00
Brett 606e554f6c Cleanup window and add more useful functions 2023-01-17 10:33:27 -05:00
Brett 3cf601b78b Add render functions and window open specifications 2023-01-17 10:11:35 -05:00
Brett 0d2292e1d4 Fix cmake when not using phmaps 2023-01-16 14:09:27 -05:00
Brett e2a358ffd1 Basic window class 2023-01-16 14:08:28 -05:00
Brett 4a5c1799ce Fix delete function for dual children nodes 2023-01-12 23:11:17 -05:00
Brett 4b89ec2ee1 Two children delete is still broken. Single / no child delete works fine. 2023-01-12 14:09:34 -05:00
Brett 89f77e3aa9 Delete is broken 2023-01-12 12:18:39 -05:00
Brett 60c1371a9d Switching to recursive delete. Fixed search 2023-01-11 18:56:42 -05:00
Brett 33ee1f2dc7 Fix insert? 2023-01-10 22:58:49 -05:00
Brett 21aa7ed6ac Allow non-default constructor objects? 2023-01-10 22:48:02 -05:00
Brett e5613c8007 Fix insert root node with false default value 2023-01-10 22:46:27 -05:00
Brett 6a2a5948fb Fix null issue 2023-01-10 22:32:14 -05:00
Brett 15eaf59503 Fix search infinite loop on not foundo 2023-01-10 22:30:54 -05:00
Brett 0926d7cc00 Fix node return issue 2023-01-10 22:29:26 -05:00
Brett db27eae97b Switch to ** 2023-01-10 22:28:32 -05:00
Brett 5d76457678 fix 2023-01-10 22:21:23 -05:00
Brett 7ca975d6a0 Add some debug as insert appears to be broken 2023-01-10 22:16:57 -05:00
Brett a34b7e968b Fix binary tree 2023-01-10 22:05:47 -05:00
Brett fa18b01220 Working on binary trees 2023-01-10 10:45:11 -05:00
Brett 9c87a56ed0 Forgot++ 2023-01-05 12:40:08 -05:00
Brett 6ab916f287 Naming conflict 2023-01-05 12:37:15 -05:00
Brett 7fce270aec Add stack, revert queue 2023-01-05 12:34:14 -05:00
Brett 51be6c7e8e Finalized Queue 2023-01-05 12:10:38 -05:00
Brett 64776c291b Debug 2023-01-05 11:49:45 -05:00
Brett deb947653b Fix Queue to be a FIFO instead of FILO data structure 2023-01-05 11:45:27 -05:00