Commit Graph

2581 Commits

Author SHA1 Message Date
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
61ffcf8252 - cleaned up compiler warning 2012-10-22 06:44:38 +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
8a7190f6f1 - fixed windows build 2012-10-19 02:01:40 +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
829a72db35 - added new intro video by Tiger
- bugfix for video display
- cleaned more code wanrings from cppcheck
2012-10-18 07:49:50 +00:00
Mark Vejvoda
c898371d6c - added a few new items to the save/load game logic 2012-10-17 22:57:04 +00:00
Mark Vejvoda
505206059b - added new lua method for Muwuum:
void giveStopCommand(int unitId)
	bool selectUnit(int unitId)
	void unselectUnit(int unitId)
	void addUnitToGroupSelection(int unitId,int groupIndex)
	void recallGroupSelection(int groupIndex)
	void removeUnitFromGroupSelection(int unitId,int group)
	void setAttackWarningsEnabled(bool enabled)
	bool getAttackWarningsEnabled()
2012-10-17 20:15:50 +00:00
Mark Vejvoda
45c62dee1b - allow querying a headless even when no clients connected 2012-10-16 22:34:18 +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
9634ba58d4 - fixed faction previews for linked factions 2012-10-16 19:07:50 +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
bfe0723e10 - bugfix in hotkey jumping in listboxes 2012-10-15 22:56:49 +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
6fdd71cb9e - bugfix for lua usage of system generated cell flashing 2012-10-15 20:39:54 +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
abb525fbd1 - Shift+letter when clicking tileset,map or techtree will advance properly in the clicked direction 2012-10-15 08:28:00 +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
0c7d089b93 - bugfix for validation (Accidentally removed morph command check) 2012-10-15 06:13:08 +00:00
Mark Vejvoda
b65bdee592 - added more info to error message 2012-10-15 00:48:05 +00:00
Mark Vejvoda
6c62d675c3 - validation now checks for spawn attack units so it does not mis-report suck skills
- badly named texture in g3d model now reports which model file has the problem
2012-10-14 23:57:49 +00:00
Mark Vejvoda
4a972c9499 - fix invalid report of missing files of the linked faction xml when using linked factions 2012-10-14 21:59:35 +00:00
Mark Vejvoda
68b1ae54b5 - validation now works on techtree's with linked factions 2012-10-14 21:40:35 +00:00
Mark Vejvoda
e63e634e1e - added a bit more lua and updated capture enemy flag 2012-10-13 07:33:33 +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
Mark Vejvoda
87c3a11876 - bugfix for lua setUnitPosition method 2012-10-12 21:50:00 +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
Mark Vejvoda
a9d5af5261 - updated unit already in cell error with more detail 2012-10-11 14:23:31 +00:00
Mark Vejvoda
6b324cbb4e - added second round of security sandboxing for lua scripts (disable a number of other potentially dangerous functions) 2012-10-11 06:10:21 +00:00
Mark Vejvoda
e3e3832070 - added first round of security sandboxing for lua scripts (disable the os library) 2012-10-11 05:17:37 +00:00
Tom Reynolds
8cc9c760e1 no more blank spaces in translation keys 2012-10-11 00:26:00 +00:00
Mark Vejvoda
5c0090d488 - bug fixes for free cell lua functions 2012-10-10 19:56:52 +00:00
Mark Vejvoda
4a63060b71 - added two new lua functions:
networkSetCameraPositionForFaction(int factionIndex,Vec2i pos)
networkSetCameraPositionForTeam(int teamIndex, Vec2i pos)
2012-10-10 18:28:55 +00:00
Mark Vejvoda
84452f8633 - added new cell trigger lua function to be able to detect when any unit enters or exits a region of cells:
int registerCellAreaTriggerEvent(Vec4i pos)
int getCellTriggeredEventAreaEntryUnitId();
int getCellTriggeredEventAreaExitUnitId();
2012-10-10 05:44:14 +00:00
Mark Vejvoda
0449fbea2b - attempt to bugfix out of synch when players disconnect and we switch to AI 2012-10-10 00:27:34 +00:00
Mark Vejvoda
1d98015d5d - attempt to bugfix out of synch when players disconnect and we switch to AI 2012-10-09 23:18:07 +00:00
Mark Vejvoda
165f281f92 - added a few new lua functions to check if a cell is free 2012-10-09 20:03:09 +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
5fd233c72b bugfix for buttons in message boxes. Init is init and not reuse ... 2012-10-06 19:01:13 +00:00
Titus Tscharntke
60355fa55d layout cleanup of option menus network section 2012-10-06 18:22:48 +00:00
Mark Vejvoda
c5ac0cc8e3 - fix min player for headless game message 2012-10-06 17:50:27 +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
Titus Tscharntke
b05adbc6d5 make sure humans cannot cheat with multipliers 2012-10-06 10:05:34 +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
2a80dd7c3c - more cppcheck code cleanup 2012-10-06 03:42:31 +00:00
Mark Vejvoda
97ba1a27e2 - cleaned up some warnings from VC++ compiler 2012-10-06 02:40:24 +00:00
Mark Vejvoda
c39da4cd69 - code cleanup from cppcheck 2012-10-06 02:10:23 +00:00
Mark Vejvoda
1a7f3d50ca - bugfix for broadcast override 2012-10-06 00:37:21 +00:00
Mark Vejvoda
fd48fe18e4 - added new ini option to allow for custom broadcast port for LAN game discovery:
BroadcastPort=x
where x is the custom port for discovery
2012-10-06 00:34:08 +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
Mark Vejvoda
eecbed5090 - updated game loading info to show # skills loading 2012-10-04 06:01:47 +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
Titus Tscharntke
f4a200e949 fix for wciows "free camera" bug ( http://glest.org/glest_board/index.php?topic=8640.0 ) 2012-10-03 20:13:11 +00:00
Mark Vejvoda
ae5018c4dc - do not continuously throw errors in game 2012-10-02 06:20:39 +00:00
Mark Vejvoda
949f62209d - prepare for 3.7.0-beta1 2012-09-28 03:56:46 +00:00
Titus Tscharntke
b65ff48d29 A technically more simple way to set the camera mode 2012-09-27 21:10:28 +00:00
Mark Vejvoda
5e57921fef - some speed optimizations in areas mentioned by perf tool 2012-09-27 15:04:28 +00:00
Mark Vejvoda
4e195e10af - updated random seed generation to be more random 2012-09-27 06:42:57 +00:00
Mark Vejvoda
732f5260a1 - corrected default progress bar height (since its often chopping off font) 2012-09-27 06:12:53 +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
Titus Tscharntke
de3b8355fb attack is possible in FP-view now 2012-09-26 23:21:49 +00:00
Mark Vejvoda
a21f2b705d - some video rendering optimizations 2012-09-26 23:16:29 +00:00
Titus Tscharntke
8dd43e2e31 finally I am a bit happy with the "f4" camera view 2012-09-26 22:52:21 +00:00
Titus Tscharntke
784ccb7e56 3rd person camera improved/fixed ( still not done ) 2012-09-26 19:25:35 +00:00
Mark Vejvoda
1db56463fd - try to make video performance a little better 2012-09-26 08:08:52 +00:00
Mark Vejvoda
4e3d27f8c0 - add faction path when using xml tags for battlend end videos:
<?xml version="1.0" standalone="no"?>
<faction battle-end-win-video="x_battle_end_win_video.avi" battle-end-lose-video="x__battle_end_lose_video.avi" >
2012-09-26 07:32:39 +00:00
Mark Vejvoda
2c2ce3a6b3 - add faction path when using xml tags for battlend end videos:
<?xml version="1.0" standalone="no"?>
<faction faction-battle-end-win-video="x_battle_end_win_video.avi" faction-battle-end-lose-video="x__battle_end_lose_video.avi" >
2012-09-26 06:52:39 +00:00
Titus Tscharntke
3db7d017e3 removed camera stuff from unit and the camera following a unit is much more smooth now. ( Not finished, work in progress ) 2012-09-26 00:15:37 +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
75011d84d5 - added support for custom music on battle end screen:
look for music in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-music="<path to music>"
faction-battle-end-lose-music="<path to music>"
if not defined 2. check the faction folder for the files:
battle_end_win_music.*
battle_end_lose_music.*
if not found check the data/core/menu/music/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 01:52:09 +00:00
Mark Vejvoda
3ede912b9a - added support for custom video's on battle end screen:
look for videos in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-video="<path to video>"
faction-battle-end-lose-video="<path to video>"

if not defined 2. check the faction folder for the files:
battle_end_win_video.*
battle_end_lose_video.*

if not found check the data/core/menu/videos/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 00:23:25 +00:00
Mark Vejvoda
9e75b9144c - removed cell marker from popup menu and moved to hotkeys (f2 add f3 remove)
- added a new experiemntal feature called 'follow unit'. select 1 unit then press f4 and when the unit moves the camera tries to look from the units perspective. To turn this off select no unit and press f4.
2012-09-24 17:13:27 +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
871b6c4a6e - removed deprecated 'fast' pathfinder that wasn't fast enough and is not going to be used 2012-09-22 21:05:06 +00:00
Mark Vejvoda
d91e72a825 - windows compile bugfixes 2012-09-22 21:00:31 +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
b1cc8592fd - deprecated the ini setting: EnableFastPathFinder 2012-09-22 17:51:42 +00:00
Mark Vejvoda
fd9c9856cf - add a silent ini setting in case the auto lag code needs to be turned off down the road: AutoClientLagCorrection=true (hard coded, add and set as false in ini if required, this onhly affects game hosts) 2012-09-22 05:37:43 +00:00
Mark Vejvoda
c5907717f0 - ensure client that gets kicked knows he should also quit so he doesn't get a timeout message after disconnect 2012-09-22 05:26:58 +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
c0104858f0 - bugfix to show correct player info on disconnect 2012-09-22 02:17:49 +00:00
Titus Tscharntke
5b6ffbd361 again new morphing feature: better way to handle the blocked places for morphing units 2012-09-21 23:45:59 +00:00
Mark Vejvoda
a4ad1f5aea - bugfixes for network player disconnect feature 2012-09-21 15:03:13 +00:00
Mark Vejvoda
b7f72be930 - added the ability for admin player to disconnect other network players in game from a new popup menu 2012-09-21 05:45:09 +00:00
Mark Vejvoda
684c35e25a - fix text entry so unicode characters work properly 2012-09-21 03:41:10 +00:00
Mark Vejvoda
c50469acd7 - limit users to a max of 5 cell markers and use team color when placed 2012-09-21 00:54:22 +00:00
Titus Tscharntke
00c9a4c15c hopefully last bugfix for new reserved morph space feature. 2012-09-21 00:21:23 +00:00
Titus Tscharntke
2c9e0d9e7d lets try if this works ( no need to restore special playernames ) 2012-09-20 22:24:15 +00:00
Mark Vejvoda
9fc64f4878 - limit players to 5 cell markers max at any given time 2012-09-20 22:18:10 +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
d4edad893c - changed cell mark / unmark icons 2012-09-20 04:53:58 +00:00
Mark Vejvoda
6ea34ea46c - added cell hint text entry when placing cell markers (supports \n and \t for text formatting) 2012-09-20 04:10:34 +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
f2585ebaae fallback multiplier for CPUs playing for disconnected player. Should work now, needs testing . 2012-09-18 23:36:51 +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
78643ddcfc savegame/loadgame works too now with the new blocking feature. 2012-09-15 23:43:31 +00:00
Titus Tscharntke
4f19451a6a dying units did not clear their fields the way it was meant :) 2012-09-14 23:46:01 +00:00
Titus Tscharntke
3e0e9620ae fixed a bug which prevented you from selecting units directly after loading a game 2012-09-13 22:40:14 +00:00
Titus Tscharntke
ed91a7c59b morph with blocking places works now. I still want to cleanup this after some discussion with softcoder ( some things marked with TT ) 2012-09-13 21:50:07 +00:00
Titus Tscharntke
5373c9cf6b only render morph effect if morphed units will have bigger size or will be in another filed ( air/land ). Stil something is wrong with blocking units in the air while morphing. 2012-09-11 22:50:59 +00:00
Titus Tscharntke
6bd5e236de a bit slower animation for morphing effect 2012-09-11 22:29:54 +00:00
Titus Tscharntke
75dfebade5 does this morph effect look better? Morph to/from air/land is also supported now 2012-09-11 22:16:44 +00:00
Titus Tscharntke
75032c3287 reserve unit place while morphing. (first try) 2012-09-11 21:16:24 +00:00
Titus Tscharntke
c2d43c8b86 Chatmode does not disable autmatically. Lets try if this works . 2012-09-09 18:21:27 +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
Titus Tscharntke
f2027bea58 Default Language is always used as fallback, just a console message is given about missing strings. Lets see if this is what we want... 2012-09-02 19:33:32 +00:00
Titus Tscharntke
7aa365c3a1 Game duration displayed in hh:mm:ss ( same for disconnect time of players ) 2012-09-02 09:04:36 +00:00
Titus Tscharntke
b9b6f9ef1a new game hints and german translation . ( hints are in data/lang now ) 2012-09-01 19:31:49 +00:00
Titus Tscharntke
b2e869acc3 scrolling stops when entering chat mode and holding down cursor keys, but scrolling with mouse is still possible. 2012-09-01 19:18:31 +00:00
Titus Tscharntke
2bdc487cce fix for "non-selectable" feature, its tested and works now! 2012-09-01 18:38:01 +00:00
Mark Vejvoda
2a06197acd - added new commandline option to disable opengl capability checks to help trouble shoot users with bad video drivers: --disable-opengl-checks
(same as ini setting: CheckGlCaps=false)
2012-08-16 22:36:04 +00:00
Mark Vejvoda
7d3a5ae43e - make everyone happy regarding the clock:
InGameClock=true
InGameLocalClock=true
2012-08-16 21:15:31 +00:00
Mark Vejvoda
d58ea5f57c - added titles and local time as well 2012-08-16 06:31:02 +00:00
Mark Vejvoda
648c3e190a - added patch from Taoki for showing time of game day under minimap (thanks) 2012-08-15 14:37:27 +00:00
Mark Vejvoda
3c1651d084 - bugfix when moving camera and entering chat mode 2012-08-13 23:29:59 +00:00
Mark Vejvoda
e2fcf9ed94 - bugfix for lighting of tileset objects, when rotated objects had weird lighting causing random light patterns to show on them. 2012-08-13 21:46:27 +00:00
Mark Vejvoda
f8630e086e - fixed faction previews for linked factions 2012-08-10 20:06:41 +00:00
Mark Vejvoda
4b586bc7b3 - added more opengl checking to see if the user has enough support to run megaglest.
- for windows users, bring error message dialog in front of everything else
2012-08-10 06:19:35 +00:00
Mark Vejvoda
ee2c02610d - updated copyright headers is some files that had them missing
- added a new language string for battle end screen
2012-08-02 00:57:28 +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
61256fe999 - play intro music as soon as possible 2012-07-27 19:22:57 +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
778bb788ef - do not display missing lang string errors on console unless in verbose mode 2012-07-26 15:39:44 +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
8dc59d74f7 - better handling of edit mode click 2012-07-26 07:06:12 +00:00
Mark Vejvoda
8d6cdfb5db - tomreyn broken the intro text centering but adding empty intro text properties, so i commented the properties out
- added more info / safer logic to center text
2012-07-26 06:47: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
8d168bdb4c - add playername to console output when server waits for a client to catch up 2012-07-21 04:34:55 +00:00
Mark Vejvoda
acb648904c - attempt to stop clients from lagging too much and output to console 2012-07-21 00:55:57 +00:00
Mark Vejvoda
159a273aa1 - bold change to see what this does for network play (CAUTION THIS is for testing only and may be reverted) 2012-07-21 00:23:27 +00:00
Mark Vejvoda
0b9ad4c457 - added support for throwing known errors and skipping stack traces (For friendlier error messages) 2012-07-20 23:51:10 +00:00
Mark Vejvoda
ed9ae076c5 - attempt to fix pizza's crash
- safer use of random # in unit updater (not backward compatible with other builds)
2012-07-20 23:07:44 +00:00
Titus Tscharntke
ed6961195f Disconnect time of early leavers is shown in end game stats. 2012-07-20 22:24:27 +00:00
Mark Vejvoda
c42d44a53a - attempt to fix pizza's crash 2012-07-20 22:18:34 +00:00
Mark Vejvoda
2204e0577c - if hint text title is missing in language file, default to english 2012-07-20 22:04:46 +00:00
Mark Vejvoda
5cb761e5a6 - hint text now centered on screen when game is loading 2012-07-20 19:00:49 +00:00
Mark Vejvoda
366160fee7 - updated error message to be more clear and specify which techtree is involved 2012-07-20 15:31:56 +00:00
Mark Vejvoda
f3d7c5e5cb - attempt to allow special key (alt) as allowed for quick signal to team, requires user to add this to glestuserkeys.ini:
SetMarker=left alt
(does not work in latest ubuntu as alt key is used for Unity)
2012-07-20 14:38:28 +00:00
Mark Vejvoda
1c52f28185 - change team # in end game stats for team switching 2012-07-19 23:21:55 +00:00
Titus Tscharntke
d217777f85 player end stats should show only players as laevers who left while game was running. ( feature not finished yet ) 2012-07-18 23:52:44 +00:00
Mark Vejvoda
bec8df9feb - made another debug statement only show in verbose mode 2012-07-18 16:01:19 +00:00
Mark Vejvoda
63fb9bd2cf - removed debug stacktrace in ObjectParticleSystemType 2012-07-18 14:31:56 +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
e4cec7319e - added more error checking in scenarios 2012-07-18 00:21:39 +00:00
Mark Vejvoda
de2e889a4f - added more error checking in scenarios 2012-07-18 00:15: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
Mark Vejvoda
9f0546c008 - set correct exit codes (for tomreyn)
- fix loading when too many units on map (do not segfault)
- deprecate ThreadedNetworkClient setting
2012-07-17 23:04:30 +00:00
Titus Tscharntke
25a4b83b83 sonar ping only for teammates 2012-07-17 21:29:39 +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
69f4294950 playing a sound for quick highlight pointer(marker) 2012-07-15 21:01:56 +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
Titus Tscharntke
46cc1f18aa no more camera (drag)move while giving commands via minimap. Only move camera if click started in minimap. 2012-07-15 09:50:44 +00:00
Titus Tscharntke
d10d5fc770 hopefully working implementation of mpfNoSelect from this discussion: http://glest.org/glest_board/index.php?topic=8165.msg82932#msg82932 2012-07-14 21:29:15 +00:00
Titus Tscharntke
0043511e0a less alpha for building ghosts, 'X' key for highlighting, no camera move while highlighting 2012-07-13 23:19:53 +00:00
Titus Tscharntke
73919c860d New quick highlight pointer for minimap ( we need another key for this, at the moment its "shift" ) 2012-07-13 21:50:34 +00:00
Mark Vejvoda
1de23b6f1a - allow for left button click in minimap and move mouse will move the camera 2012-07-13 02:03:15 +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
a97f8ead7e - added headless min player required message
- remove configurator from linux installer
- bugfix for headless stats connected player counts
2012-07-10 13:49:49 +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
Titus Tscharntke
36ef593c56 \n after hint 2012-07-10 00:33:45 +00:00
Mark Vejvoda
490ba7e824 - headless admin cannot launch a game unless there are at least two players connected 2012-07-07 05:35:25 +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
eee0d0ab2e - more logging to track down cold's issue 2012-07-06 21:28:54 +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
Mark Vejvoda
27b5d40bf8 - commandline override options now stored in a different buffer so that they will not be saved in ini files 2012-07-06 16:29:49 +00:00
Mark Vejvoda
b898017da9 - bugfix for server network listening to port and allow forcing ip address to bind to:
ServerAdminBindAddress=127.0.0.1
is hard coded as the default
2012-07-06 14:41:23 +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
d9e2a64bb3 *NOTE: This is not backwards compatible with previous builds
- disable the alpha fog of war cache as it takes too much RAM (not sure if it really improves performance that much)
- inline some common functions for speed
2012-07-03 19:31:52 +00:00
Mark Vejvoda
51d56926cc - return to previous menu when tutorials / scenarios are empty 2012-07-03 00:26:27 +00:00
Mark Vejvoda
a8af70cee1 - when disabling backtrace ensure console output only shows direct errors without backtrace 2012-07-03 00:19:23 +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
04442af2e9 - more alpha on building ghosting 2012-06-24 02:09:13 +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
0f5cb29919 - build silhouette now uses team colour and you see all team players building placement
- improve performance when rending cell markers
2012-06-22 13:30:15 +00:00
Mark Vejvoda
e94d7b2fef - bugfix for cell markers to avoid out of synch 2012-06-22 05:46:19 +00:00
Mark Vejvoda
d10493edc0 - fixed the accuracy for cell markers 2012-06-22 05:40:23 +00:00
Mark Vejvoda
acc2a5f9c9 - show light green with alpha silhouette of building when unit is moving to a location to build another unit 2012-06-22 04:58:44 +00:00
Mark Vejvoda
00d99eecd7 - bugfix for loading older saved games (I added a new network player status which may not exist in older saved games). This should fix Pizza's load game issue 2012-06-22 02:18:19 +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
Mark Vejvoda
9209c5fdbc - bugfix for scenario validation to find standard techtrees 2012-06-22 01:48:31 +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
a9049ac887 hints while loading with language support and keycode replacement. 2012-06-19 00:32:39 +00:00
Titus Tscharntke
dc99918cfe first working version of "game hints" displayed while loading. ( still missing language support and techtree specific hint support ) 2012-06-17 22:52:30 +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
81cc68305c - added the ability to remove cell markers 2012-06-13 16:19:44 +00:00
Mark Vejvoda
943dcef9fe - first pass of VERY ROUGH crude implementation of 'cell markers'. Need to properly find icons, apply alpha to icon on the map and add support for notes when user hovers over the marker. 2012-06-12 20:37:00 +00:00
Mark Vejvoda
c187d4d014 - changed disconnected playername to: *AI* - playername 2012-06-11 23:50:30 +00:00
Mark Vejvoda
b965343496 - added ability to show a user is disconnected from the game 2012-06-09 15:21:18 +00:00
Mark Vejvoda
cb7bd8ff04 - added menu option and commandline parameter to disable video playback 2012-06-09 05:02:01 +00:00