Commit graph

  • c38fb3dd41 Realign unit.h mdiluzio 2014-12-21 10:41:06 +00:00
  • f63dc8462f COrder -> SOrder mdiluzio 2014-12-21 10:39:39 +00:00
  • 755fe01bf5 re-align CTRTSGame class mdiluzio 2014-12-21 10:37:35 +00:00
  • ca1705ad4a Pull SOrderUnitPair out of game header mdiluzio 2014-12-21 10:33:19 +00:00
  • 9551560bc0 OrderUnitPair -> SOrderUnitPair mdiluzio 2014-12-21 10:31:00 +00:00
  • e4b82557d3 Create gh-pages branch via GitHub Marc Di Luzio 2014-12-20 21:46:19 +00:00
  • 24c8b6a5b8 Fix a some bad grammar Marc Di Luzio 2014-12-20 21:45:44 +00:00
  • a50fcafe78 Create gh-pages branch via GitHub Marc Di Luzio 2014-12-20 21:20:28 +00:00
  • 5931643ab8 Create gh-pages branch via GitHub Marc Di Luzio 2014-12-20 19:32:06 +00:00
  • 321690faaa Add link to issue #9 to readme Marc Di Luzio 2014-12-20 17:47:10 +00:00
  • f68d16b8b9 Add link to my ttrts-players repository to README Marc Di Luzio 2014-12-20 17:37:49 +00:00
  • 19623c6711 Update version to match with compatible ttrts version mdiluzio 2014-12-20 17:33:36 +00:00
  • d71983dcb1 Update to version 0.1.0 v0.1.0 mdiluzio 2014-12-20 17:31:13 +00:00
  • b0af969b29 Update to 0.0.1 version system for main ttrts client and check versions mdiluzio 2014-12-20 17:17:04 +00:00
  • 4f595ff92e Fix #8 by defining the version properly and adding a proper line end mdiluzio 2014-12-20 17:27:25 +00:00
  • 98deae237b Update the README.md files with newer and more useful information mdiluzio 2014-12-20 16:50:57 +00:00
  • f6f6d6fafd Add an END specifiers to gamestate and order files mdiluzio 2014-12-20 16:24:07 +00:00
  • fec9c8dad7 Add MAJOR.MINOR.PATCH versioning to the binary. v0.0.1 mdiluzio 2014-12-20 16:14:35 +00:00
  • ec7ed601a3 Players moved to external repository mdiluzio 2014-12-20 15:56:08 +00:00
  • 469e3ffa8a Add a Random player, simply does random commands on each turn mdiluzio 2014-12-20 15:35:19 +00:00
  • 4edca83659 Add a Random player, simply does random commands on each turn mdiluzio 2014-12-20 15:35:19 +00:00
  • b37fe327f2 Re-do generation now that attack rule has changed mdiluzio 2014-12-20 15:35:19 +00:00
  • 29048fcdd3 Reorder team colours to match with bash colour codes mdiluzio 2014-12-20 15:35:18 +00:00
  • fa7aa15ccd Fix some bugs mdiluzio 2014-12-20 15:35:18 +00:00
  • f4109e7b36 Adjust some output mdiluzio 2014-12-20 15:35:17 +00:00
  • 71d0084908 Use a pre-build script to generate usage.h from the README.md mdiluzio 2014-12-20 15:35:16 +00:00
  • a7bc45497a Update README.md Marc Di Luzio 2014-12-18 14:03:01 +00:00
  • 30cbdff1f5 Update CMakeLists.txt Marc Di Luzio 2014-12-18 14:02:12 +00:00
  • c1bd6eb368 Update CMakeLists.txt Marc Di Luzio 2014-12-18 14:02:05 +00:00
  • fed4c4a054 Update test.cpp Marc Di Luzio 2014-12-18 14:01:54 +00:00
  • 37f95607b0 Update CMakeLists.txt Marc Di Luzio 2014-12-18 14:01:03 +00:00
  • e08b8190bb Update README.md Marc Di Luzio 2014-12-18 13:59:19 +00:00
  • 5a56a400c5 Even more cleanup and removal of legacy code Marc Di Luzio 2014-12-18 13:58:21 +00:00
  • 157e6285eb Move USAGE.txt out to the ttrts target and convert to header appropriately Marc Di Luzio 2014-12-18 13:40:54 +00:00
  • 67420151ae Create gh-pages branch via GitHub Marc Di Luzio 2014-12-18 08:30:10 +00:00
  • 3fc1f5ee5d Change unit Attack behaviour to a charge Marc Di Luzio 2014-12-17 13:38:06 +00:00
  • 4b37246e53 Some more code for parsing units mdiluzio 2014-12-17 08:49:27 +00:00
  • 489ca88218 Some addded functionality to simplePlayer mdiluzio 2014-12-17 08:36:49 +00:00
  • e8610c8131 Remove player source directory in favor of new higher level players directory with a simple (and not-fully-functioning) perl AI mdiluzio 2014-12-17 07:51:49 +00:00
  • 6c1647b1be Make the build folder if needed mdiluzio 2014-12-16 22:35:58 +00:00
  • 526451ad02 Update with more pre-generated levels mdiluzio 2014-12-16 22:35:56 +00:00
  • dbfd932a64 Update usage and gitignore to not exlude code folders Marc Di Luzio 2014-12-16 13:33:11 +00:00
  • 24e17450aa Change the games folder to maps and add it to the gitignore, updating the USAGE text to reflect this Marc Di Luzio 2014-12-16 13:13:04 +00:00
  • 7cf33ba458 Remove the prebuilt games directory, these should be generated with bootstrap.sh Marc Di Luzio 2014-12-16 13:13:03 +00:00
  • 2a410d98c0 Set up a basic ttrts binary Marc Di Luzio 2014-12-16 13:13:03 +00:00
  • a90ad9f90c Remove player IDs, keep it simple stupid Marc Di Luzio 2014-12-16 13:13:03 +00:00
  • e001396744 Add bootstrap script to generate build files, binaries, run tests and generate maps Marc Di Luzio 2014-12-16 13:13:03 +00:00
  • 572bc39ecf Add basic 5v5 game file Marc Di Luzio 2014-12-16 13:13:03 +00:00
  • d0d3834449 Move source code into source subfolder Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 870f459f75 New ttrts-gen target to generate game files Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • a75e6e290d Finalise implementation of reading in a game from a string Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 002c1e5927 Add new game string outputer and use it. Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 24ac058475 Update the game readme Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 714fd2894d Rename orders -> order Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 8a486fdd40 Use snprintf and sscanf instead of std::string tomfoolery Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • b77411121a Implement conversion of Unit to String and back Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 7a75fbd369 Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 43a2c58c56 Ignore IDEA files as well Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 7a88b5eb83 Remove straggling sublime project Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 4c439a383e More cleanup and remove of unneeded functions Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 005896b13c Add comments and clean up game.cpp Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 99cd93ae22 Turn on all warnings, except reorder, and fix remaining warnings Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 50ed84c1bd Comment all the tests Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 7e2fd0a8d1 Fix a few more bugs and implement more tests Marc Di Luzio 2014-12-16 13:13:02 +00:00
  • 9b00030039 More tests Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • aee703b107 Finialise the full game step Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 6fc41914f7 ignore user files Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 3c4a90d068 Simplify some things, zomg c++11 for loops are beautiful Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • e310acfaf8 More skeleton code for simulating a turn Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • b43248e89f Clarify test failure Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 2f17a17587 fix using move semantics for no reason Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 0c7721cb17 remove unit inheritence, twas a silly idea, and remove usage of shared ptr and unique ptr not needed anymore Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 0700a13129 use uvec unstead of two params, simplifies things Marc Di Luzio 2014-12-16 13:13:01 +00:00
  • 5e950528c1 Even more tests Marc Di Luzio 2014-12-16 13:13:00 +00:00
  • 72b35dbc06 Framework for movement and action orders, plus some better organisation of the test code Marc Di Luzio 2014-12-16 13:13:00 +00:00
  • 008739dee6 Various work towards a basic game implementation Marc Di Luzio 2014-12-16 13:13:00 +00:00
  • a6e1319fad Add invalid coord variables Marc Di Luzio 2014-12-16 13:13:00 +00:00
  • da1cb32583 Update README.md with info on ttrts-server Marc Di Luzio 2014-12-16 13:13:00 +00:00
  • 270036c925 Add stubs for game Marc Di Luzio 2014-12-16 13:12:59 +00:00
  • e9308b839c Rename basetypes to mathtypes Marc Di Luzio 2014-12-16 13:12:59 +00:00
  • 108be3035f Final bit of design doe the game class, should be enough of a final interface to get started on implementation Marc Di Luzio 2014-12-16 13:12:58 +00:00
  • 2abd4ad832 Move the board code out to ui as it's only for board visualisation Marc Di Luzio 2014-12-16 13:12:58 +00:00
  • a17a9db2ad lots of initial design for the game, and unit data Marc Di Luzio 2014-12-16 13:12:58 +00:00
  • 6a17e4e4c1 Add tests for COrders Marc Di Luzio 2014-12-16 13:12:57 +00:00
  • 0e6c85229c Add orders files and COrder class to store orders Marc Di Luzio 2014-12-16 13:12:57 +00:00
  • 0057986380 header game types Marc Di Luzio 2014-12-16 13:12:57 +00:00
  • 66cf63c9d8 Actually build with debug symbols in debug configuration Marc Di Luzio 2014-12-16 13:12:56 +00:00
  • 7f639a6bf4 Add new creation method from a visual representation Marc Di Luzio 2014-12-16 13:12:56 +00:00
  • 8ade68101b No need templates, templates bad, unneeded templates make c++god angry Marc Di Luzio 2014-12-16 13:12:56 +00:00
  • 5ca0fc3e23 Board should be using unit vis values not unit type values Marc Di Luzio 2014-12-16 13:12:55 +00:00
  • c5ef2a5ee2 Use char literal instead of int for a space Marc Di Luzio 2014-12-16 13:12:55 +00:00
  • 9fc5f33de8 Add more code to units to help distinguish between types and visual values Marc Di Luzio 2014-12-16 13:12:55 +00:00
  • ea426c70c6 Rename unit_t to unit_c to reflect it being a char Marc Di Luzio 2014-12-16 13:12:54 +00:00
  • 64f9638352 Implement some more base types, including basic units. This should be much closer to final interface Marc Di Luzio 2014-12-16 13:12:54 +00:00
  • 51cdda821d Update the README.md Marc Di Luzio 2014-12-16 13:12:53 +00:00
  • 5f7dbb34d9 Update Readme with info from discussion Marc Di Luzio 2014-12-16 13:12:53 +00:00
  • 743c9a2859 Rename CBoardData, refactor a few things and add a maths library folder Marc Di Luzio 2014-12-16 13:12:53 +00:00
  • e8429ae4a2 Initial README for the game library with initial game design. Marc Di Luzio 2014-12-16 13:12:52 +00:00
  • 2320b87b8d Add readme and directories for other libraries Marc Di Luzio 2014-12-16 13:12:52 +00:00
  • 9a97fddd2f Add gitignore with build forlder ignored Marc Di Luzio 2014-12-16 13:12:51 +00:00