Commit Graph

2537 Commits

Author SHA1 Message Date
Mark Vejvoda
fe72cb629b - updated to properly use fontconfig for finding fonts 2012-01-05 22:35:05 +00:00
Mark Vejvoda
ced374410c - added GAE compatible stubs for a few new lua methods 2012-01-05 20:01:22 +00:00
Mark Vejvoda
58f6ceb801 - fixed placement of map filter controls 2012-01-05 02:03:54 +00:00
Mark Vejvoda
e351def1cb - added new lua function to display playername:
getPlayerName(i)
2012-01-05 00:45:17 +00:00
Mark Vejvoda
6f924b310d - added new lua method to get system macro values:
dofile(getSystemMacroValue("$SCENARIO_PATH") .. "unit.ai.class.lua")
2012-01-05 00:04:55 +00:00
Mark Vejvoda
2e6fcb2d4a - comment out lua console debugging 2012-01-04 23:21:06 +00:00
Mark Vejvoda
7b69d3040f - bugfix on windows for autoscreenshots in g3d viewer 2012-01-04 21:43:34 +00:00
Mark Vejvoda
43c9d44bd6 - updated g3dviewer to output file found status on unit autoload 2012-01-04 19:59:12 +00:00
Mark Vejvoda
a1a0b9e79c - bugfix for not finding hud for scenarios with embedded techtree 2012-01-04 04:10:11 +00:00
Mark Vejvoda
a20b848646 - discovered a possible bug that may have caused people with valid VBO support to crash, this fix may resolve that issue. 2011-12-30 06:24:59 +00:00
Mark Vejvoda
ec2f889a76 - scenario pause command should work in network mode 2011-12-28 07:26:16 +00:00
Mark Vejvoda
61bebd6b86 - numerous fixed for network scenario handling 2011-12-28 04:46:36 +00:00
Mark Vejvoda
e45d42cd6f - bugfixes for network scenarios to enable / disable certain controls 2011-12-26 22:51:48 +00:00
Mark Vejvoda
ca03fab5aa - bugfixes for network scenarios to use proper fog of war settings from scenario (also victory conditions etc) 2011-12-26 07:11:52 +00:00
Mark Vejvoda
0338841689 - initial code to try out network based scenarios (not yet implemented for masterserver) 2011-12-26 06:29:14 +00:00
Mark Vejvoda
dfa8f4a7e2 - bugfix for handling of custom data path (Should not require strange escaping sequence) 2011-12-25 16:22:01 +00:00
Mark Vejvoda
835c886705 - few tweaks to get things compiling under mingw 2011-12-25 03:09:39 +00:00
Mark Vejvoda
2e94c32d59 - added ability to check if compiler supports SSE and if not fallback to X87 for streflop.
- added ability for clients to specify gamma override value for drivers which support it
2011-12-23 08:20:54 +00:00
Mark Vejvoda
496b847999 - bugfixes to build on debians multi-platform build system 2011-12-23 04:38:42 +00:00
Mark Vejvoda
2224d75d10 - updated copyright headers to the same as the rest of the main mg source for files i wrote. 2011-12-20 07:39:07 +00:00
Mark Vejvoda
eb1408550d - more debian related changes for better manpages 2011-12-20 07:00:23 +00:00
Mark Vejvoda
2298cc99a7 - more debian related changes for better manpages 2011-12-20 06:31:38 +00:00
Mark Vejvoda
cd046783c8 - updated man2help options 2011-12-20 06:09:33 +00:00
Mark Vejvoda
ea741cb0bb - updated man2help options 2011-12-20 05:51:10 +00:00
Mark Vejvoda
1fb7f74466 - server updates waiting message more frequently now on game loading 2011-12-20 02:36:04 +00:00
Mark Vejvoda
50021e7789 - cleanup of some manpage output (try to keep max width of 80 characters) 2011-12-19 23:29:33 +00:00
Mark Vejvoda
63032223ea - removed useless file 2011-12-19 20:21:21 +00:00
Mark Vejvoda
24bd9e921e - removed useless file 2011-12-19 20:09:20 +00:00
Mark Vejvoda
dbd1e03f12 - updated copyright for md5 source code from David Henry (with his permission). Info pasted into docs/COPYRIGHT.source_code.txt 2011-12-18 15:18:46 +00:00
Mark Vejvoda
ff52484af8 - moved file as requested by pabs 2011-12-17 23:15:25 +00:00
Mark Vejvoda
4548c6ebb8 - updated scripts to make release easier.
- incremented version to 3.6.0.2
2011-12-16 09:04:26 +00:00
Mark Vejvoda
ebba25b06f - updated so streflop can be totally ignored when that cmake switch is off 2011-12-16 06:24:21 +00:00
Mark Vejvoda
6a6b58fa20 - turn off building freetype-gl unless enabled in cmake flags 2011-12-16 05:30:46 +00:00
Mark Vejvoda
138d5b1295 - added blender scripts for blender 2.5x and 2.6x for g3d import / export 2011-12-16 01:21:52 +00:00
Mark Vejvoda
bb16ed2a65 - debian related changes 2011-12-15 11:16:14 +00:00
Mark Vejvoda
c11266d529 - fix custom player colors for mods 2011-12-14 23:01:13 +00:00
Mark Vejvoda
157c052a82 - allow mod's to change player colors 2011-12-14 22:42:38 +00:00
Titus Tscharntke
3e7b8a5aa8 Little fix to get rid of annoying black squares on left and right screen border when moving camera. It fixes some missing(black) parts of hills too ( not all of them but the obvious ones ). 2011-12-14 22:38:02 +00:00
Mark Vejvoda
92088ef1f6 - more bugfixes for properly install of manpages on debian 2011-12-14 16:57:56 +00:00
Mark Vejvoda
eca4f1934f - updated cmake builds scripts to not fail if help2man is not installed 2011-12-14 09:39:03 +00:00
Mark Vejvoda
17ce117c18 - bugfix for manpage location during install on debian 2011-12-14 08:33:10 +00:00
Mark Vejvoda
19d564dcd1 - fixes for build scripts to use common manpage variable name 2011-12-14 07:50:53 +00:00
Mark Vejvoda
9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
62a7186216 - updated build files to auto generate manpages for debian
- fixed spelling mistakes and broken links
2011-12-14 06:27:35 +00:00
Mark Vejvoda
ddca84a8b4 - default to regular selection buffer selection, but make optional support for color picking or frustum picking in case some players need it. 2011-12-14 02:25:14 +00:00
Mark Vejvoda
d64bf0a4c9 - disable color picking by default, and add error codes for selection buffer 2011-12-14 01:15:27 +00:00
Mark Vejvoda
2fd89f11d5 - performance improve for color picking using pbo 2011-12-13 22:50:14 +00:00
Mark Vejvoda
724d274367 - fixed pixel buffer logic on windows (wacky vc++ 2008 doesn't properly allocate memory on vector.reserve(); 2011-12-13 22:21:21 +00:00
Titus Tscharntke
dc4ba27048 no more long distance unit rendereing 2011-12-13 20:29:32 +00:00
Mark Vejvoda
c4dc1e616b - added support for pixel buffers and use it for color picking (eventually for screenshots) 2011-12-13 19:52:17 +00:00
Mark Vejvoda
2dd2afb296 - changed selection code to use color picking, can disable using new ini setting:
EnableColorPicking=false
2011-12-13 01:30:52 +00:00
Mark Vejvoda
b6d7d1234c - incremented version to 3.6.1-dev
- a few changes to opengl version checking (now uses glew)
2011-12-06 01:34:51 +00:00
Mark Vejvoda
dc6cd9281f - centralized finding map files and validation of map files. a New report at game start shows a list of invalid maps which will be ignored
- headless server now shows GUI messages in console
- made 'blocked player' button font smaller
2011-12-05 05:26:48 +00:00
Mark Vejvoda
a0888b8292 - add more info on corrupt map 2011-12-05 00:13:30 +00:00
Mark Vejvoda
049b2952f2 - bugfix for invalid language setting in userini
- added debug info to track down tomreyn's issue
2011-12-05 00:02:32 +00:00
Mark Vejvoda
dee5b11518 - updated version to 3.6.0 in prep for release 2011-12-03 17:44:54 +00:00
Mark Vejvoda
860808a3bb - fixed UI to fit most language text comfortably 2011-12-03 10:02:33 +00:00
Mark Vejvoda
1efb0b2b9a - bugfix for battle end screen font placement 2011-12-03 09:20:13 +00:00
Mark Vejvoda
4cfca0846c - fixed font overlapping on master server menu 2011-12-03 09:08:50 +00:00
Mark Vejvoda
4955090cb5 - commented out old debug output 2011-12-03 08:54:18 +00:00
Mark Vejvoda
8d89718a76 - fixed font overlapping on battle end screen 2011-12-03 08:43:48 +00:00
Mark Vejvoda
6c945a4aa6 - admin connected to a headless server can now restore auto saved game settings 2011-12-03 08:17:49 +00:00
Mark Vejvoda
8a5d4463a6 - fixed bug in sdl where it doesn't always give the correct key modifiers.
- can now press alt-enter on intro screen
2011-12-03 04:58:36 +00:00
Mark Vejvoda
46d68b8d50 -updated so all languages can take default values from the default language 2011-12-03 03:35:36 +00:00
Mark Vejvoda
7b8c8195b0 - fix map preview so it doesn't flicker 2011-12-03 02:23:06 +00:00
Mark Vejvoda
609bc528d2 - fixed fog of war bug in map preview for connected client
- in headless mode keep three caches in case its related to out of synch
- comment out spurious irc console text
2011-12-03 01:19:54 +00:00
Mark Vejvoda
01ea0787a3 - a few more updates to cut down on RAM use for headless server 2011-12-03 00:39:03 +00:00
Mark Vejvoda
3f69da1f62 - do NOT output missing language text messages in headless mode 2011-12-02 22:24:47 +00:00
Mark Vejvoda
8bdf863636 - cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda
8ed9498c4e - fixed win32 build 2011-12-02 18:05:54 +00:00
Mark Vejvoda
14d400ce04 - fixed win32 build 2011-12-02 17:57:07 +00:00
Mark Vejvoda
66f44ff7c4 - more cleanup from cppcheck (using eclipse plugin now) 2011-12-02 17:46:02 +00:00
Mark Vejvoda
f6dafcde3c - added stats on console for headless server when game exits 2011-12-02 17:27:13 +00:00
Mark Vejvoda
d33e1174a5 - bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Tom Reynolds
953435d549 * fix typo 2011-12-02 01:41:48 +00:00
Mark Vejvoda
27c4b2f629 - added more debug info for headless server conole results 2011-12-01 19:45:46 +00:00
Mark Vejvoda
d8f4c69a01 - ensure locale is properly set when converting numbers 2011-12-01 18:49:30 +00:00
Mark Vejvoda
1a2855f50f - updated windows to properly detect locale in windows (stupid non standard platform) 2011-12-01 08:05:36 +00:00
Mark Vejvoda
a994610574 - auto detect locale language and try to set language on first run 2011-12-01 02:31:00 +00:00
Mark Vejvoda
8ccd238fcf - language order sorted by english filename 2011-12-01 00:20:14 +00:00
Mark Vejvoda
6937785f22 - now display native language name in options menu 2011-11-30 23:35:54 +00:00
Mark Vejvoda
cd2daf09dc - new visibility frustum calculation is enabled by default 2011-11-30 21:27:03 +00:00
Mark Vejvoda
410201b313 - attempt to fix bug for new render visiblity 2011-11-30 17:56:58 +00:00
Mark Vejvoda
97378cf0ec - adding more debug info to rendering 2011-11-30 17:47:07 +00:00
Mark Vejvoda
ed072d27bb - adding more debug info to rendering 2011-11-30 16:51:51 +00:00
Mark Vejvoda
3b7e873a02 frustrum code can be re-enabled via ini setting:
EnableFrustrumCalcs=true
2011-11-30 07:39:24 +00:00
Mark Vejvoda
8996938e86 - disable new frustrum code for now 2011-11-30 07:27:45 +00:00
Mark Vejvoda
8445a5f616 - attempt to fix visible quad bug 2011-11-30 07:13:17 +00:00
Mark Vejvoda
4015520702 - bugfix the quad cache is now cleared properly at game start and end
- bugfix for debugging headless server caused segfault
2011-11-30 06:58:26 +00:00
Mark Vejvoda
b02c3123f6 - headless server bugfix during debugging as well as an attempt to improve rendering 2011-11-30 05:57:14 +00:00
Mark Vejvoda
99f8c23422 - added more deps to build static 2011-11-30 05:10:04 +00:00
Mark Vejvoda
156cc39311 fix for Mac osX 2011-11-29 10:16:29 +00:00
Mark Vejvoda
92ec24ea76 updated version # to beta2 in prep for new builds 2011-11-29 05:11:25 +00:00
Mark Vejvoda
7cf9c189b2 - disallow non compressed tileset downloads when client IP not on same subnet as host
- bugfix for LAN server broadcasting
- bugfix for empty message on player disconnect (now properly shows that player switched to AI mode)
2011-11-29 05:07:18 +00:00
Mark Vejvoda
28ae161c25 force re-populate tileset and techtree UI after download 2011-11-29 03:25:36 +00:00
Titus Tscharntke
1cd6520335 fast commands only for fighting / no regeneration when in "be_build" state 2011-11-29 00:54:38 +00:00
Mark Vejvoda
30972bcddb corrected font alingment when using combination of newline and tabs 2011-11-28 15:59:38 +00:00
Mark Vejvoda
c16cdad134 - more complete fix for debug render placement 2011-11-28 07:05:00 +00:00
Mark Vejvoda
cfe01253b9 fixed ambient sounds when rain is disabled. 2011-11-28 06:38:07 +00:00
Mark Vejvoda
21d06fd386 - bugfix for hp regeneration (Thanks for pointing this out Ishmaru) 2011-11-28 06:25:20 +00:00
Mark Vejvoda
1658306b59 - fixed debug output font position --> just for you james! 2011-11-28 05:54:31 +00:00
Mark Vejvoda
03a7a72ef5 revert network code back to beta1 code 2011-11-27 05:27:50 +00:00
Mark Vejvoda
058548c208 - adjust game start delay to 200 milis 2011-11-27 00:36:21 +00:00
Mark Vejvoda
2f53b3018d - add a delay for clients at game start so server is always ahead 2011-11-27 00:30:54 +00:00
Mark Vejvoda
5fd3457d70 - fixed socket changes for windows compiler 2011-11-27 00:11:18 +00:00
Mark Vejvoda
da854f103b - added some special ways to configure how sockets work on a system for testing 2011-11-27 00:07:55 +00:00
Mark Vejvoda
fbb3f0b8e5 - faction threads now use semaphores to signal completion lowering cpu use on main thread 2011-11-26 23:11:33 +00:00
Mark Vejvoda
7fb7b5e611 - more usage of multi read single write mutex locking 2011-11-26 09:00:57 +00:00
Mark Vejvoda
6c1c248d62 - attempt to fix network stuttering using a new multi-read single write mutex + semaphore class 2011-11-26 08:14:23 +00:00
Titus Tscharntke
b8d71ffb0d color to devide empty and used ( headless ) servers 2011-11-25 23:49:07 +00:00
Mark Vejvoda
ef125238e8 - continue trying to fix network issues 2011-11-25 22:38:25 +00:00
Mark Vejvoda
ff2252bf41 - rollback network changes 2011-11-25 21:56:36 +00:00
Mark Vejvoda
09241222ca - try to fix network stuterring 2011-11-25 21:30:32 +00:00
Mark Vejvoda
cbc4b0a8d3 another small tweak for cou use on unconnected sockets 2011-11-25 20:05:04 +00:00
Mark Vejvoda
82c9002d0a - attempt to further stabilize cpu usage and network reliability 2011-11-25 20:03:07 +00:00
Mark Vejvoda
4e882796a1 - a bold attempt to push the socket read threads to read continuously to see if this is:
a) stable without causing out of synch
b) not too hard on the CPU
2011-11-25 17:01:35 +00:00
Mark Vejvoda
2a8c712b1a - more socket performance changes
- auto complete now works also in IRC chat, and tabbing loops through all matched names.
2011-11-25 09:12:53 +00:00
Mark Vejvoda
d381f69a0e - bugfix for intro pictures to show
- updated czech language text (thanks Uncle)
2011-11-25 05:59:55 +00:00
Mark Vejvoda
e2135f76eb - attempt to fix network game play 'stuttering' 2011-11-25 05:37:55 +00:00
Mark Vejvoda
c6b7d3991e - attempt to fix network game play 'stuttering'
- bugfix for ip address gathering
- added tab autocomplete in chat windows for playernames
2011-11-24 23:15:21 +00:00
Mark Vejvoda
1935f9314b added new commandline to specify internal/external port #'s to use when hosting:
--use-ports=61390,61390
2011-11-23 21:36:49 +00:00
Mark Vejvoda
53ad9d77c2 - fixed font verticle centering for ftgl 2011-11-23 20:51:58 +00:00
Mark Vejvoda
115ef63f57 - hardened code for standalone mods 2011-11-23 19:12:06 +00:00
Mark Vejvoda
aefdfd98f8 - added new commandline option to support whole standalone mods: --load-mod=x 2011-11-23 18:02:00 +00:00
Mark Vejvoda
5aa34ebd08 - bugfix for sockets on windows 2011-11-23 08:11:30 +00:00
Mark Vejvoda
3cdf50c399 - a load of bugfixes including:
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game
  - Added check for invalid particles for tileset objects
  - Made messagebox wider in game mod menu
  - Fixed numerous threading issues discovered while testing on my 8 core CPU
  - a Little bit of rendering cleanup
2011-11-23 08:00:09 +00:00
Mark Vejvoda
0dacf7b439 - bugfix for keydown event in intro and battle end screens (missed htis when converted to SDL keys) 2011-11-21 19:00:20 +00:00
Mark Vejvoda
cf1e3509fe - commented out enabled observer at game end (automatically set to true now) 2011-11-21 02:08:51 +00:00
Mark Vejvoda
cc1480fbe1 -re-enabled ftgl as default font renderer, as i have no more patience to get the other renderer working before a release. 2011-11-20 06:09:18 +00:00
Mark Vejvoda
a995fb9220 trying to fix mac build 2011-11-20 01:14:22 +00:00
Mark Vejvoda
b3879ce35a mac osx build 2011-11-19 20:11:41 +00:00
Mark Vejvoda
488f8792b2 fix mac build 2011-11-19 20:08:04 +00:00
Mark Vejvoda
ce72e71599 - another fix for mac build 2011-11-19 20:03:24 +00:00
Mark Vejvoda
b444318bf4 trying to fix mac build 2011-11-19 19:28:04 +00:00
Mark Vejvoda
41135b238b trying to fix mac build 2011-11-19 19:07:21 +00:00
Mark Vejvoda
e849f7ec0b does this fix the mac build? 2011-11-19 19:02:58 +00:00
Mark Vejvoda
dfc6caf41f does this fix the mac build? weltall? 2011-11-19 18:29:44 +00:00
Mark Vejvoda
646ec7707a only update the font vertex buffer if text or color changed 2011-11-19 18:25:16 +00:00
Mark Vejvoda
53e1610234 - cleanup of header files related to opengl / glew 2011-11-19 10:13:27 +00:00
Mark Vejvoda
cef0577e3e - added commented out debug code for future ref 2011-11-19 09:49:52 +00:00
Mark Vejvoda
127382441f - fixed build on windows 2011-11-19 08:09:33 +00:00
Mark Vejvoda
3fd8c1ef90 - updated findfont method to be shared and to use more default fonts if main ones are not found 2011-11-19 07:35:12 +00:00
Mark Vejvoda
ce68ca0a7d - fixed freetype check for FT_Library_SetLcdFilterWeights (requires v 2.4.0 minimum) 2011-11-19 05:34:04 +00:00
Mark Vejvoda
5bb270fe41 - all languages now define their sio639-1 code and the commandline option can take it now:
--use-language=en
2011-11-19 03:33:01 +00:00
Mark Vejvoda
cd6b961a3b small tweak to font height calc 2011-11-19 02:31:47 +00:00
Mark Vejvoda
3ef4692b23 bugfixes for proper horizontal rendering of multibyte fonts 2011-11-18 20:54:41 +00:00
Mark Vejvoda
31fafe4528 - fixed up font alignment and added a way to force ftgl font mode:
--force-ftglfonts
2011-11-18 19:53:56 +00:00
Mark Vejvoda
48da13808f - fixed newline font calc for non english languages 2011-11-18 16:18:36 +00:00
Mark Vejvoda
f626ebbe45 - attempt to fix lua code to properly get unit's killer:
lastDeadUnitKillerName
lastDeadUnitKiller
2011-11-18 15:43:05 +00:00
Mark Vejvoda
93f0813033 - fixed headless server (dont call glew) 2011-11-18 15:07:28 +00:00