Commit Graph

1337 Commits

Author SHA1 Message Date
Mark Vejvoda
6028ff30a6 - see if this helps james (saves as utf8) 2012-12-27 19:27:14 +00:00
Mark Vejvoda
b98effd5f4 - fixed build for vc++ using new miniupnpc 1.7 2012-12-27 19:22:16 +00:00
Mark Vejvoda
4c94cedb85 - upgrade embedded miniupnpc to 1.7 (fixes build) 2012-12-27 18:59:38 +00:00
Mark Vejvoda
7fdd70402d - added support for libfribidi for languages requiring complex text rendering like Arabic and Hebrew 2012-12-27 08:24:30 +00:00
Mark Vejvoda
7a57668a91 - added support for libminiupnpc 1.7 2012-12-26 01:11:11 +00:00
Mark Vejvoda
f27e1c8d95 - added patch from freebsd for libdl.so 2012-11-30 23:40:27 +00:00
Mark Vejvoda
65b67d865a - updated to meet debian standards
- (changed mac osx file to utf-8)
2012-11-23 06:21:08 +00:00
Mark Vejvoda
0a5094c673 - bugfix for version checking 2012-11-22 23:46:00 +00:00
Mark Vejvoda
68d8ef11d8 - see if this hotkey fix is ok for titi 2012-11-21 18:54:50 +00:00
Mark Vejvoda
8979219f43 - patch to support lua 5.2 (from opensuse) 2012-11-21 15:22:15 +00:00
Mark Vejvoda
ab9ded4734 - patch for opensuse loading fonts 2012-11-21 15:16:57 +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
3f82137c03 - fix for irc bug when leaving internet lobby too soon 2012-11-19 20:14:23 +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
Mark Vejvoda
20def412bf - attempt to get new version system working 2012-11-15 00:35:49 +00:00
Mark Vejvoda
d322f73284 - bug fixes and patches from hasufell related to:
- fontconfig not working
- new cmake option to control inclusion of libvlc
- new commandline option to force where to look for fonts: --font-path=x
- removal of libluajit from cmake
2012-11-14 19:20:08 +00:00
Mark Vejvoda
9d4965ac4e - updated for debian compliance 2012-11-12 04:52:19 +00:00
Mark Vejvoda
0cd2389e95 - updated for debian compliance 2012-11-12 04:50:34 +00:00
Mark Vejvoda
2469503128 - updated for debian compliance 2012-11-12 04:42:05 +00:00
Mark Vejvoda
24fae99539 - remove unused code as debian flagged it as potentially unsafe 2012-11-12 04:18:43 +00:00
Mark Vejvoda
847f97a048 - try to force focus on main window at startup 2012-11-11 05:31:11 +00:00
Mark Vejvoda
1966710628 - more detailed error handling for bad textures and/or models and sounds 2012-11-11 04:52:26 +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
8a0390db35 - cleanup compiler warnings 2012-11-10 07:31:21 +00:00
Mark Vejvoda
2e14844a24 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 07:03:47 +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
8793b3400b - bugfix for backspace on mac 2012-11-09 21:05:43 +00:00
Mark Vejvoda
51ca2ccc91 - some cleanup of the irc code 2012-11-09 07:09:53 +00:00
Mark Vejvoda
16b85dbe79 - added another patch from cygal (he's on fire people!) to word wrap messagebox text
- remove newlines from english text where appropriate
2012-11-07 21:24:44 +00:00
Mark Vejvoda
29da478bd5 - more cppcheck code cleanup 2012-11-06 03:52:27 +00:00
Mark Vejvoda
75acb075e8 - fix compilation of freetype-gl font system 2012-11-02 21:43:35 +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
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
56bcd62d88 - more updates to support big endian 2012-11-01 16:25:15 +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
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
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
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
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
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
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
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
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
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
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
d6334c0c6b - bugfix to use correct port when removing non standard upnp port forwards 2012-10-16 16:23:24 +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
646a066ec4 - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 08:17:31 +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
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
e63e634e1e - added a bit more lua and updated capture enemy flag 2012-10-13 07:33:33 +00:00
Mark Vejvoda
86c083837b - add lua's io package to unsafe list 2012-10-12 14:10:19 +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
Mark Vejvoda
a70320dd9f - property files can start a comment with # also 2012-10-10 23:16:37 +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
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
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
2061581be0 - added macro for older libvlc compiling 2012-09-27 21:22:17 +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
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
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
74cca86b3f - added new commandline option --connect=x:y format as requested 2012-09-25 21:52:23 +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
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
8e88b36723 - removed pathfinder from GAE and all references 2012-09-22 21:39:13 +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
684c35e25a - fix text entry so unicode characters work properly 2012-09-21 03:41:10 +00:00
Mark Vejvoda
3368ee3c96 - some crc debug info 2012-09-18 09:13:17 +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
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
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
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
0309e83791 - attempt to have windows screen come to forefront sooner 2012-07-27 19:08:41 +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
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
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
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
5cb761e5a6 - hint text now centered on screen when game is loading 2012-07-20 19:00:49 +00:00
Mark Vejvoda
bc794178aa - attempt to stabilize socket send a little better 2012-07-20 15:21:32 +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
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
Mark Vejvoda
5d129d7569 - force CRC's to be recalculated if on or before July 6 2012 2012-07-07 05:53:26 +00:00
Mark Vejvoda
b5b2c623fe - working on crc bug 2012-07-07 03:42:53 +00:00
Mark Vejvoda
2e7897e5b9 - working on crc calc bug 2012-07-07 03:31:12 +00:00
Mark Vejvoda
4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Mark Vejvoda
bf0e76c5e7 - added some debugging to figure out CRC issue 2012-07-07 01:16:50 +00:00
Mark Vejvoda
e8288e9c42 - more logging to track down cold's issue 2012-07-06 22:32:45 +00:00
Mark Vejvoda
973c38be8d - fix invalid check for log buffer count 2012-07-06 22:12:21 +00:00
Mark Vejvoda
91f608d800 - more logging to track down cold's issue 2012-07-06 21:58:21 +00:00
Mark Vejvoda
eee0d0ab2e - more logging to track down cold's issue 2012-07-06 21:28:54 +00:00
Mark Vejvoda
2572fcf561 - more logging to track down cold's issue 2012-07-06 21:01:45 +00:00
Mark Vejvoda
2ad24dbe2a - bugfix for windows build and attempt to handle opengl fullscreen init better on windows 2012-07-04 01:23:04 +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
a8af70cee1 - when disabling backtrace ensure console output only shows direct errors without backtrace 2012-07-03 00:19:23 +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
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
Mark Vejvoda
cb7bd8ff04 - added menu option and commandline parameter to disable video playback 2012-06-09 05:02:01 +00:00
Mark Vejvoda
c629fae830 - cmake now dynamically detects some versions of miniupnpc 2012-06-05 22:29:43 +00:00
Mark Vejvoda
f78f6bba9b - cmake now dynamically detects some versions of miniupnpc 2012-06-05 22:25:46 +00:00
Mark Vejvoda
771c6d5bd6 - fix file CRC calcs
- fix validation for techs to properly handle special file paths
2012-06-04 04:00:37 +00:00
Mark Vejvoda
6f48ec6330 - play no videos when running special commands like validations 2012-06-04 00:11:29 +00:00
Mark Vejvoda
35b917106c videos properly resize on different resolutions 2012-06-01 04:59:53 +00:00
Mark Vejvoda
19573a5f12 - attempt to fix build for users with libvlc version older than 1.1.13 2012-05-28 16:15:30 +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