Commit Graph

4730 Commits

Author SHA1 Message Date
David Carlier f6b6982b01 better openbsd support 2016-12-11 22:09:34 +00:00
titiger 49ba518991 Display boosted/upgraded upgradespeeds/morphspeeds 2016-12-11 21:31:18 +01:00
titiger 2c0704b5a9 bugfix for ( no EP regeneration while being build ) 2016-12-11 20:18:39 +01:00
titiger fb845cb420 no EP regeneration while being build 2016-12-11 19:55:26 +01:00
titiger 2f45ffc59d display "time" value for upgrades/build or produced things 2016-12-11 19:41:08 +01:00
titiger 97d4023d92 unit must be placed in center of faked size square 2016-12-10 21:10:38 +01:00
titiger cd8530f69e new tag <ai-build-size> 2016-12-10 16:01:26 +01:00
filux 7f55d9fc1d added support for 'percent multiplier' in the techtree docummentation tools 2016-12-08 22:30:44 +01:00
titiger 9c203cd2b4 Error messages for XML parse errors without stack
And we validate closing tags too now
2016-12-03 01:23:35 +01:00
titiger a982ce7b0c handle megaglest_runtime_error 2016-12-01 01:42:20 +01:00
titiger 28bcf81626 Error handling 2016-11-30 22:33:41 +01:00
titiger f8d57bece3 Error handling 2016-11-28 02:36:55 +01:00
titiger 1caf70b517 error counter for scenarios errors 2016-11-28 01:45:00 +01:00
titiger 1e506f3e1d tag and line number in tag for scenario error messages 2016-11-27 19:17:56 +01:00
titiger 18af2b7113 Improve error messages for lua scenarios 2016-11-26 15:46:32 +01:00
titiger 32c7208a18 No more game crashing for xml errors 2016-11-23 00:31:54 +01:00
titiger 0c5e9241f1 trying to get better error output on xml errors. 2016-11-22 22:58:57 +01:00
titiger 374634b630 spawn units on death
as requested here https://forum.megaglest.org/index.php?topic=9879.0
2016-11-20 16:19:53 +01:00
filux 661b512a8a since latest release macos is not 'X' anymore 2016-11-18 02:07:44 +01:00
titiger 88de655b28 and revert the last changes .... 2016-11-16 23:47:02 +01:00
titiger 09ae82b36c more braces 2016-11-16 22:56:41 +01:00
titiger 1f2d93a1b5 braces .... 2016-11-16 22:35:28 +01:00
titiger 031a9d87ea Trying to handle the windows key 2016-11-16 22:34:22 +01:00
titiger 1dfe1b8b42 lets see if this helps with issue #139 2016-11-12 18:04:12 +01:00
titiger 7b47f5edb1 When giving default orders we must respect cellmap of target unit
We need to respect cellmaps by searching for a cell which is really occupied.
This fixes an issue that new workers do not start with autorepair. It happens
 typically with round building were top left cell map is empty. Now order is given
to a place which is really occupied by the unit(building) to repair.
2016-11-11 01:34:28 +01:00
titiger d65dc5e9e9 bugfix for missing maps 2016-11-10 01:36:35 +01:00
titiger a182ce82bd more bugfix for #138 2016-11-10 00:47:42 +01:00
titiger cc64196c6b alt+enter #138
Fast toggle on alt+enter and key repeat are different things.
This here should fix the alt+enter issue.
2016-11-09 23:25:59 +01:00
titiger 6c2f722f30 reverting some things related to alt+enter
real reason is false behaviour of static bool isUnprintableChar().
More tests needed.
2016-11-09 00:09:55 +01:00
titiger 4a85b17794 fiddling around with #138 2016-11-06 22:00:51 +01:00
titiger 0c3c636064 Trying to fix the fast fullscreen/windowed toggling 2016-11-06 18:24:11 +01:00
titiger b06f4d9776 map filter listbox only enabled for headless admin 2016-11-02 01:15:52 +01:00
titiger abacbbbca9 fix for filters and non admin clients 2016-11-02 01:00:37 +01:00
SoftCoder 2162ca460a Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-10-31 13:57:11 -07:00
SoftCoder 102ca8f651 - Fixed issue# 135 2016-10-31 13:56:33 -07:00
titiger d420c7e681 forgot to remove a printf 2016-10-30 22:30:51 +01:00
titiger 8dbee3c7c5 Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop
menu_state_custom game had conflicts
2016-10-30 20:19:22 +01:00
titiger c9b92ea97d map filter for headless servers 2016-10-30 20:19:07 +01:00
SoftCoder b180da5e3d - fixed issue #122 2016-10-30 09:21:34 -07:00
SoftCoder 57c53b9175 - add more details in font error message 2016-10-30 08:41:31 -07:00
Monwarez 79e00dfcad Don't init force feedback if not used 2016-10-28 17:33:38 +02:00
SoftCoder 2107958ad2 - add support for gcc6 in build script -g 6
- fix issue #132
2016-10-17 19:05:21 -07:00
titiger 990df3b49b Fix for uniform-selection 2016-10-17 03:00:37 +02:00
titiger 4d99f5900d fix for #133
crash during using "Esc" button in options screen
2016-10-17 00:19:41 +02:00
Bryon Gloden, CISSP® 1cb226283f resource leak: fp
[source/shared_lib/sources/map/map_preview.cpp:830]: (error) Resource leak: f1

Found by https://github.com/bryongloden/cppcheck
2016-10-01 11:41:07 -04:00
filux 82b263e336 added support for os-release 2016-09-30 21:16:19 +02:00
filux f40ac1d89f corrected math logic 2016-09-13 21:08:02 +02:00
titison 74ed3d73be Uniformselection
Added uniform selection of units.
Uniform means you can select multiple units, but only of the same type.
To make a unit uniform-selectable you need to add
```<uniform-selection value="true"/>```
to the ```<parameters>``` tag of a unit.
2016-08-24 00:53:56 +02:00
filux 3639e111ef fixed some typos, fixes and enlargement for required dependencies 2016-08-09 21:25:41 +02:00
filux 9f301daa1c travis' configuration test; fixed #123 2016-07-17 17:06:01 +02:00
SoftCoder daf1dac128 - attempt to fix in debian experiemntal gcc 2016-07-14 11:03:44 -07:00
titiger 9dd22ae347 lets see if this fixes alt+return endless toggling 2016-06-07 23:38:16 +02:00
SoftCoder 1621e563da - fix build 2016-06-02 14:01:39 -07:00
SoftCoder 468c381611 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-06-02 13:46:05 -07:00
SoftCoder f1c372c7b5 - try to fix the build 2016-06-02 13:41:59 -07:00
filux 8873bfd112 improved auto-documentation's script 2016-06-02 21:44:10 +02:00
SoftCoder 798777f313 - fix the build 2016-06-02 12:30:38 -07:00
SoftCoder 05a5ff02d1 - another attempt to fix issue# 111 2016-06-02 12:07:01 -07:00
SoftCoder c3db863434 - attempt to see if this fixes issue# 111 2016-06-01 20:31:46 -07:00
SoftCoder ad4314fb29 - move linux network interface names into ini file for easier management in the future 2016-06-01 20:16:34 -07:00
SoftCoder c5aff25a94 - comment one thread safety check as it was not required 2016-05-27 21:31:39 -07:00
SoftCoder 56494f3cd2 - finally fixing issue #102 (bad cell visible handling when fog of war turned off) 2016-05-27 16:15:27 -07:00
SoftCoder 8a88c4f11e - bugfix for xenial network ip address discovery for LAN games + float truncate 2016-05-23 17:02:44 -07:00
SoftCoder a85d12aed1 - fix updated use of mini upnpc 2016-05-23 10:54:38 -07:00
SoftCoder ed6f169d97 - attempt to see if this helps deal with oos when fog of war off 2016-05-23 09:51:50 -07:00
filux 32d7085816 cmake patches from mageia [ci skip] 2016-03-05 13:57:08 +01:00
filux bcb8d197d3 fixed some typos [ci skip]
https://lintian.debian.org/full/pkg-games-devel@lists.alioth.debian.org.html#megaglest
2016-02-19 21:17:31 +01:00
titiger c41db9cd16 remove some printf 2016-02-09 02:02:59 +01:00
titiger eb8187fd81 no more error when blocker scenario does not exist 2016-02-09 01:12:24 +01:00
titiger b809ea2233 Proof that you are ready for internet games 2016-02-09 00:48:35 +01:00
filux 064566085e get rid of '$Rev$' 2016-02-04 19:29:25 +01:00
titiger 3a4a6143d2 fixed ctrl-s and maybe more menu shortcuts
Beside of this I removed some never used complicated key shortcuts 
noone knows anyway.
2016-01-31 02:25:24 +01:00
titiger 3de7c586c2 no more black triangles when rendering cliffs
render cliffs made problems sometimes because not 
the whole visible surface was rendered if top left map cell point 
was not in camera view.
2016-01-29 18:36:48 +01:00
filux 570a49164e version number returns to 'dev' 2016-01-24 15:46:49 +01:00
filux aa2d9f7de4 version number for release 2016-01-24 12:00:38 +01:00
filux a17f3563c8 let's try how this affect portability of binary files on linux now 2016-01-23 20:05:51 +01:00
titiger 1385f3fea2 trying to fix map editor for wxwidget 2.8 too 2016-01-23 19:05:32 +01:00
titiger c9400cc3b1 try to fix wx 2.8 2016-01-23 11:42:44 +01:00
SoftCoder 06cc22fd8f - fix wx 2.8 support 2016-01-22 22:33:08 -08:00
SoftCoder b76f8f1e2f - fix wx 2.8 2016-01-22 18:08:47 -08:00
SoftCoder 4da1425cbc - try to fix wx 2.8 2016-01-22 18:05:46 -08:00
SoftCoder 236b95fc0d - fix map editor in wx 3.0.2 2016-01-22 17:49:35 -08:00
SoftCoder d6dbb187cc - fixed some bugs discovered by coverity scan 2016-01-20 21:34:23 -08:00
SoftCoder 0c12b5fb8c - add last ditch check on socket disconnect 2016-01-20 18:03:37 -08:00
SoftCoder 1f8096ff81 - finally foudn and fixed color picking crash! 2016-01-18 23:25:31 -08:00
SoftCoder ded8df97d6 - more debug info for color picking issue 2016-01-18 22:00:48 -08:00
SoftCoder c5b35c55b9 - fixed coutner when called extra times 2016-01-18 21:17:37 -08:00
SoftCoder a0337c80e1 - attempt better debugging output for color picking crash 2016-01-18 21:10:31 -08:00
SoftCoder 472e8bbaf0 - try to fix auto_ptr proxy for msvc 2016-01-18 16:28:05 -08:00
SoftCoder 0d8377d6b4 - try to fix mac build 2016-01-18 15:29:16 -08:00
SoftCoder b50fe04e0a - try to fix mac build 2016-01-18 14:36:51 -08:00
SoftCoder d5f915f3aa - fix silly mac build 2016-01-18 14:10:48 -08:00
SoftCoder 86a59859b9 - atempt to cleanup use fo auto_ptr 2016-01-18 13:20:49 -08:00
SoftCoder d82aaa22ad - attempt to fix irc thread cleanup 2016-01-18 12:20:57 -08:00
filux 1125a2b405 added switch for compilation [W]ithout wxWidgets; updated list of deps related with curl 2016-01-18 20:59:21 +01:00
SoftCoder c6c9eb1c02 - try to fix irc thread crash and add more verbose output 2016-01-18 11:49:11 -08:00
SoftCoder eeb9fc9405 - more verbose debug info 2016-01-17 15:15:31 -08:00
SoftCoder f286813e7b - added more verbose info for thread crash issue 2016-01-17 14:14:05 -08:00
SoftCoder 7eb6cff723 - attempt to fix irc thread crash foudn by tomreyn 2016-01-17 13:21:22 -08:00
SoftCoder df8b702149 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-01-16 21:50:10 -08:00
SoftCoder 74da39e83e - attempt to avoid crash if color picking index is larger than buffer, increase it 2016-01-16 21:49:36 -08:00
titiger f0f76949df rain is back
It looks bad with so little arin drops.
2016-01-16 18:18:04 +01:00
SoftCoder e7a9c01bf6 - try to add more verbose output on app shutdown 2016-01-14 19:18:03 -08:00
filux 94fdb6f385 less intensive rain in the menu 2016-01-10 16:18:56 +01:00
titiger 8dd7cb21e8 Merge pull request #60 from titison/feature/mapPreviewWithSpecificTileset
Specific Tileset with preview-map option
2016-01-09 19:28:21 +01:00
SoftCoder 35f3b2fa1a code cleanup from clang warnings 2016-01-07 08:48:35 -08:00
SoftCoder fcdc29cc85 - fix issue #91 2016-01-06 22:43:40 -08:00
SoftCoder 993c705e2b - attempt to fix issue #72 2016-01-06 22:36:50 -08:00
SoftCoder 17678387c3 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-01-06 16:36:12 -08:00
SoftCoder 9496f485ce - added mroe debug ability for openal and small change for context create 2016-01-06 16:35:48 -08:00
titiger b36c6cd75c no need for sound initialisation in non audio menus 2016-01-07 01:33:48 +01:00
SoftCoder d1d5780ffd - cleanup warning missed return value default 2016-01-06 16:20:30 -08:00
titiger 6f51e91266 Parameter ServerTitle done the ususal way 2016-01-07 00:51:23 +01:00
SoftCoder d0df67fa7f - fixed issue #95 2016-01-05 21:56:01 -08:00
SoftCoder c25867b5d8 - try to fix mouse pointer for issue #94 2016-01-04 20:56:48 -08:00
SoftCoder 03f5455eb2 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-01-04 17:33:04 -08:00
SoftCoder e21b2506d6 - try to fix issue #104 2016-01-04 17:32:34 -08:00
titiger f3e96a64c1 new parameter --server-title
see issue #95
2016-01-03 16:31:05 +01:00
filux 92f97c13bd updated year [ci skip] 2016-01-03 10:52:16 +01:00
filux 60f7eb519a removed nasty timestamp from auto-documentation 2016-01-02 10:08:40 +01:00
SoftCoder 01eb7b70d6 - move join game in progress menu option below publish so its not overlapping 2016-01-01 10:50:59 -08:00
SoftCoder 71d8eb2e67 - added more perf logging 2015-12-31 19:21:35 -08:00
SoftCoder 3002baf657 - added more perf logging 2015-12-31 18:58:04 -08:00
SoftCoder 706113580d - attempt better socket disconnect checking 2015-12-31 18:28:43 -08:00
SoftCoder 61f77a88f5 - more network speed improvements for one packet netwrok comamndlist 2015-12-31 18:10:21 -08:00
SoftCoder 57f0b44ad3 - bugifx for static cached hostname, moved to higher scope to avoid sometimes random crashes 2015-12-31 16:48:55 -08:00
SoftCoder a399f8d1a5 - try to improve launch packet speed and add performance logging for client network code 2015-12-31 16:02:09 -08:00
SoftCoder b54b295ac8 - memory cleanup and fixed from cpcpheck 2015-12-31 14:22:25 -08:00
SoftCoder eb15f8d701 - add compressed network messages for nmtLaunch and nmtBroadCastSetup (not backward compatible) 2015-12-31 13:12:26 -08:00
SoftCoder 888254400e - attempt to speed up sending net comamdns over sockets 2015-12-30 19:58:09 -08:00
SoftCoder 27ed0b88fe - beter checking for dsiconnected socket for sensitive winsock 2015-12-30 18:29:27 -08:00
SoftCoder 42d3295e9b - add some logging to see if we find the weird cause of some hangs 2015-12-30 14:41:10 -08:00
SoftCoder 3814b9317f - attempt another network speed improvement 2015-12-30 03:07:37 -08:00
SoftCoder 99289e8fe5 - reset bad merge for network ready timeout 2015-12-29 08:08:46 -08:00
SoftCoder 16a11d6a6f - change sdl mutex name to new sdl2 name 2015-12-28 23:51:19 -08:00
SoftCoder c1144ad9d7 - attempt to speed up mutex lock / unlock 2015-12-28 23:06:12 -08:00
SoftCoder ac0c0eafb9 - try to improve network perf 2015-12-28 22:27:45 -08:00
SoftCoder 64139523d4 - attempt to inline some mutex funcrtiosn for beter performance 2015-12-28 21:17:09 -08:00
SoftCoder ecaf376cb1 - attempt to rollback alst push causing hangs 2015-12-28 19:59:45 -08:00
SoftCoder 196660742a - attempt to fix lagging in lobby and for windows clients 2015-12-28 17:59:26 -08:00
SoftCoder b348a727a5 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2015-12-28 12:55:18 -08:00
SoftCoder c873e72a4f - attempt to see if thsi helsp network play to be more smooth 2015-12-28 12:54:44 -08:00
filux 193609490f Merge pull request #61 from filux/lower-waiting-time
let's try lower waiting time for the multi-player game
2015-12-27 19:26:38 +01:00
filux 1f1156b9b6 few second less + should look better on the loading screen 2015-12-27 19:12:00 +01:00
SoftCoder 08713078b6 - fix headless network comamnd bug 2015-12-26 13:14:22 -08:00
SoftCoder 6eb7a1e625 - little code cleanup in socket code 2015-12-26 09:34:55 -08:00
SoftCoder 9792b9695b - attempt to fix socket issues causing hangs 2015-12-25 23:12:00 -08:00
SoftCoder c9fb0160dc - attempt to fix hand in windwos network games 2015-12-25 14:08:54 -08:00
SoftCoder ff2fb03c78 - attempt safe socket code to avoid hangs 2015-12-23 21:37:35 -08:00
SoftCoder 9f55e9235a - last try to optimize socket thread locks 2015-12-23 14:26:03 -08:00