Commit Graph

3027 Commits

Author SHA1 Message Date
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
Mark Vejvoda 2061581be0 - added macro for older libvlc compiling 2012-09-27 21:22:17 +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 5d72c3f72b - bugfix for looping 2012-09-27 01:18:50 +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
Tom Reynolds bde7b5d94d servers.ini: new IP address for summoner
source/shared_lib/CMakeLists.txt: minor typos
2012-09-22 23:18:26 +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
Mark Vejvoda 3368ee3c96 - some crc debug info 2012-09-18 09:13:17 +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 1072223b48 Now a working version for of the g3d importer/exporter for blender 2.63! ( Includes "non-selectable"-feature too now ) 2012-09-01 19:25:08 +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 231d86b4f6 - only ask to save map when a change is made 2012-08-10 17:59:04 +00:00
Mark Vejvoda c982bce20f - added check for required opengl features 2012-08-10 07:10:47 +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
Tom Reynolds ca2ded738f * Add preliminary server side support for linking to gameservers on the web
* Fix typo on masterserver HTML output refresh header
* Better style for masterserver HTML output
2012-08-10 01:52:16 +00:00
Tom Reynolds f23a216087 HTML server list now allows for refreshing every 10+ seconds and filtering by game server version 2012-08-07 19:19:06 +00:00
Tom Reynolds 30f1c47dd9 Hello HTML5! 2012-08-07 02:31:08 +00:00
Tom Reynolds 6796715678 More human friendly server list, external stylesheet 2012-08-07 02:05:28 +00:00
Tom Reynolds 74f2b25752 slightly improved HTML server list 2012-08-06 00:15:32 +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 39c85914e9 - updated to add more verbose info on startup when verbose enabled
- updated some projects for debug mode
2012-08-01 19:06:23 +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 19937c7512 - removed MD5 related classes as we will not support it after all. 2012-07-31 16:49:31 +00:00
Mark Vejvoda 61256fe999 - play intro music as soon as possible 2012-07-27 19:22:57 +00:00
Mark Vejvoda 0309e83791 - attempt to have windows screen come to forefront sooner 2012-07-27 19:08:41 +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 f681b309a9 - turned off the interpolation cache which was taking too much memory. Please test this to see if performance is affected, this should REALLY help with memory usage. 2012-07-22 00:04:44 +00:00
Mark Vejvoda e1054d6e07 - fixed memory leaks in map editor, g3dviewer and the game 2012-07-21 20:21:27 +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 bc794178aa - attempt to stabilize socket send a little better 2012-07-20 15:21:32 +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
Tom Reynolds fb2f643131 Make Linux system_report tool spell out the OS architecture 2012-07-19 11:08:29 +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 a55397c5f6 - more safe way to accumulate stack trace and not run out of buffer space. 2012-07-17 23:36:00 +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
Tom Reynolds 07c6fb2720 nerd work 2012-07-17 20:32:27 +00:00
Titus Tscharntke d382fa46fd fix for wrong CRCs in Mod menu 2012-07-16 23:03:56 +00:00
Titus Tscharntke 734e744727 new blender exporter from GAE for blender 2.63 and later 2012-07-16 21:43:35 +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
Tom Reynolds de0362e8d8 Linux support utility renamed and improved 2012-07-15 17:21:38 +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