Commit Graph

1029 Commits

Author SHA1 Message Date
Mark Vejvoda
9c14ee0aec - on game start close non authenticated players who are connected 2013-01-12 00:09:25 +00:00
Mark Vejvoda
31f599aa8f - attempt to fix bug reported by tomereyn: http://glest.org/glest_board/index.php?topic=8842.0;topicseen 2013-01-09 17:43:35 +00:00
Mark Vejvoda
1018d85769 - bugfix to save and close options menu when ok is clicked 2013-01-03 01:55:11 +00:00
Mark Vejvoda
46869536bb - allow changing screen resolution and fullscreen mode in options menu with confirmation 2013-01-01 10:18:42 +00:00
Mark Vejvoda
9275debe2d - allow changes to video resolution and fullscreen mode without restart 2013-01-01 02:24:23 +00:00
Mark Vejvoda
56dc004119 - added fribidi for opensuse and fedora
- allow loading saved games on older versions if version are compatible
2012-12-29 21:31:54 +00:00
Mark Vejvoda
0254b067b3 - attempt to fix headless admin user quick change not getting to other network players before game start. 2012-12-26 07:32:24 +00:00
Mark Vejvoda
c3ff9973d9 - fixed screenshots so holding shift ignores the screenshot key 2012-11-20 01:12:07 +00:00
Mark Vejvoda
f7ebba0301 - when changing playername, we reset the irc client connection when entering the internet lobby 2012-11-19 21:56:21 +00:00
Mark Vejvoda
a74295733d - attempt to leave irc channel in cases where the client thread is shutting down for unknown reasons 2012-11-19 17:17:50 +00:00
Mark Vejvoda
e54aabd713 - bugfix for user in verbose mode with missing map 2012-11-19 05:27:16 +00:00
Titus Tscharntke
89329a0928 SHIFT+<letter>+listbox arrow to jump to that letter in a list ( for menu_state_connected too )
Still trouble with screenshots when trying to navigate with shift+e+listbox
2012-11-17 01:04:04 +00:00
Mark Vejvoda
d9b624dbb8 - fixed spelling mistake in variable name 2012-11-15 08:16:08 +00:00
Mark Vejvoda
4a0617b12c - ripped out a lot of unused code dealing with utf8 2012-11-15 08:12:40 +00:00
Mark Vejvoda
d0006db4a1 - updated for debian compliance 2012-11-15 07:50:43 +00:00
Titus Tscharntke
dc88090b5d no screenshots when using hotkeys for listboxes 2012-11-14 23:51:18 +00:00
Mark Vejvoda
8ba5524f35 - updated error handling to be more flexible so we can display better error details (like bad tga file, etc) 2012-11-10 23:19:42 +00:00
Mark Vejvoda
35f6a6665b - attempt to keep irc connection and just join / leave the irc channel as required to speed up irc in the lobby 2012-11-10 09:22:28 +00:00
Mark Vejvoda
ff58a868b3 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 06:37:23 +00:00
Mark Vejvoda
e3a7aedd5c - headless server now supports lan option 2012-11-09 21:50:01 +00:00
Mark Vejvoda
cc8b983b99 - stop internet lobby chat from overflowing into other UI elements 2012-11-09 18:09:32 +00:00
Mark Vejvoda
0e0aa52f17 - add more info in keyboard screen 2012-11-09 17:27:45 +00:00
Mark Vejvoda
51ca2ccc91 - some cleanup of the irc code 2012-11-09 07:09:53 +00:00
Mark Vejvoda
b168f450b5 - scrollbar patch applied from cygal / quentin --> Thanks 2012-11-02 20:07:50 +00:00
Tom Reynolds
f128d40def More space, lesser parantheses for 'headless' prefix on server title 2012-11-02 17:48:25 +00:00
Titus Tscharntke
37b09daa77 cleanup of option menu layout ( But "advanced translation" is not in final place ) 2012-11-01 00:39:31 +00:00
Mark Vejvoda
5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda
b30909f90b - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 06:48:12 +00:00
Mark Vejvoda
3419127632 - proper way to handle size_t objects (cleanup warning on other platforms) 2012-10-26 02:42:10 +00:00
Mark Vejvoda
2796922914 - a bit more code cleanup from cppcheck
- cleanup of english hints
2012-10-24 06:54:10 +00:00
Mark Vejvoda
e0428fb190 - bugfix for transifex download, filename parse out bad characters for language filename 2012-10-23 14:49:08 +00:00
Mark Vejvoda
8b1000cbfb - don't save the transifex password to the ini (but still allow the user to enter the value manually in the ini) 2012-10-22 22:06:30 +00:00
Mark Vejvoda
57d0104c01 - unescape special html entities when pulling down lng files from transifex
- do not show pw when showing ini settings on commandline
2012-10-22 20:05:42 +00:00
Mark Vejvoda
ba0bf98b9e - hide password until editing
- move transifex ui items to the right
2012-10-22 19:38:28 +00:00
Mark Vejvoda
7a0f8b39a5 - bugfix to ensure transifex purge ONLY deletes files in mapping 2012-10-22 18:11:51 +00:00
Mark Vejvoda
950c960dcb - changed yes/no settings in connect menu to checkboxes 2012-10-22 17:53:48 +00:00
Mark Vejvoda
474374a33e - updated custom game menu to use checkboxes instead of yes/no 2012-10-22 15:52:08 +00:00
Mark Vejvoda
4692f41474 - bugfixes to allow each edit control on screens with multiple edits to have their own unicode text lengths for editing 2012-10-22 06:31:57 +00:00
Mark Vejvoda
95ac13a699 - adjusted editbox sizes 2012-10-22 06:10:36 +00:00
Mark Vejvoda
4598299caf - added the ability for advanced translation features (transifex users can download and remove custom files from the transfex website and test their work) 2012-10-22 05:08:52 +00:00
Mark Vejvoda
64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda
e86cb3aeff - more code cleanup based on suggestions from cppcheck 2012-10-18 08:16:47 +00:00
Mark Vejvoda
79d6c31e73 - spelling mistake fix 2012-10-16 22:04:26 +00:00
Mark Vejvoda
62f0a0d9b4 - bugfix for showing too many progress bars 2012-10-16 21:12:58 +00:00
Mark Vejvoda
e295ccc5a1 - added option to toggle lua sandbox 2012-10-16 21:08:45 +00:00
Mark Vejvoda
152a9328b4 - mod center now gets glest version passed into it and filters out incompatible game data 2012-10-16 05:27:51 +00:00
Mark Vejvoda
67242d1b44 - added new string for warning message 2012-10-16 01:05:40 +00:00
Mark Vejvoda
bb2ba50589 - attempt to let user know when host does not have data port open 2012-10-16 00:58:49 +00:00
Mark Vejvoda
0926f1e747 - forgot to delete the masterserver connection 2012-10-15 23:10:41 +00:00
Mark Vejvoda
bd24409e20 - bugfix to cancel properly and detect if we are in mod center mode or not 2012-10-15 22:51:40 +00:00
Mark Vejvoda
fa0551c175 - only show the mod center download button if the item is located in the mode center 2012-10-15 22:41:26 +00:00
Mark Vejvoda
feda398d5d - first attempt to see if we can get mod center download option working from game lobby 2012-10-15 22:19:22 +00:00
Mark Vejvoda
01d2ba8db5 - disable rendering of other items in the menu when error showing 2012-10-15 15:06:21 +00:00
Mark Vejvoda
fc07549761 - allow connected client to see extraction process 2012-10-15 08:09:28 +00:00
Mark Vejvoda
052fd3373c - attempt to fix client timeout issues in client connected menu when downloading files
- in lobby hold SHIFT + a letter when clicking a map, tileset or techtree and it jumps to the first found item of that letter
2012-10-15 07:44:44 +00:00
Mark Vejvoda
b337b069eb - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 06:54:29 +00:00
Mark Vejvoda
a3e3a7d59d - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 06:42:52 +00:00
Mark Vejvoda
0180aa6bba - added new lua functions:
triggeredCellEventUnitId()
showMarker(int flashCount, int factionIndex, string note, string textureFile,Vec2i pos)

1. The first one can be called in a cell trigger event and tell you which unit triggered the event
2. The second flashes a position in the minimap
2012-10-13 05:06:53 +00:00
Titus Tscharntke
b9836685d8 Chat behaviour can be changed in options. Time display on/off via options too 2012-10-11 22:10:31 +00:00
Tom Reynolds
8cc9c760e1 no more blank spaces in translation keys 2012-10-11 00:26:00 +00:00
Titus Tscharntke
f61666d04c bugfix for loading default games on headless servers 2012-10-07 00:34:45 +00:00
Mark Vejvoda
e69f896c21 - increase masterserver response timeout from 10 to 15 seconds 2012-10-06 23:01:14 +00:00
Titus Tscharntke
2fde01b6ed fix for delayed playername correction ( which was rising the alarmsound too ) 2012-10-06 22:56:19 +00:00
Mark Vejvoda
a4dab7d1d7 - fix the player network status for closed slots 2012-10-06 22:18:09 +00:00
Titus Tscharntke
fc30386e42 last port of ftpdata was displayed wrong after switching 2012-10-06 21:36:48 +00:00
Titus Tscharntke
a2cad81210 wrong display of ftp data ports 2012-10-06 20:11:54 +00:00
Titus Tscharntke
60355fa55d layout cleanup of option menus network section 2012-10-06 18:22:48 +00:00
Titus Tscharntke
a7fe72a46c next bugfix 2012-10-06 16:36:03 +00:00
Titus Tscharntke
905ae06f42 bugfix ... 2012-10-06 16:13:51 +00:00
Titus Tscharntke
a39f262065 trying to make selection of control in headless more comfortable 2012-10-06 16:09:49 +00:00
Mark Vejvoda
f38f7d593a - fix main menu extra logos 2012-10-06 15:45:22 +00:00
Titus Tscharntke
b7e3964782 warning of non default port usage is outdated and by this removed 2012-10-06 14:56:40 +00:00
Titus Tscharntke
9a57dc095f PortExternal is only used when set. Normal case is PortServer now 2012-10-06 13:45:42 +00:00
Titus Tscharntke
685b15c91e renamed ServerPort->PortServer MasterServerExternalPort->PortExternal 2012-10-06 12:56:53 +00:00
Mark Vejvoda
5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda
c39da4cd69 - code cleanup from cppcheck 2012-10-06 02:10:23 +00:00
Mark Vejvoda
62c82ad9bc - allow the --connecthost commandline to use:
--connecthost=auto-connect
which will auto connect to the first found server on a lan
2012-10-06 00:25:13 +00:00
Mark Vejvoda
b4e6205671 - find servers on LAN now discovers customized game ports 2012-10-05 23:53:10 +00:00
Mark Vejvoda
8d16e6247f - do not allow changing of resource multiplier for human players 2012-10-05 23:03:05 +00:00
Mark Vejvoda
a8b8dcf464 - humans may now have a custom resource multiplier 2012-10-05 22:43:00 +00:00
Mark Vejvoda
6b15dfbc51 - don't crash on missing data for resource multiplier 2012-10-05 21:01:02 +00:00
Mark Vejvoda
b786387138 - bugfix to hide multiplier when slots are not valid 2012-10-04 23:28:27 +00:00
Titus Tscharntke
70cda77f74 and again trying to fix the headless server show itself connected 2012-10-03 22:27:59 +00:00
Titus Tscharntke
61f4bcaacd try to fix the headless server show itself connected 2012-10-03 22:16:12 +00:00
Titus Tscharntke
afcd787774 fixed ishmarus problem without default .mgg files ( http://glest.org/glest_board/index.php?topic=8629.0 ) 2012-10-03 21:42:11 +00:00
Mark Vejvoda
4e195e10af - updated random seed generation to be more random 2012-09-27 06:42:57 +00:00
Mark Vejvoda
4bde2882a6 - fixed bug in mod menu where no messages were shown since tit's console class change.
- added new ftp status info and display output from 7z extraction as it happens in game so that the user knows something is happening (and to show errors)
2012-09-27 05:54:37 +00:00
Mark Vejvoda
7e581004d6 - cleanup unused code 2012-09-27 02:49:10 +00:00
Mark Vejvoda
c33c1826ae - proper implementation of video repeat (looping) 2012-09-27 01:17:57 +00:00
Mark Vejvoda
a21f2b705d - some video rendering optimizations 2012-09-26 23:16:29 +00:00
Mark Vejvoda
1db56463fd - try to make video performance a little better 2012-09-26 08:08:52 +00:00
Mark Vejvoda
2f40e7735a - loop faction preview videos 2012-09-25 22:52:07 +00:00
Mark Vejvoda
74cca86b3f - added new commandline option --connect=x:y format as requested 2012-09-25 21:52:23 +00:00
Mark Vejvoda
c7808dc021 - allow custom port #'s to be stored in servers.ini 2012-09-25 16:43:07 +00:00
Mark Vejvoda
7c0e10684a - added lua functions to add / remove cell markers:
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition

removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Mark Vejvoda
f1ef5e2ecd - removed pathfinder as a configurable item in the UI 2012-09-22 21:44:30 +00:00
Mark Vejvoda
8e88b36723 - removed pathfinder from GAE and all references 2012-09-22 21:39:13 +00:00
Mark Vejvoda
e0bf4df646 - cppcheck round #2 cleanup 2012-09-22 20:37:42 +00:00
Mark Vejvoda
1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Mark Vejvoda
a1caf8c874 - bugfix to allow proper handling of special language characters for input box 2012-09-22 03:16:10 +00:00
Mark Vejvoda
a4ad1f5aea - bugfixes for network player disconnect feature 2012-09-21 15:03:13 +00:00
Mark Vejvoda
684c35e25a - fix text entry so unicode characters work properly 2012-09-21 03:41:10 +00:00
Titus Tscharntke
2c9e0d9e7d lets try if this works ( no need to restore special playernames ) 2012-09-20 22:24:15 +00:00
Titus Tscharntke
64884e14d0 typo in filename corrected 2012-09-20 21:59:09 +00:00
Titus Tscharntke
3017b61254 better ( and dynamically changeable ) default game setups 2012-09-20 21:57:00 +00:00
Mark Vejvoda
6b55818ce5 - only allow client to chat after they authenticated with server 2012-09-19 22:16:22 +00:00
Mark Vejvoda
6e0d67d6e4 - bugfixes for crc handling in mod menu 2012-09-18 23:52:16 +00:00
Titus Tscharntke
158195a825 multiplier for CPUs replacing disconnected network player ( not finished yet! , only menu for now ) 2012-09-16 23:42:56 +00:00
Titus Tscharntke
a5c2a50d60 only "named" console messages in chat-history, typically chat messages from users
smaller console font ( for test in linux only now )
2012-09-09 14:12:35 +00:00
Mark Vejvoda
19db401c83 - removed directsound8 as a selectable option in ini or UI 2012-08-01 00:51:27 +00:00
Mark Vejvoda
0e0c43f14a - bugfix to close unconnected network slots if they are in a slot higher than map's max slots 2012-07-27 00:39:13 +00:00
Mark Vejvoda
194e1868b9 - if holding ctrl while click to change the player type we will change all non human slots to the same player control type 2012-07-26 20:47:16 +00:00
Mark Vejvoda
b665258897 - improve ability to force label edit mode rendering to be a static width regardless of font size used 2012-07-26 15:26:59 +00:00
Mark Vejvoda
6662f35347 - fixed input text segfault and corrected entry of playername in menus and added a box around the field when editing. 2012-07-26 06:27:00 +00:00
Mark Vejvoda
96ade03a27 - fix backspace deleting in options menu when changing playername and playername has _ in part of it 2012-07-25 16:49:58 +00:00
Mark Vejvoda
f3165b2548 - bugfix to stop human and network player from having the same slot 2012-07-24 19:29:15 +00:00
Mark Vejvoda
bec8df9feb - made another debug statement only show in verbose mode 2012-07-18 16:01:19 +00:00
Mark Vejvoda
9583307022 - cleanup of debug code 2012-07-18 01:01:24 +00:00
Mark Vejvoda
32bda64045 - added more error checking in scenarios 2012-07-18 00:54:47 +00:00
Mark Vejvoda
6c211970e3 - added more error checking in scenarios 2012-07-18 00:50:14 +00:00
Mark Vejvoda
9fb1f06d5e - added more error checking in scenarios 2012-07-18 00:43:46 +00:00
Mark Vejvoda
2b0e9e40d3 - added more error checking in scenarios 2012-07-18 00:35:39 +00:00
Mark Vejvoda
9a54f30e86 - added more error checking in scenarios 2012-07-18 00:12:42 +00:00
Mark Vejvoda
4d97c80561 - added more error checking in scenarios 2012-07-18 00:04:24 +00:00
Titus Tscharntke
d382fa46fd fix for wrong CRCs in Mod menu 2012-07-16 23:03:56 +00:00
Tom Reynolds
3519725216 Change phpVersionParam to ?version=0.1 2012-07-16 00:08:41 +00:00
Titus Tscharntke
0cc9f0e115 fixing the CRCs on the masterserver ( work in progress ) 2012-07-15 23:01:48 +00:00
Titus Tscharntke
e311c439f6 sound is no more switched on when switching factions ( not a 100% fix but I think good enough ) 2012-07-15 19:45:55 +00:00
Mark Vejvoda
109401b2e8 - always ensure headless server has an open slot in the lobby 2012-07-11 22:41:31 +00:00
Mark Vejvoda
be61ed89da - bugfix to have consistent info sent to masterserver when in game or in lobby 2012-07-11 05:12:10 +00:00
Mark Vejvoda
703afaa5de - forget trying to render for now when in connection phase, Cold getting crashes 2012-07-10 20:39:21 +00:00
Mark Vejvoda
2c6cd02f32 - attempt a very simple fix for Cold's connection delay 2012-07-10 20:26:41 +00:00
Mark Vejvoda
6cfe9cadbb - attempt to fix corrupt connection stats sent to masterserver using a mutex in the lobby and when headless server reset counts to 0 when calculating 2012-07-10 02:43:54 +00:00
Mark Vejvoda
57a988ae56 - fixed out of synch on player disconnect 2012-07-10 02:12:07 +00:00
Mark Vejvoda
4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Mark Vejvoda
330070a632 - more logging to track down cold's issue 2012-07-06 23:18:30 +00:00
Mark Vejvoda
ada5f2cdce - more logging to track down cold's issue 2012-07-06 23:06:00 +00:00
Mark Vejvoda
6f9f2d8f01 - allow admin user to switch slots when they are in an unassigned slot 2012-07-06 18:57:19 +00:00
Titus Tscharntke
9875fa1dad missing clear() caused crash ... 2012-07-06 00:16:48 +00:00
Titus Tscharntke
e302efcd4e hopefully better commanding of headless servers 2012-07-05 22:03:15 +00:00
Mark Vejvoda
51d56926cc - return to previous menu when tutorials / scenarios are empty 2012-07-03 00:26:27 +00:00
Mark Vejvoda
3ec510fa17 - fixed admin mode in menu's so switching to a map with less slots than admin user keep the same admin user active 2012-06-30 19:31:52 +00:00
Mark Vejvoda
76606fbdbe - allow loading of scenarios and tutorials when there are none (show an error message) 2012-06-30 19:11:54 +00:00
Mark Vejvoda
b08e04fa70 - flash the remote admin player# in lobby to indicate they are the admin user 2012-06-22 14:30:48 +00:00
Mark Vejvoda
b32b4f1660 - bugfix to allow remote admin user to remain as admin when slot is networkunassigned 2012-06-22 01:57:59 +00:00
Titus Tscharntke
9ed9293a0d no more accidently clicked buttons when starting game or switching to next menu 2012-06-20 23:42:45 +00:00
Titus Tscharntke
f89707f708 k-key to switch off sound while waiting for players in connected state too. Sound is automatically switched on if a new player connects, just like in custom menu. By this you can wait in headless servers without hearing music/missing players. 2012-06-13 23:01:10 +00:00
Mark Vejvoda
c187d4d014 - changed disconnected playername to: *AI* - playername 2012-06-11 23:50:30 +00:00
Mark Vejvoda
cb7bd8ff04 - added menu option and commandline parameter to disable video playback 2012-06-09 05:02:01 +00:00
Mark Vejvoda
90b0d96b5d - disable main menu background video playback when showing faction preview video 2012-06-09 02:59:46 +00:00
Mark Vejvoda
e96346ff28 - special text color override setting will only apply to non in-game text (useful when videos clash with menu text colors) 2012-06-01 19:14:55 +00:00
Mark Vejvoda
68bfe9e455 - fixed rendering on battle end screen 2012-05-28 02:36:12 +00:00
Mark Vejvoda
e014ecbd94 - allow streaming faction preview videos and fallback to local faction preview 2012-05-26 06:19:30 +00:00
Mark Vejvoda
ead7c316e5 - added support for faction preview videos (take precedence over preview texture) 2012-05-25 23:00:36 +00:00
Mark Vejvoda
660d702e97 - add a fallback url for playing videos in case the user has no internet 2012-05-25 16:33:34 +00:00
Mark Vejvoda
0fac755a5e - video player now displays 'please wait' while loading the video 2012-05-23 19:59:52 +00:00
Mark Vejvoda
f72c1757d5 - added a bit more debug info to find tomreyns bug 2012-05-22 23:03:01 +00:00
Mark Vejvoda
aa2174a101 - support streaming videos from youtube etc 2012-05-21 18:32:53 +00:00
Mark Vejvoda
b7ba6e52d5 - bugfixes for playing videos in main menu 2012-05-19 08:48:30 +00:00
Mark Vejvoda
0d38e2eb5d - added support for main menu background video 2012-05-19 08:40:49 +00:00
Mark Vejvoda
345b2e670b - added local mg version label to custom game menu 2012-05-12 02:21:21 +00:00
Mark Vejvoda
394efbcbc0 - bugfixes for network scenarios, client cannot change team or faction but they rather get assigned to the team and faction of the slot they switch to 2012-05-11 05:11:46 +00:00
Titus Tscharntke
4aee3847e1 ShadowTextureSize selectable in ingame options 2012-05-10 22:32:38 +00:00
Titus Tscharntke
b411c103df extra map preview for already installed maps 2012-05-10 21:45:24 +00:00
Mark Vejvoda
dbb116f250 - load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010) 2012-04-20 01:04:05 +00:00
Mark Vejvoda
329bb58b04 - a few code cleanup items while doing some testing in VC++ 2010 2012-04-17 19:42:53 +00:00
Mark Vejvoda
c8fdc9269f - fix win32 build
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda
3b8dd289ac - updated cmake to check for support of backtraces in gcc compiler
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Titus Tscharntke
f612707849 "PleaseWait"-message while calculating all CRCs in mod menu. 2012-04-16 00:15:11 +00:00
Mark Vejvoda
8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
c83cfc6e03 - bugfix to save server ip's in join menu 2012-04-13 19:37:52 +00:00
Mark Vejvoda
80e1e45ba8 - bugfix for over-riding irc channel and server 2012-04-12 06:03:21 +00:00
Titus Tscharntke
f495a41a05 Extra option for menu rain effect ( needs update in language files german/english done ) 2012-04-11 22:19:50 +00:00
Mark Vejvoda
7328875160 - bugfix for rain effect, now dynamically turns on/off when toggled in menu and hopefully fixes strange water splash bug 2012-04-11 05:18:00 +00:00
Mark Vejvoda
31f0c18653 - better error handling in menus 2012-03-31 08:28:42 +00:00
Mark Vejvoda
c73244ca92 - fixed bug for network scenarios where first slot is not human (closed network slots) 2012-03-31 06:05:20 +00:00
Mark Vejvoda
9286130138 - bugfixes and code cleanup found using cppcheck 2012-03-28 06:25:57 +00:00
Mark Vejvoda
c0f3658faa - bugfix for network scenarios to NOT close unconnected network slots before loading, they will turn into AI players (this is required because the scenario code may require those factions)
- added ability to morph and indicate the morph command should ignore resource costs, add this to the command type:
<ignore-resource-requirements value="true" />
2012-03-27 03:23:03 +00:00
Mark Vejvoda
8f98dbe566 - attempt to add code to NOT allow new connections on a slot that is no longer an open slot 2012-03-20 20:31:41 +00:00
Mark Vejvoda
1b8e1af25b - cleanup of console and button placement in load game menu 2012-03-20 15:01:18 +00:00
Mark Vejvoda
92b135d103 - fix delete loaded game bug when nothing selected after having a game selected 2012-03-20 14:36:34 +00:00
Titus Tscharntke
26b9cc73be the buttons for savegames are sorted now ( newest savegame is on top ) 2012-03-17 21:54:22 +00:00
Titus Tscharntke
91dce63aac savegame screenshot has smaller size (configurable)/ screenshots are deleted too 2012-03-17 11:26:39 +00:00
Mark Vejvoda
1ac9aa6d3f - fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
- added automation abilities for automated testing with automated saved games
2012-03-17 08:20:17 +00:00
Mark Vejvoda
5584121aa7 - updated load game screen and added some missing language text 2012-03-17 03:32:20 +00:00
Titus Tscharntke
7f46cf2749 save a screenshot with every game save and show it in load menu ( you must have set screenshot type set to .jpg at the moment) 2012-03-17 01:32:18 +00:00
Mark Vejvoda
5f15bf20a9 - yes you can load saved games now :) 2012-03-16 01:58:39 +00:00
Titus Tscharntke
bbef21da6b a bit more load menu progress ( does not load yet ) 2012-03-16 01:10:32 +00:00
Mark Vejvoda
510ee7dfff - bugfixes for loading XML and not dropping newlines
- started work on trying to save lua state (global variables only)
2012-03-15 20:48:27 +00:00
Titus Tscharntke
c421576a83 first steps for load game menu 2012-03-14 23:53:11 +00:00
Titus Tscharntke
38bd33acf9 Gamma Correction in inGame options with direct feedback. 2012-03-13 18:59:33 +00:00
Mark Vejvoda
e3fde99359 - fixed gamma correction so it works now
- added more state when loading saved game
2012-03-13 01:34:14 +00:00
Titus Tscharntke
edd7f732ea alpha correction in options menu ( checkin with error included , which needs to be fixed! ) 2012-03-13 00:44:55 +00:00
Mark Vejvoda
623623d33f - bugfix for segfault in menu when exiting too fast 2012-03-05 22:53:03 +00:00
Mark Vejvoda
04e16819aa - fix segfault when converting models
- fix segfault when mod menu cannot connect to masterserver
2012-03-03 18:40:18 +00:00
Mark Vejvoda
a6af5b96af - when RainEffect=false then ALSO disable rain in the main menu 2012-03-03 08:52:52 +00:00
Mark Vejvoda
7fe7800ac2 - added better error handling and increased delay + retries when publishing a game to masterserver (in case upnp is slow) 2012-03-03 08:28:15 +00:00
Mark Vejvoda
3eba87727c - bugfixes for headless mode, map selection logic was broken for admin user
- during in game, if admin user disconnects, server re-assigns a new admin user so paused game can be unpaused by a new administrator
2012-03-03 04:33:39 +00:00
Mark Vejvoda
909b680836 - a little cleanup of request parameters 2012-02-25 08:46:48 +00:00
Titus Tscharntke
9870c13a6b GraphicMessageBox can handle multiple buttons now 2012-02-19 17:37:53 +00:00
Mark Vejvoda
2fbebb4721 - some cleanup of CRC calculation for better cache use 2012-02-10 16:53:56 +00:00
Mark Vejvoda
4ad42518c0 - updated for better handling of streflop on different platforms
- attempt for bugfix on windows when socket send buffer is continuously full
2012-02-10 06:21:06 +00:00
Mark Vejvoda
50f1fa65ca - bugfix on battle screen when 8 players playing, last player is sometimes chopped off
- masterserver mode bugfix for map filter
- masterserver now outputs in-game stats to console every 10 minutes (can be adjusted via ini setting: GameStatsDumpIntervalSeconds=x where x is update interval in seconds
2012-01-06 06:55:27 +00:00
Mark Vejvoda
58f6ceb801 - fixed placement of map filter controls 2012-01-05 02:03:54 +00:00
Mark Vejvoda
61bebd6b86 - numerous fixed for network scenario handling 2011-12-28 04:46:36 +00:00
Mark Vejvoda
e45d42cd6f - bugfixes for network scenarios to enable / disable certain controls 2011-12-26 22:51:48 +00:00
Mark Vejvoda
ca03fab5aa - bugfixes for network scenarios to use proper fog of war settings from scenario (also victory conditions etc) 2011-12-26 07:11:52 +00:00
Mark Vejvoda
0338841689 - initial code to try out network based scenarios (not yet implemented for masterserver) 2011-12-26 06:29:14 +00:00
Mark Vejvoda
9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
dc6cd9281f - centralized finding map files and validation of map files. a New report at game start shows a list of invalid maps which will be ignored
- headless server now shows GUI messages in console
- made 'blocked player' button font smaller
2011-12-05 05:26:48 +00:00
Mark Vejvoda
a0888b8292 - add more info on corrupt map 2011-12-05 00:13:30 +00:00
Mark Vejvoda
049b2952f2 - bugfix for invalid language setting in userini
- added debug info to track down tomreyn's issue
2011-12-05 00:02:32 +00:00
Mark Vejvoda
860808a3bb - fixed UI to fit most language text comfortably 2011-12-03 10:02:33 +00:00
Mark Vejvoda
4cfca0846c - fixed font overlapping on master server menu 2011-12-03 09:08:50 +00:00
Mark Vejvoda
6c945a4aa6 - admin connected to a headless server can now restore auto saved game settings 2011-12-03 08:17:49 +00:00
Mark Vejvoda
7b8c8195b0 - fix map preview so it doesn't flicker 2011-12-03 02:23:06 +00:00
Mark Vejvoda
609bc528d2 - fixed fog of war bug in map preview for connected client
- in headless mode keep three caches in case its related to out of synch
- comment out spurious irc console text
2011-12-03 01:19:54 +00:00
Mark Vejvoda
8bdf863636 - cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda
d33e1174a5 - bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda
8ccd238fcf - language order sorted by english filename 2011-12-01 00:20:14 +00:00
Mark Vejvoda
6937785f22 - now display native language name in options menu 2011-11-30 23:35:54 +00:00
Mark Vejvoda
28ae161c25 force re-populate tileset and techtree UI after download 2011-11-29 03:25:36 +00:00
Mark Vejvoda
30972bcddb corrected font alingment when using combination of newline and tabs 2011-11-28 15:59:38 +00:00
Mark Vejvoda
fbb3f0b8e5 - faction threads now use semaphores to signal completion lowering cpu use on main thread 2011-11-26 23:11:33 +00:00
Titus Tscharntke
b8d71ffb0d color to devide empty and used ( headless ) servers 2011-11-25 23:49:07 +00:00
Mark Vejvoda
2a8c712b1a - more socket performance changes
- auto complete now works also in IRC chat, and tabbing loops through all matched names.
2011-11-25 09:12:53 +00:00
Mark Vejvoda
1935f9314b added new commandline to specify internal/external port #'s to use when hosting:
--use-ports=61390,61390
2011-11-23 21:36:49 +00:00
Mark Vejvoda
115ef63f57 - hardened code for standalone mods 2011-11-23 19:12:06 +00:00
Mark Vejvoda
3cdf50c399 - a load of bugfixes including:
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game
  - Added check for invalid particles for tileset objects
  - Made messagebox wider in game mod menu
  - Fixed numerous threading issues discovered while testing on my 8 core CPU
  - a Little bit of rendering cleanup
2011-11-23 08:00:09 +00:00
Mark Vejvoda
cf1e3509fe - commented out enabled observer at game end (automatically set to true now) 2011-11-21 02:08:51 +00:00
Mark Vejvoda
85ed894cdb - moved player game version text over and made its font smaller to be able to see more when long
- bugfix of segfault when in mod menu
2011-11-15 22:28:51 +00:00
Mark Vejvoda
41ae17757b - just for you james! Fixed about screen text alignment
- re-enabled unit titles in special debug mode (requires special keys to toggle)
2011-11-15 04:48:57 +00:00
Mark Vejvoda
8e9aef2d09 - attempt to fix issue where user can switch to an invalid slot in network game lobby 2011-11-14 05:44:43 +00:00
Mark Vejvoda
8050e25538 - attempt to fix masterserver losing publish setting and/or open network slot
- attempt to fix high cpu usage on masterserver (and clients) when waiting for others during the start of a network game
2011-11-14 05:18:09 +00:00
Mark Vejvoda
1c4480cb02 added a check for missing map when admin is connected to headless server and server has a map that the client doesn't 2011-11-05 01:27:34 +00:00
Mark Vejvoda
143e5873da bugfix when client connects to headless server and headless has a tileset or techtree the admin doesn't have 2011-11-05 01:17:11 +00:00
Titus Tscharntke
f0fb35b64d menu layout ... 2011-11-04 00:36:07 +00:00
Mark Vejvoda
22c8881902 - update fonts for console when language is toggled 2011-11-03 23:38:43 +00:00
Titus Tscharntke
772cdd9ad0 new newgame menu order. Improved german intro 2011-11-03 21:24:22 +00:00
Mark Vejvoda
96e0602ead small code cleanup 2011-11-03 20:36:56 +00:00
Mark Vejvoda
45d9261163 fixed autoconfig and default keys (thanksfor the patches david) 2011-11-02 19:11:58 +00:00
Mark Vejvoda
5dcd9d8714 fixed UI placement of playername in menus 2011-11-02 19:02:25 +00:00
Mark Vejvoda
30e1f45cc7 - intro is now fully translatable and configurable (see english.lng file at the bottom for intro strings)
- added game loading text strings to language file
- ONLY load the font type we are using
2011-11-02 17:17:28 +00:00
Titus Tscharntke
81c5d12324 mouse over highlighting for create game button and bugfix 2011-11-01 21:30:05 +00:00
Titus Tscharntke
9bc8ecb2c8 Host_Game instead of Custom_Game in Lan_Game/Internet_Game 2011-10-30 22:23:57 +00:00
Mark Vejvoda
d088028685 bugfix player control listbox to properly be enabled / disabled 2011-10-26 02:36:00 +00:00
Mark Vejvoda
50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Titus Tscharntke
aebe2aba24 reverted new game menu structure, as it is inconsistent 2011-10-23 10:55:54 +00:00
Titus Tscharntke
21760072a4 fixed name editing and cleanup 2011-10-23 10:49:36 +00:00