timesynk/test
kts fb149cfad8 Precompiler now reads the given source file into a buffer, rather than reading char by char during parsing. This allows for more flexibility in looking forwards and backwards during expression parsing at the expense of memory. Depending on the parsing methods chosen, this may be changed back to single forward reads directly from the file. 2014-05-27 21:45:25 -07:00
..
code Added rolls test program. This reads rolls.tsc in and attempts to do some basic attack/defend rolls for Tiles. Also added the basic structure for the VM function precompiler. Next modification will likely be converting the current VM precompiling code into using a buffer rather than reading from the file handle directly. This will allow for forward reading of characters in addition to backwards, thereby allowing for easier expression parsing (at least towards what I am conceiving of it thus far). 2014-05-17 16:28:24 -07:00
Makefile Precompiler now reads the given source file into a buffer, rather than reading char by char during parsing. This allows for more flexibility in looking forwards and backwards during expression parsing at the expense of memory. Depending on the parsing methods chosen, this may be changed back to single forward reads directly from the file. 2014-05-27 21:45:25 -07:00
conf.c Added rolls test program. This reads rolls.tsc in and attempts to do some basic attack/defend rolls for Tiles. Also added the basic structure for the VM function precompiler. Next modification will likely be converting the current VM precompiling code into using a buffer rather than reading from the file handle directly. This will allow for forward reading of characters in addition to backwards, thereby allowing for easier expression parsing (at least towards what I am conceiving of it thus far). 2014-05-17 16:28:24 -07:00
rolls.c Added rolls test program. This reads rolls.tsc in and attempts to do some basic attack/defend rolls for Tiles. Also added the basic structure for the VM function precompiler. Next modification will likely be converting the current VM precompiling code into using a buffer rather than reading from the file handle directly. This will allow for forward reading of characters in addition to backwards, thereby allowing for easier expression parsing (at least towards what I am conceiving of it thus far). 2014-05-17 16:28:24 -07:00
rolls.tsc Added rolls test program. This reads rolls.tsc in and attempts to do some basic attack/defend rolls for Tiles. Also added the basic structure for the VM function precompiler. Next modification will likely be converting the current VM precompiling code into using a buffer rather than reading from the file handle directly. This will allow for forward reading of characters in addition to backwards, thereby allowing for easier expression parsing (at least towards what I am conceiving of it thus far). 2014-05-17 16:28:24 -07:00
script.c
t2d.c Reorganized the project root, deleted unnecessary files, moved data.c/.h, fio.c/.h, llist.c/.h into common and old code into old/ directory. All modules will now reside on the modules/ directory. 2014-03-10 12:41:49 -07:00
table_test.c Implemented Data system fully now (not integrated into ts engine itself yet). In the process added a new Table (hash table) system that matches keys to values. More information pertaining to that in data.h/data.c. Might switch over to a system wherein all Tiles are actually TileData structs (or contain TileData structs). This would increase the processing necessary, as values for properties must be acquired from a string instead of reading from a pre-defined struct, but it would increase the modularity immensely as there is no real limit on the amount of properties a Tile may contain (which will be most important once the interpreter is implemented and used for tile movement, collisions, etc.). 2013-12-20 18:24:06 -08:00
tiles.txt Implemented Data system fully now (not integrated into ts engine itself yet). In the process added a new Table (hash table) system that matches keys to values. More information pertaining to that in data.h/data.c. Might switch over to a system wherein all Tiles are actually TileData structs (or contain TileData structs). This would increase the processing necessary, as values for properties must be acquired from a string instead of reading from a pre-defined struct, but it would increase the modularity immensely as there is no real limit on the amount of properties a Tile may contain (which will be most important once the interpreter is implemented and used for tile movement, collisions, etc.). 2013-12-20 18:24:06 -08:00
timer.c Added rendering code for sprite and fonts, made a pretty bad high precision timer - while being higher precision than SDL_GetTicks, it has a few problems that I must sort out. Also need to make it crossplatform. 2014-02-25 02:45:10 -08:00
timer.h Added rendering code for sprite and fonts, made a pretty bad high precision timer - while being higher precision than SDL_GetTicks, it has a few problems that I must sort out. Also need to make it crossplatform. 2014-02-25 02:45:10 -08:00
vm.c Reorganized the project root, deleted unnecessary files, moved data.c/.h, fio.c/.h, llist.c/.h into common and old code into old/ directory. All modules will now reside on the modules/ directory. 2014-03-10 12:41:49 -07:00
vm.h Added a load module state that provides a button list of modules found in the ../modules directory. When clicking on one, it will attempt to load ../modules/MODULE_NAME/MODULE_NAME.tsd into struct Data* g_tile_data. If it succeeds, it switches to a test state where I will be tweaking stuff like tile movement and similar. I will also add spritesheet loading in the load module state. 2014-03-11 23:56:23 -07:00
vm_compile.c Precompiler now reads the given source file into a buffer, rather than reading char by char during parsing. This allows for more flexibility in looking forwards and backwards during expression parsing at the expense of memory. Depending on the parsing methods chosen, this may be changed back to single forward reads directly from the file. 2014-05-27 21:45:25 -07:00
vm_compile.h Precompiler now reads the given source file into a buffer, rather than reading char by char during parsing. This allows for more flexibility in looking forwards and backwards during expression parsing at the expense of memory. Depending on the parsing methods chosen, this may be changed back to single forward reads directly from the file. 2014-05-27 21:45:25 -07:00
vm_compile.txt More added to the precompiler. To be done is function parameter word parsing into vm_pc_Variable Tables as well as the bulk of source to operation precompilation. 2014-04-25 12:53:31 -07:00
vm_memory.c Added vm_memory.c in test/ - basically just a test bed for vm memory. 2014-03-06 13:05:02 -08:00
xibalba.tsd added getTileDataById to data.h, as it was causing segfaults on gcc 4.2.1, mac os 10.6.8/x86 without it. Also fixed pack_data.c, as it was attempting to load the tile data directory before checking argc if an arg was passed. Also added equipment to ibexian shocktrooper and barbarian in xibalba/players for additional testing. 2013-12-24 06:01:43 -08:00