5139 Commits

Author SHA1 Message Date
mathusummut
d2216b8143 Fixed warning of potential infinite recursion 2018-06-11 00:08:03 +02:00
mathusummut
73d28db062 Fixed build issues with clang 2018-06-10 23:48:39 +02:00
mathusummut
46dd197910 Fixed bug in right-click code 2018-06-10 23:26:10 +02:00
mathusummut
b40fc2a011 Double right-clicking now sends a move command instead of attack 2018-06-10 22:28:47 +02:00
mathusummut
1d2543fb6a Right click no longer attacks your teammates and yourself 2018-06-10 17:16:04 +02:00
mathusummut
28636b07b9 Added getFactionName and translate LUA functions 2018-06-10 16:06:12 +02:00
mathusummut
1d91e05c9a Increased control sizes during gameplay 2018-06-10 12:38:22 +02:00
mathusummut
877d888d23 Removed question marks when translation is not found 2018-06-10 11:59:16 +02:00
mathusummut
fbe63bbacf Removed max selection count 2018-06-10 11:41:20 +02:00
andy5995
957827ea21 ircclient:change spelling
Most of these changes don't do anything, but near L820 in ircclient.cpp,
there was an extra "g"

Also changed the header
2018-06-04 16:28:14 -05:00
mathusummut
a3dff1423d Fixed travis issue+added git pull to setup.bat 2018-05-14 21:38:59 +02:00
mathusummut
1ea031b08e Added isBuilding and setUnitProperty functions to LUA 2018-05-14 01:38:48 +02:00
MathuSum Mut
626e7e1c99 Merge branch 'develop' into issue_70 2018-05-13 15:39:23 +02:00
mathusummut
56013bee49 Reached mid-way AI compromise 2018-05-10 03:04:30 +02:00
mathusummut
91d8fea807 Re-strengthened AI 2018-05-10 02:38:06 +02:00
andy5995
60e38945fe CMake:correct spelling of "zetaglest"
This also removes the git revision number stamping from cmake, support
for which was removed from the source code months ago.

This is to help prepare to fix #110 but doesn't fix it.
2018-05-09 09:09:36 -05:00
mathusummut
9d3678cee9 Replaced emplace_back with push_back 2018-05-07 22:51:46 +02:00
mathusummut
d1acd87423 Now Lua can be used in scripts tag in faction tag in XML 2018-05-06 12:45:25 +02:00
mathusummut
35b7b1f1a6 Fixed the god-awful indentation 2018-05-06 00:01:36 +02:00
andy5995
e018b26056 ai:revert AI enhancement
@Jammyjamjamman suspects the AI patch from commit
464860aa02 (diff-d96c21449fc203a306589b5bd1f8aaa1)
may be causing extra lag when playing mp with Windows clients.

This patch reverts most of that commit. Max expansions I set to 5, the
MG setting was 2.

If this fixes the lag, then we can consider looking at making these
changes again, but one at a time, making sure lag isn't a result before
making more changes.

Anyone can review this to learn some of the code, but I'd like to hear
feedback from Jammy before finally merging.
2018-05-04 18:36:21 -05:00
andy5995
cb1c78887b connected_game.cpp:comment line disabling controls
Commenting out this line has fixed the problem but I don't know if
there'll be any side effects yet.
2018-05-04 10:09:16 -05:00
mathusummut
7ace98f8e1 Renamed CPU-Mega to CPU-Zeta 2018-04-29 15:37:44 +02:00
mathusummut
724be4ead5 Changed Map Editor from MG to ZG and improved build on Windows 2018-04-29 02:18:05 +02:00
Jammyjamjamman
63eaa42e6f Attempt to fix OOS bug in windows-linux games. 2018-04-08 13:01:09 +01:00
David CARLIER
6564320214 Clang gets confused when the derived has same methods (#104)
with different signatures than base's virtual.
But since the derived do not reimplement them, the base
do not need to be virtual.
2018-04-04 20:54:13 +01:00
David Carlier
e92cefd664 Backporting a pending MegaGlest PR.
In some platforms, time types are already 64 bits.
2018-04-02 16:59:21 +01:00
mathusummut
835c6efd92 Fixed X-button getting stuck on Windows 2018-03-31 17:38:33 +02:00
Jammyjamjamman
aa46b2a8a1 Fixed bug caused by 045b0b88e0, where user could not click on nick button to get real nick to ping. 2018-03-30 05:47:10 +01:00
Jammyjamjamman
01454a32e5 Resources can now be deposited at flying units, by land or air units. This fixes issue #100 . 2018-03-30 02:42:45 +01:00
MathuSum Mut
50de66d6da Merge pull request #97 from alketii/develop
Make sure that the _nnn suffix is always 3 digits
2018-03-21 19:06:16 +01:00
Alket Rexhepi
24c3c86512 Make sure that the _nnn suffix is always 3 digits
Make sure that the _nnn suffix is always 3 digits
2018-03-21 19:02:11 +01:00
mathusummut
7c81a9a310 Renamed window from MG to ZetaGlest 2018-03-21 12:43:23 +01:00
Alket Rexhepi
045b0b88e0 Remove MG_ and _NNN from Players List
Remove MG_ and _NNN from Players List but not inside chat, that is for another day.
2018-03-21 00:50:20 +01:00
mathusummut
108fb26f36 Fixed curl issue on Windows 2018-03-15 16:16:03 +01:00
mathusummut
105d5fbb80 Fixed Windows build issue 2018-03-14 16:01:57 +01:00
andy5995
67b6c3f9f4 allow hosts of custom games to use slots > hardMaxPlayers
This allows the host of a custom game to switch himself to a slot >
mapInfo.hardMaxPlayers for the purpose of being an observer. The 10th
slot is enabled and editable (listBoxControls).

The 8 lines removed from menu_state_custom_game.cpp was some code I
tried last month and forgot to remove.
2018-03-08 01:03:54 -06:00
andy5995
a31c86e987 menu_state_custom_game_update.cpp:fixes #89 2018-03-08 00:02:43 -06:00
andy5995
c29485803d menu_state_custom_game.cpp:split off functions to another file 2018-03-05 14:57:48 -06:00
MathuSum Mut
ca283f781d Changed icon name to zetaglest.ico (#88)
* Changed icon name to zetaglest.ico
2018-03-04 21:20:26 -06:00
Jammyjamjamman
d999bc87da Merge branch 'develop' of https://github.com/ZetaGlest/zetaglest-source into develop 2018-03-04 19:37:39 +00:00
andy5995
bca7d9e9ad menu_state_custom_game:add condition
Fixes disallowing switching cpu to another faction
2018-03-04 13:36:54 -06:00
Jammyjamjamman
cf3a2242a6 Removed unnecessary template usage. 2018-03-04 19:36:45 +00:00
andy5995
6dbb62cafa menu_state_custom_game.cpp:when slots open, switch to British
With enhanced observer mode, When a map is changed from 8 players to 4,
this switches factions 5-8 from Observer to British (used faction "0"
for the default, which translates to British in this situation) and
allows teams to be changed.
2018-03-04 12:27:05 -06:00
andy5995
e135baba85 server_interface:lag:allow a greater grace period before dropping player 2018-03-02 15:29:07 -06:00
Andy Alt
73aa999de7 add new function for playing sfx (#68)
(#63)
2018-02-22 10:02:04 -06:00
Jammyjamjamman
996ba5e27d Added more meaningful comment to the command progress resetter. [skip ci] 2018-02-21 20:19:22 +00:00
andy5995
92176afd77 menu_connected.cpp:use new function to play sfx
https://github.com/ZetaGlest/zetaglest-data/issues/44

(#63)
2018-02-21 09:12:06 -06:00
andy5995
c0006da18a core_data.cpp: add function to play sounds
This function can be used to pass different arguments to it, so the
other play sfx functions (below it) can be removed.

(#63)
2018-02-21 09:10:26 -06:00
andy5995
1f1233e0db menu_masterserver.cpp:add function to play different sound
This adds a function to play a different sound when a server becomes
available.

The sound hasn't changed, but now the separate function has been added,
the sound can be changed very easily.

The ticket to create the new sound is at
https://github.com/ZetaGlest/zetaglest-data/issues/44

Can be customized by adding the variable to
$HOME/.zetaglest/glestuser.ini

closes #63
2018-02-21 08:38:19 -06:00
Jammyjamjamman
dbe6697f16 Unit task no longer resets when a different task in a queue is cancelled, fixes bug #67. 2018-02-21 02:17:48 +00:00