Commit Graph

3284 Commits

Author SHA1 Message Date
Mark Vejvoda
bf22297b65 - added some debug code for network protocol 2012-11-03 02:44:39 +00:00
Mark Vejvoda
ca0ffef766 - added some debug code for network protocol 2012-11-03 01:29:20 +00:00
Mark Vejvoda
b6a25c8212 - added some debug code for network protocol 2012-11-03 01:23:48 +00:00
Mark Vejvoda
63ad898c72 - attempt to get new network protocol working on arm 2012-11-03 00:19:13 +00:00
Mark Vejvoda
75acb075e8 - fix compilation of freetype-gl font system 2012-11-02 21:43:35 +00:00
Mark Vejvoda
b4ecc82fba - added code for new network protocol (disabled by default as i need to test this on arm) 2012-11-02 20:37:48 +00:00
Mark Vejvoda
b168f450b5 - scrollbar patch applied from cygal / quentin --> Thanks 2012-11-02 20:07:50 +00:00
Mark Vejvoda
61c86c15d1 - added code for new network protocol (disabled by default as i need to test this on arm) 2012-11-02 19:08:55 +00:00
Tom Reynolds
f128d40def More space, lesser parantheses for 'headless' prefix on server title 2012-11-02 17:48:25 +00:00
Mark Vejvoda
7243a22abc - added byte order logic for loading textures and sounds 2012-11-01 23:07:51 +00:00
Mark Vejvoda
00e075df97 - more byte order logic
- added new network packet debug
2012-11-01 22:00:55 +00:00
Mark Vejvoda
0d88936680 - added byte order logic for loading models 2012-11-01 21:22:38 +00:00
Mark Vejvoda
8c2ed1187f - working on arm support 2012-11-01 19:17:29 +00:00
Mark Vejvoda
caa37c3244 - working on arm support 2012-11-01 19:01:03 +00:00
Mark Vejvoda
b12ade1ada - test data size 2012-11-01 18:48:24 +00:00
Mark Vejvoda
1346cc6024 - test byte order conversion 2012-11-01 18:22:25 +00:00
Mark Vejvoda
56bcd62d88 - more updates to support big endian 2012-11-01 16:25:15 +00:00
Mark Vejvoda
c1ec7a395c - more updates to support big endian 2012-11-01 07:03:58 +00:00
Mark Vejvoda
e0efa229c5 - more updates to support big endian 2012-11-01 06:36:35 +00:00
Mark Vejvoda
3bba236d02 - more updates to support big endian 2012-11-01 06:21:35 +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
b5dc847b66 - added new byte order code 2012-11-01 00:20:17 +00:00
Mark Vejvoda
b6b1abd43e - added new byte order code 2012-11-01 00:19:46 +00:00
Mark Vejvoda
3303d382e3 - fix font sizes when loading values from lng files 2012-11-01 00:18:38 +00:00
Mark Vejvoda
7010ddd153 - initial attempt at making network messages endian friendly 2012-11-01 00:06:23 +00:00
Mark Vejvoda
be8564acc6 - get better error details on bad slot switch data 2012-10-31 20:50:42 +00:00
Mark Vejvoda
2fe92ec848 - attempt at getting perfection in debian lintian checks 2012-10-31 05:41:31 +00:00
Mark Vejvoda
5dd6214611 - populate defaults for english to avoid transifex over-writing values in other languages 2012-10-30 21:18:03 +00:00
Mark Vejvoda
6a734a0336 - removed unused includes of fontconfig to cleanup some code
- added a warning for developers with older versions of fontconfig, to disable using it
2012-10-30 20:03:23 +00:00
Mark Vejvoda
b5966c3049 - add optional to force non use of fontconfig 2012-10-30 19:47:31 +00:00
Mark Vejvoda
55c7d1976f - show final font file selected in verbose mode 2012-10-30 19:29:41 +00:00
Mark Vejvoda
1e8438eadb - add some more verbose info on font searching and cleanup a leak 2012-10-30 19:24:18 +00:00
Mark Vejvoda
6266d1831d - stub out admin port for mac osx 2012-10-30 18:03:03 +00:00
Mark Vejvoda
e86a1ea5c0 - added address and port to socket error 2012-10-30 17:47:19 +00:00
Mark Vejvoda
5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda
69b5f9b39c - added guard for intro randomization to avoid forever loop 2012-10-30 17:07:29 +00:00
Mark Vejvoda
8b2e2bfd5d - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 07:13:33 +00:00
Mark Vejvoda
b30909f90b - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 06:48:12 +00:00
Mark Vejvoda
b4990de52e - bugfix for cmake install for map editor and g3d viewer 2012-10-29 21:03:38 +00:00
Mark Vejvoda
1503956c55 - no runtime check for sse on mac (since the asm fails) with: error: can't find a register in class 'BREG' while reloading 'asm' 2012-10-29 20:37:00 +00:00
Mark Vejvoda
38a205c540 - bugfix to cmake install for map editor and g3d viewer 2012-10-29 19:47:58 +00:00
Mark Vejvoda
c0f29ccad2 - check for sse support when using gnu compilers 2012-10-29 07:45:26 +00:00
Mark Vejvoda
51be122b0c - explicitly check for sse cpu support at runtime (in windows)
- can disable this check using: --disable-streflop-checks
2012-10-29 07:28:55 +00:00
Mark Vejvoda
604ee7f7be - updated platform id strings 2012-10-27 22:38:14 +00:00
Mark Vejvoda
5f52c1a578 - updated version output to be more verbose about platform 2012-10-26 19:03:58 +00:00
Mark Vejvoda
828616ff27 - updated curl-info to show protocols supported by the libcurl used 2012-10-26 18:17:02 +00:00
Mark Vejvoda
6718ee22e3 - curl-info now shows if ssl is enabled 2012-10-26 16:19:50 +00:00
Mark Vejvoda
81989f5947 - bugfix if user clicks around while game loading
- cleanup from last checkin (corrections)
2012-10-26 04:35:14 +00:00
Mark Vejvoda
28d65e8d55 - cleanup from last checkin (corrections) 2012-10-26 03:08:40 +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
478c61d18f - remove configurator refs 2012-10-26 00:05:44 +00:00
Mark Vejvoda
bf38a83de3 - fix for compiling on arm using softfloat 2012-10-25 16:35:58 +00:00
Mark Vejvoda
5e3c4e28cf - no longer over-write special tag substitutions in ini files in order to preserve derived paths etc 2012-10-24 14:43:02 +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
6d2afae784 - fixed compile on windows 2012-10-24 01:09:53 +00:00
Mark Vejvoda
92de14ac98 - applied a patch from debian gcc 4.7 2012-10-24 00:26:12 +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
0ba70dbfe9 - updated version to 3.7.0-beta2 2012-10-22 23:29:25 +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
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
39191dc11e - added some safety checks when loading models (in case we have some corrupt data) 2012-10-18 17:59:19 +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
Titus Tscharntke
0f0d60e3bc crcnew in modcenters DB-Tables 2012-10-16 18:13:27 +00:00
Mark Vejvoda
d6334c0c6b - bugfix to use correct port when removing non standard upnp port forwards 2012-10-16 16:23:24 +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
646a066ec4 - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 08:17:31 +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
Mark Vejvoda
86c083837b - add lua's io package to unsafe list 2012-10-12 14:10:19 +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
a70320dd9f - property files can start a comment with # also 2012-10-10 23:16:37 +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
Tom Reynolds
b7d3bc6a5a favicon for masterserver 2012-10-09 23:36:36 +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
2f1ddf7776 - code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:27:32 +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
7f271d0b51 - attempt to fix issue where sometimes the screen starts black and does not render 2012-10-05 05:28:16 +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
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