Marc Di Luzio
|
d0d3834449
|
Move source code into source subfolder
|
2014-12-16 13:13:02 +00:00 |
|
Marc Di Luzio
|
870f459f75
|
New ttrts-gen target to generate game files
|
2014-12-16 13:13:02 +00:00 |
|
Marc Di Luzio
|
a75e6e290d
|
Finalise implementation of reading in a game from a string
|
2014-12-16 13:13:02 +00:00 |
|
Marc Di Luzio
|
002c1e5927
|
Add new game string outputer and use it.
modify some of the other outputters to look better
|
2014-12-16 13:13:02 +00:00 |
|
Marc Di Luzio
|
714fd2894d
|
Rename orders -> order
|
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
|
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
|
3c4a90d068
|
Simplify some things, zomg c++11 for loops are beautiful
|
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
|
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
|
0700a13129
|
use uvec unstead of two params, simplifies things
|
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
|
108be3035f
|
Final bit of design doe the game class, should be enough of a final interface to get started on implementation
|
2014-12-16 13:12:58 +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
|
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
|
8ddb8ae916
|
Some initial game board code, really simple
|
2014-12-16 13:12:50 +00:00 |
|