Commit graph

15 commits

Author SHA1 Message Date
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
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
270036c925 Add stubs for game 2014-12-16 13:12:59 +00:00
Marc Di Luzio
2abd4ad832 Move the board code out to ui as it's only for board visualisation 2014-12-16 13:12:58 +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
Marc Di Luzio
8ade68101b No need templates, templates bad, unneeded templates make c++god angry 2014-12-16 13:12:56 +00:00
Marc Di Luzio
9fc5f33de8 Add more code to units to help distinguish between types and visual values 2014-12-16 13:12:55 +00:00
Marc Di Luzio
ea426c70c6 Rename unit_t to unit_c to reflect it being a char 2014-12-16 13:12:54 +00:00
Marc Di Luzio
64f9638352 Implement some more base types, including basic units. This should be much closer to final interface 2014-12-16 13:12:54 +00:00