mdiluzio
2281bcb6cd
More refactoring of functionality into seperate files, with stubs for server and client
2015-01-02 15:03:29 +00:00
mdiluzio
8835bfb82a
On second thoughts move filesystem game code out to a filesystem cpp
2015-01-02 14:09:29 +00:00
mdiluzio
0962546a82
Move current client code out to server file, still uses old file-system method
2015-01-02 14:04:37 +00:00
mdiluzio
3b5599ffad
Remove references to non-existent maths
2015-01-02 14:04:11 +00:00
mdiluzio
ca5526b2b7
Add base files for net code
2015-01-02 13:55:23 +00:00
mdiluzio
05c8318099
Update to v0.3.2
2014-12-31 18:43:30 +00:00
mdiluzio
082810de4a
Merge branch 'dev' of https://github.com/mdiluz/ttrts into dev
2014-12-31 18:40:05 +00:00
mdiluzio
189241853b
Update the map generation
...
New maps! 3 player!
Update names, as it wasn't 2v2 so much as 1v1 with 2 units each
2014-12-31 18:39:58 +00:00
mdiluzio
faa7cdc501
Fix bug when loading games with walls
...
Game would fail to load as it was cutting off the first [
2014-12-31 18:39:11 +00:00
3f892ec2aa
Move maps to /usr/local and allow these settings to get defaults from the cmakelists
2014-12-31 14:08:51 +00:00
3f76b6430b
Fix usage of sed and man page on OSX
2014-12-31 13:50:15 +00:00
mdiluzio
9c68372f64
Update to patch 0.3.1
2014-12-30 19:26:14 +00:00
mdiluzio
66f5226797
Correct spelling mistake in README and add sudo to install
2014-12-30 19:25:11 +00:00
mdiluzio
cb46c84de5
Actually use real version number in the man page
2014-12-30 19:23:03 +00:00
mdiluzio
ad803a5d7a
Rework bootstrap to use new install targets
2014-12-30 18:53:15 +00:00
mdiluzio
2273c93f11
Update with more install targets.
...
Installing headers and library to /usr/local/
Requires workaround for version information header generation
Install a man page
Install some basic bash completion for maps
Also update the readme to fit with the manpage and new autocompletion features
Fixes the oddity where generated map files were missing the initial line of the header
2014-12-30 18:37:46 +00:00
mdiluzio
53e882ae12
Allow env variables to set game and map locations
...
the client will also now look in /usr/local for maps
2014-12-30 18:36:01 +00:00
mdiluzio
31644b1f95
Fix a couple of bugs in gen_usage.sh
2014-12-30 18:33:59 +00:00
mdiluzio
f1e4f432e6
Move top level cmakelist up to main directory
2014-12-30 18:32:17 +00:00
Marc Di Luzio
2c0a393f77
Update readme to reflect new libraries
2014-12-30 13:24:21 +00:00
Marc Di Luzio
71aab498dc
extract format functions out into formatters files
2014-12-30 13:24:21 +00:00
Marc Di Luzio
3342300324
Remove math library and merge gametypes and mathtypes
2014-12-30 13:24:20 +00:00
Marc Di Luzio
d9b9f3d7dd
Re-organise source directory and targets
...
ttrts -> client
game -> ttrts
2014-12-30 13:24:19 +00:00
Marc Di Luzio
415361ac9c
Update CMakelists
...
Additional install targets for maps, and reworked dependencies
2014-12-30 13:24:17 +00:00
mdiluzio
481153606b
Remove version numbers from unneeded places
2014-12-29 22:44:47 +00:00
Marc Di Luzio
97ef46db16
Update README with fixes to links
2014-12-29 22:35:40 +00:00
mdiluzio
a80c415932
Remove french line
2014-12-29 22:31:35 +00:00
mdiluzio
485a05293c
Rename invalid positions to walls
2014-12-29 22:30:11 +00:00
mdiluzio
128dc14bb6
Move ttrts perl module into api/perl dubdirectory
2014-12-29 22:07:59 +00:00
mdiluzio
c0d5044f81
Merge branch 'master' of ../ttrts-players2/ into dev
2014-12-29 22:06:41 +00:00
mdiluzio
b50c838f28
Large refactor and addition of new features in line with 0.3.0
2014-12-29 21:59:59 +00:00
mdiluzio
286cc81f3c
Update README files with new changes.
...
Also add changelog to top level readme
2014-12-29 21:57:52 +00:00
mdiluzio
fc62785768
update to v0.3.0 to account for new format and features
...
In this case, new WALLs to take into account for the game
2014-12-29 21:57:14 +00:00
mdiluzio
d172922698
Implement invalid unit positions
2014-12-29 21:55:32 +00:00
mdiluzio
c98ac95759
Output usage with cout not cerr
2014-12-29 21:54:34 +00:00
mdiluzio
5737ae31be
Some small cleanup and refactoring.
...
Update name of a few functions to best suit their usage.
Split up checking for winning player and checking for game over state.
2014-12-29 21:52:25 +00:00
mdiluzio
d54ccf3d2f
Merge branch 'master' into refactor
2014-12-22 20:12:54 +00:00
mdiluzio
78bc326b8d
Update to minor version 2
...
The file format and name has changed in the following ways:
All team references are now player, so tm: -> pl.
Order file format is now Player_#_Turn_#.txt.
2014-12-22 20:05:49 +00:00
mdiluzio
f9ee646c93
Update to be compatible with 0.2
2014-12-22 20:05:30 +00:00
mdiluzio
ac9ed13be8
Update using player instead of team and matching new file formats
2014-12-22 20:03:31 +00:00
mdiluzio
5d07bb03f3
Correct using player for turn and turn for player
2014-12-22 20:03:18 +00:00
mdiluzio
024253bb84
Fix usage text to reflect new formatters
2014-12-22 19:55:23 +00:00
mdiluzio
e90ddee67e
Final fixes to indentation.
...
fixes #13
2014-12-21 11:19:37 +00:00
mdiluzio
263f6187d3
dir_t -> dir_c
2014-12-21 11:14:20 +00:00
mdiluzio
83020d9120
Player -> player_t
2014-12-21 11:14:01 +00:00
mdiluzio
9e44d5144b
Rename all usages of Team to Player
...
This was confusingly inconsistent in the codebase.
fixes #7
2014-12-21 11:04:26 +00:00
mdiluzio
d4f9470704
Correct some usages of COrder
2014-12-21 10:47:58 +00:00
mdiluzio
4aa51a64b6
Correct case for unitvis
2014-12-21 10:45:08 +00:00
mdiluzio
f55bc5413a
Correct case for all CUnit methods
2014-12-21 10:44:08 +00:00
mdiluzio
c38fb3dd41
Realign unit.h
2014-12-21 10:41:06 +00:00