map.h
[voxelands-alt.git] / README
blobc3005b74d5b2141abb475cd492939601900bcf81
1 Voxelands - rewritten in C
3 What to do with this repo:
5 clone it
6 pick a cpp file from the main repo
7 rewrite that file in C(89)
8 commit it here
10 if something needs a bit of boilerplate, darkrose probably already has it - ask
12 libs included here already:
14 array.h - gives dynamic arrays
15 crypto.h - some some basic hashes, base64, etc
16 file.h - interact with files as memory buffers, use this to load/read/write/save files, also useful for replacing stream buffers in cpp
17 list.h - linked list code, any struct with the four prev/next/first/last pointers can use this
18 nvp.h - name/value pair, basic hash table on top of a linked list, use for config, or to replace cpp std::map
19 path.h - path resolution, use this to get the path of a file
20 thread.h - threads and mutexes, can safely lock a mutex twice from the same thread without locking up
22 common.h - includes some 3D maths, logging, and config functions, as well as some string functions (including cross-arch strdup)
23         - also has some macros for exposing functions in headers
24         - and some common/useful structs (vectors, positions, colours, quaternions, rectangles, collision boxes, etc)
26 some todo:
27 collision.c is waiting on content*.c/h for getting block data
28 config.c is waiting on command parsing
29 log.c is waiting on ui and in-game console
30 Makefile.mingw-cross/.bsd/other-platform need writting
31 crypto needs sha1