Brett
6c7fab292c
Add missing destructors
2023-07-27 01:53:01 -04:00
Brett
126faa0b03
NBT working!!
2023-07-27 01:47:11 -04:00
Brett
ff1765c52e
reader
2023-07-26 14:03:21 -04:00
Brett
5c0093e0d3
add change tag_compound to use hashmap, allow vectors
2023-07-26 13:52:51 -04:00
Brett
c4c23e9cc6
NBT finished, need to add decoder / tests
...
- evil hacks are not fun (blt::nbt::_internal_ forward declares list and compound for use inside list / compound)
- list could be made faster by bulk allocating when type is known however i believe the compiler is smart enough to do this for me
- testing that should be a todo!
2023-07-26 13:09:41 -04:00
Brett
7a7ee74924
EVIL HACK
2023-07-26 03:48:09 -04:00
Brett
cf7c6f2237
logging NONE will now output without format string
2023-07-25 14:06:04 -04:00
Brett
1998ddbafe
update to c++20
2023-07-24 13:00:35 -04:00
Brett
c3aab51030
nightly commit + working on NBT
2023-07-24 03:40:09 -04:00
Brett
983d7de820
std::function is slow!!
...
maybe change blt::logging to use something a little faster. base class + virtual function isn't that slow!
2023-07-24 03:30:23 -04:00
Brett
f5d6ef19a4
remove format changes
2023-07-24 02:55:03 -04:00
Brett
85fdc4fa65
Move constructing is now allowed for the scoped buffer, copy assignment disallowed.
...
Copy assignment isn't allowed because T cannot be guaranteed to be copyable and I don't want this class to involve type traits
2023-07-24 02:52:11 -04:00
Brett
31855dd0a4
move math functions to math.h
...
format contained a rounding function and power function, they are now in math.h
2023-07-24 02:44:25 -04:00
Brett
0d5abd143f
readme update plus time functions and cleaner scoped_buffer WITH begin()/end()
...
scoped_buffer update will break most uses
2023-07-24 02:39:03 -04:00
Brett
20f8238f70
allow disabling color logging for tests
2023-07-24 01:49:27 -04:00
Brett
7fd3fbadb3
change default to not log to file!
2023-07-23 23:21:16 -04:00
Brett
f6ca082e15
randomness test
2023-07-23 13:59:11 -04:00
Brett
ec16f5412b
new randomness functions
2023-07-23 13:10:11 -04:00
Brett
529d996a38
fix minor date issue
2023-07-22 18:26:39 -04:00
Brett
8ce22fd53a
Add STREAM macro varaints to the disabled logging section
2023-07-22 12:55:44 -04:00
Brett
94ae057baf
readme update
2023-07-22 12:30:07 -04:00
Brett
fa55b5e929
update cmake logging config and README.md
2023-07-21 22:45:23 -04:00
Brett
f325d7aa83
BLT logging v2
2023-07-21 22:21:09 -04:00
Brett
0ba2254729
logging to file
2023-07-21 18:06:55 -04:00
Brett
7e1007526f
add functions to change logging settings (global\!)
2023-07-21 16:52:44 -04:00
Brett
b9b501d391
new blt logging works fine!
2023-07-21 16:49:48 -04:00
Brett
f5069859c5
Merge remote-tracking branch 'github/main'
2023-07-21 03:56:11 -04:00
Brett
db9c6c9446
strings
2023-07-21 03:54:06 -04:00
Brett
889f24d402
logging 2.0 is almost at first working build
2023-07-21 03:32:42 -04:00
Brett
58ba957b1d
working on logging 2.0. Format defined, custom tags added.
2023-07-20 22:38:17 -04:00
Brett
7033474455
memory\!, working on logging!
2023-07-20 21:44:52 -04:00
Brett
15cca07286
fix mat4x4 scale op
2023-07-11 18:35:29 -04:00
Brett
fc8aa8204a
fix bug in useless string buffer (use += on std::string, faster)
2023-07-11 17:50:40 -04:00
Brett
f15a89328f
add string writing support to string buffer
2023-07-10 19:08:23 -04:00
Brett
d883adaf5c
Change toString() to str() to better replicate the std
2023-07-10 18:55:20 -04:00
Brett
5426aa8359
add template for string buffer
2023-07-10 18:54:04 -04:00
Brett
d06c7ebeb6
String buffer
2023-07-10 18:45:43 -04:00
Brett
a1331db389
blt logging
2023-06-26 21:33:42 -04:00
Brett
2ad00c8895
hopefully finally fix vectors
2023-04-21 21:39:34 -04:00
Brett
b088565d35
fix negation
2023-04-21 21:37:11 -04:00
Brett
548b036ad5
move from private to protected
2023-04-21 21:35:52 -04:00
Brett
2d8e410a5c
add extra templates
2023-04-21 21:35:11 -04:00
Brett
4b0226929b
add return statement to matrix class
2023-04-21 21:04:19 -04:00
Brett
94624bddec
Merge remote-tracking branch 'refs/remotes/tpgc/main'
2023-04-08 12:44:49 -04:00
Brett
5116981057
add prefix to LOG_LEVEL
2023-04-08 12:44:31 -04:00
Paragon-Win
a6a2ee966c
Fix windows!
2023-04-07 00:02:21 -04:00
Brett
89df343e4f
fix most warnings
2023-04-05 17:21:19 -04:00
Brett
d9b53aaa11
reduce min version
2023-04-01 16:49:54 -04:00
Brett
08c5426582
reduce cmake version
...
TODO: find the min version
2023-04-01 16:03:08 -04:00
Brett
289af13171
fix incorrect translate function
2023-04-01 02:55:00 -04:00