Commit graph

16 commits

Author SHA1 Message Date
Marc Di Luzio
4c439a383e More cleanup and remove of unneeded functions 2014-12-16 13:13:02 +00:00
Marc Di Luzio
50ed84c1bd Comment all the tests 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
9b00030039 More tests 2014-12-16 13:13:01 +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
e310acfaf8 More skeleton code for simulating a turn
Use enum classes for safe enums
2014-12-16 13:13:01 +00:00
Marc Di Luzio
b43248e89f Clarify test failure 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
5e950528c1 Even more tests 2014-12-16 13:13:00 +00:00
Marc Di Luzio
72b35dbc06 Framework for movement and action orders, plus some better organisation of the test code 2014-12-16 13:13:00 +00:00
Marc Di Luzio
6a17e4e4c1 Add tests for COrders 2014-12-16 13:12:57 +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
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
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
Marc Di Luzio
743c9a2859 Rename CBoardData, refactor a few things and add a maths library folder 2014-12-16 13:12:53 +00:00
Marc Di Luzio
3c74a2a609 Add testing excecutable 2014-12-16 13:12:51 +00:00