Marc Di Luzio
|
572bc39ecf
|
Add basic 5v5 game file
|
2014-12-16 13:13:03 +00:00 |
|
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
|
24ac058475
|
Update the game readme
|
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
|
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
|
43a2c58c56
|
Ignore IDEA files as well
|
2014-12-16 13:13:02 +00:00 |
|
Marc Di Luzio
|
7a88b5eb83
|
Remove straggling sublime project
|
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
|
005896b13c
|
Add comments and clean up game.cpp
|
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
|
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
|
6fc41914f7
|
ignore user files
|
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
|
b43248e89f
|
Clarify test failure
|
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
|
0700a13129
|
use uvec unstead of two params, simplifies things
|
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
|
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
|
a6e1319fad
|
Add invalid coord variables
|
2014-12-16 13:13:00 +00:00 |
|
Marc Di Luzio
|
da1cb32583
|
Update README.md with info on ttrts-server
|
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
|
e9308b839c
|
Rename basetypes to mathtypes
|
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
|
6a17e4e4c1
|
Add tests for COrders
|
2014-12-16 13:12:57 +00:00 |
|
Marc Di Luzio
|
0e6c85229c
|
Add orders files and COrder class to store orders
|
2014-12-16 13:12:57 +00:00 |
|
Marc Di Luzio
|
0057986380
|
header game types
|
2014-12-16 13:12:57 +00:00 |
|
Marc Di Luzio
|
66cf63c9d8
|
Actually build with debug symbols in debug configuration
|
2014-12-16 13:12:56 +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
|
5ca0fc3e23
|
Board should be using unit vis values not unit type values
|
2014-12-16 13:12:55 +00:00 |
|
Marc Di Luzio
|
c5ef2a5ee2
|
Use char literal instead of int for a space
|
2014-12-16 13:12:55 +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 |
|
Marc Di Luzio
|
51cdda821d
|
Update the README.md
|
2014-12-16 13:12:53 +00:00 |
|
Marc Di Luzio
|
5f7dbb34d9
|
Update Readme with info from discussion
|
2014-12-16 13:12:53 +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 |
|