4759 Commits

Author SHA1 Message Date
andy5995
bf5a04be18 add hotkey value for "move"
This is needed now that
2c4fc340de
has been implemented
2018-01-28 03:36:51 -06:00
Jammyjamjamman
a8fe68c7a9 Fixed the typo I created in a comment. 2018-01-27 21:52:12 +00:00
Jammyjamjamman
2e1b197c23 Unit produce/ upgrade progress is now reset when completed or cancelled instead of when it starts (which fixes issue #30). 2018-01-27 21:08:08 +00:00
Jammyjamjamman
0b3b562b35
Update unit.cpp
Added a missing bracket in a comment.
2018-01-27 20:11:08 +00:00
Jammyjamjamman
2c4fc340de Change the default command for attacking units to attack. 2018-01-27 13:42:18 -06:00
andy5995
d69afe16bc
menu_state_custom_game:correct spelling
* correct to updateControllers
2018-01-26 00:59:31 -06:00
andy5995
ec5346a2cd
html template:change title in head [skip ci] 2018-01-25 16:25:52 -06:00
andy5995
1327f06fa7
html template:add link to Discord [skip ci] 2018-01-25 16:15:52 -06:00
andy5995
af5a9beef6 tools:update files that generate html unit docs
This was needed for ZetaGlest/zetaglest.github.io#1
2018-01-25 16:03:07 -06:00
andy5995
d52c3e1693
menu_state_connected/custom.cpp: add space between >>
Same problems as 71c9e59b6a9958a87a2b565d5a0424ba8eaba1ca
2018-01-25 14:30:00 -06:00
andy5995
71c9e59b6a
main.cpp:add space between >>
Attempt to fix failing build

https://travis-ci.org/ZetaGlest/zetaglest-source/jobs/333402071#L1426

Build passes on my system, but travis doesn't like it.
2018-01-25 13:40:41 -06:00
andy5995
d8dafe5015
a.cpp:remove stray char 2018-01-25 12:41:38 -06:00
Jammyjamjamman
04cddae679 Added comments describing how the AI works. 2018-01-25 11:59:27 +00:00
andy5995
643aff1aa3
glest_game/menu:reformat/restyle source code
* used 'indent -nut -i2 -bli0 -ppi 3 *`
2018-01-25 02:21:52 -06:00
andy5995
0f469061ec
glest_game/main:reformat/restyle source code [skip ci]
* used 'indent -nut -i2 -bli0 -ppi 3 *`
2018-01-25 02:21:15 -06:00
Jammyjamjamman
464860aa02 Made changes to the AI; hopefully upgrades! 2018-01-24 12:48:39 -06:00
andy5995
31d91e8544
observers don't use a slot on maps [wip #13]
* This reverts part of 42541caab7d457d0c73f63ec6dc1e8816ceff704
* This fixes the bug from 42541caab7d457d0c73f63ec6dc1e8816ceff704
where if there 4 slots being used on a 4 player map, the game will crash
if an observer is in the 5th slot.
* The menu needs to be altered to accomodate the extra lines of text.
* There needs to be checks put in place so people in the extra slots can
only choose "observer" mode. If they choose a different faction, the
game will crash.
2018-01-24 02:40:44 -06:00
Andy Alt
42541caab7
[wip] change how observer mode works (#13) (#14)
The positioning of the labels and text will need changing. I'm going to
ask @jammyjamjamman if he'll fix it up all nice and pretty.

* [wip] change how observer mode works (#13)

* [wip] opens 10 slots on any map [observer mode]

* [wip]set start location for observers [skip ci]

* [wip] new observer mode works with no crashing

I need to clean up the code more though. I only did the bare minimum to
change the way observer mode works.
2018-01-23 21:00:32 -06:00
andy5995
ce3f792f94 change version to 0.8.01 (#3) 2018-01-23 13:13:15 -06:00
andy5995
147264d089 program.cpp:change if to #if
changed some if statements to use a preprocessor directive.
2018-01-23 00:30:22 -06:00
Jammyjamjamman
95c3ebbd10 modified AI code so that AI performs updates faster. 2018-01-23 02:32:39 +00:00
andy5995
185b56b8ea
menu_state_custom_game.cpp:enable ability to join a running game
If there are network slots open when the game starts, players can join a
running game.

From the game setup menu, select "advanced options" -> in-game join

Not sure how stable it is though.
2018-01-21 01:27:25 -06:00
andy5995
e928dbacb4
cleanup after removing submodules [skip ci] 2018-01-17 20:43:32 -06:00
andy5995
e6e7c620a3
menu_state_new_game.cpp: remove code that blocks players
(closes #6)

This means "InternetGamesGamesAllowed" will not be used. Anyone can
enter the lobby even if they can't beat a 1.0 cpu.
2018-01-15 11:54:50 -06:00
andy5995
45bccef4a9
change build target to "zetaglest"
* add dependency info to README
* rename script
* renamed windoze to windows

At some point, it will be better to split off the installation
instructions from the README.
2018-01-14 11:17:14 -06:00
andy5995
cc3d7c6f5d
make sure ZG users enter the correct IRC channel 2018-01-13 23:13:20 -06:00
titiger
12998eb10f bugfix for "save as". see #177 2017-12-18 01:43:29 +01:00
titiger
bc01b2922c prevents a crash when map group is empty. 2017-12-06 01:38:52 +01:00
SoftCoder
9350a9df85 - check for both default and x64 windows binary from steam shim 2017-10-10 01:50:28 -07:00
SoftCoder
b3d2c55fad - more automation for building steam shim on windows 2017-10-10 01:03:55 -07:00
SoftCoder
ab3b70f36a - fix windows build and better automation for building steam shim 2017-10-09 23:53:43 -07:00
SoftCoder
ffe6e5462d - more cppcheck cleanup 2017-10-09 23:22:55 -07:00
SoftCoder
588ec21d8a - more cppcheck cleanup, AND some new inernal steam commandline parameters to reset stats and enable debugging 2017-10-09 23:09:52 -07:00
SoftCoder
865a665bf0 - round 2 of cppcheck code cleanup 2017-10-09 20:21:14 -07:00
SoftCoder
26581a77d2 - first round of cleanup from cppcheck report 2017-10-09 19:09:36 -07:00
SoftCoder
2988521701 - added another steam achievement for winning first online game 2017-10-08 23:05:29 -07:00
SoftCoder
d78f28983b - some coverity based cleanups 2017-10-08 20:31:42 -07:00
SoftCoder
9de36c32a3 - cleanup achievement code for easier expansion later 2017-10-07 16:45:31 -07:00
SoftCoder
ff4eb7e61e Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2017-10-07 14:54:26 -07:00
SoftCoder
f744d90538 - added first steam achievement support (winning your first game) as a reference 2017-10-07 14:53:51 -07:00
Tom Reynolds
92066b541b minor changes for megaglest_shim build #2
* actually mute warnings on non-existing files during first build.sh run now
2017-10-07 22:51:19 +02:00
Tom Reynolds
c9da4eb062 minor changes for megaglest_shim build
* mute warnings on non-existing files during first build.sh run
* git ignore megaglest_shim binary
2017-10-07 21:48:52 +02:00
SoftCoder
60be01988a - try to help steamshim compile better on other systems 2017-10-07 12:36:13 -07:00
SoftCoder
9b0a04f126 - try slightly different way to protect mutex list 2017-10-07 11:48:34 -07:00
SoftCoder
9274f2b5e2 - try to fix a memory leak 2017-10-07 11:14:26 -07:00
SoftCoder
a413fb5c31 - attempt to protect cache manager mutex creation behind a static mutex 2017-10-07 11:04:52 -07:00
SoftCoder
b928bbbb40 - attempt to see if this corrects tomreyns compile error: ==6454==ERROR: AddressSanitizer: heap-use-after-free 2017-10-07 10:42:21 -07:00
SoftCoder
59be04ab6a - attempt to correct tomreyns cmake linker issue 2017-10-07 08:59:27 -07:00
SoftCoder
eaad769182 - some code cleanup fro mthe steam integration 2017-10-07 03:01:21 -07:00
SoftCoder
b34003b4a5 - enable using steam statistics to save players network based game end game stats to steam 2017-10-07 02:40:34 -07:00