Commit graph

12 commits

Author SHA1 Message Date
Marc Di Luzio
8a486fdd40 Use snprintf and sscanf instead of std::string tomfoolery
Rename order_c to command_c for better readability
2014-12-16 13:13:02 +00:00
Marc Di Luzio
b77411121a Implement conversion of Unit to String and back 2014-12-16 13:13:02 +00:00
Marc Di Luzio
7a75fbd369 Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
Marc Di Luzio
4c439a383e More cleanup and remove of unneeded functions 2014-12-16 13:13:02 +00:00
Marc Di Luzio
99cd93ae22 Turn on all warnings, except reorder, and fix remaining warnings 2014-12-16 13:13:02 +00:00
Marc Di Luzio
7e2fd0a8d1 Fix a few more bugs and implement more tests
Bug in infinite recursion on move assignment operator.
Bug in adding the wron units ID to the kill list.
2014-12-16 13:13:02 +00:00
Marc Di Luzio
aee703b107 Finialise the full game step
Had to rework a ton of code from bad design.
NOTE: FRIENDLY FIRE IS ON >:D
2014-12-16 13:13:01 +00:00
Marc Di Luzio
2f17a17587 fix using move semantics for no reason 2014-12-16 13:13:01 +00:00
Marc Di Luzio
0c7721cb17 remove unit inheritence, twas a silly idea, and remove usage of shared ptr and unique ptr not needed anymore 2014-12-16 13:13:01 +00:00
Marc Di Luzio
008739dee6 Various work towards a basic game implementation
Get rid of some virtual functions that weren't needed.
Fix some functions to work during static init if need be.
Units now have unique incremental IDs
2014-12-16 13:13:00 +00:00
Marc Di Luzio
a17a9db2ad lots of initial design for the game, and unit data 2014-12-16 13:12:58 +00:00
Marc Di Luzio
7f639a6bf4 Add new creation method from a visual representation 2014-12-16 13:12:56 +00:00