Commit Graph

2747 Commits

Author SHA1 Message Date
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
Mark Vejvoda 0787c09d9b fixed g3d viewer (to use glew) 2011-11-18 08:50:52 +00:00
Mark Vejvoda 316739c5bd - fixed Linux build 2011-11-18 08:42:50 +00:00
Mark Vejvoda d0acde5d88 - fixed freetype-gl on windows compiler
- deprecated ancient opengl extension code and replaced it with glew
- testing new font renderer on windows (still in progress need to fix newlines)
(now need to check the Linux build and possibly make adjustments)
2011-11-18 08:28:42 +00:00
Mark Vejvoda 0e9b4851fd fixed new font rendering on Linux and removed glew dependency 2011-11-18 00:28:45 +00:00
Mark Vejvoda ab9243ea38 - got freetype-gl working under windows 2011-11-17 23:21:08 +00:00
Mark Vejvoda ca40f8d0ab 2011-11-17 21:42:28 +00:00
Mark Vejvoda c751c1a2cf - a few minor bugfixes 2011-11-17 21:36:29 +00:00
Mark Vejvoda 0f195ca9e4 - render bugfix for new font renderer 2011-11-17 10:11:23 +00:00
Mark Vejvoda 2251a7b2dc - added freetype-gl rendered and set as default font renderer (see: http://code.google.com/p/freetype-gl/) 2011-11-17 09:56:25 +00:00
Mark Vejvoda d29293d3cf - added new lua method lastDeadUnitCauseOfDeath, possible int values are:
None = 0
	Attacked = 1
	AttackBoost = 2
	StarvedResource = 3
	StarvedRegeneration = 4
2011-11-16 21:43:19 +00:00
Mark Vejvoda 2d367bd26e - added new lua functions from Muwum:
new events:
    unitAttacked
   unitAttacking
 
   methods:
   lastAttackedUnitName()
   lastAttackedUnit()
   lastAttackingUnitName()
   lastAttackingUnit()
   giveKills(unit,amount)
2011-11-16 21:38:12 +00:00
Mark Vejvoda 54e4d7604c - added new option to headless modedisable reading from local console:
--headless-server-mode=vps

can be comgined with exit option:

--headless-server-mode=exit,vps
2011-11-16 05:20:35 +00:00
Mark Vejvoda 3e3bcb6af8 - on console error show proper error message 2011-11-16 04:39:26 +00:00
Mark Vejvoda 204d2bea86 - added some extra error output on poll looping 2011-11-16 04:03:17 +00:00
Titus Tscharntke 29d535894e We try it with the bold font. 2011-11-15 23:57:46 +00:00
Mark Vejvoda 85ed894cdb - moved player game version text over and made its font smaller to be able to see more when long
- bugfix of segfault when in mod menu
2011-11-15 22:28:51 +00:00
Mark Vejvoda 9c59bc7273 - change game load defaults for less stress on CPU 2011-11-15 22:10:32 +00:00
Mark Vejvoda 043cd5789c - default to english is a selected language is missing 2011-11-15 18:38:13 +00:00
Mark Vejvoda ccb86ef373 fixed windows build 2011-11-15 18:09:57 +00:00
Mark Vejvoda b2adc16ca6 - added Muwums lua function 2011-11-15 17:39:49 +00:00
Mark Vejvoda 33e1af022a lowered numbers for sleeping when game is loading in network mode and allow ini override of values 2011-11-15 16:41:10 +00:00
Mark Vejvoda e8279621b1 - fixed build on windows 2011-11-15 06:37:47 +00:00
Mark Vejvoda 41ae17757b - just for you james! Fixed about screen text alignment
- re-enabled unit titles in special debug mode (requires special keys to toggle)
2011-11-15 04:48:57 +00:00
Mark Vejvoda 89b1431882 - added libGLEW to compile statically when static linking enabled 2011-11-14 23:58:14 +00:00
Mark Vejvoda 7c7c050d78 bugfix for intro 'still shots' were broken for beta1 2011-11-14 09:09:31 +00:00
Mark Vejvoda 5b821725e7 - cmake now compiles libpng statically if a static lib exists and static mode enabled 2011-11-14 08:54:42 +00:00
Mark Vejvoda 8f2e7ef5af - updated to compile compatible with libpng1.5 2011-11-14 07:16:51 +00:00
Mark Vejvoda 8e9aef2d09 - attempt to fix issue where user can switch to an invalid slot in network game lobby 2011-11-14 05:44:43 +00:00
Mark Vejvoda 8050e25538 - attempt to fix masterserver losing publish setting and/or open network slot
- attempt to fix high cpu usage on masterserver (and clients) when waiting for others during the start of a network game
2011-11-14 05:18:09 +00:00
Mark Vejvoda 252080b3b0 modified sound fade on app exit as per tom's forum post 2011-11-11 18:15:46 +00:00
Mark Vejvoda 0039354c15 - added name to attack-boosts and shared attack boosts per unit type 2011-11-11 04:17:55 +00:00
Mark Vejvoda 0b62b4137e - added a validation / warnhing logic to handle cases of duplicate resource values entered in XML 2011-11-10 22:36:44 +00:00
Mark Vejvoda 1e34bc66c1 added a detailed error message to try to hunt down a bug discovered by Elimnator 2011-11-10 21:00:50 +00:00
Mark Vejvoda 9f316bef08 added an override for map preview rendering to use legacy non FBO code:
LegacyMapPreviewRendering=true
2011-11-08 16:41:10 +00:00
Mark Vejvoda c8649f8cd1 added ability to override throttle settings for future customization if required:
RenderFPSCap=500
RenderFPSCapSleepMillis=1
RenderFPSCapHeadless=250
RenderFPSCapHeadlessSleepMillis=1
2011-11-08 16:27:15 +00:00
Mark Vejvoda 08de3e8f18 added code to throttle cpu usage in headless mode because there is no rendering (should cut down on un-needed cpu cycles) 2011-11-08 16:16:57 +00:00
Titus Tscharntke c346569de1 reverted accidently checked in file 2011-11-06 01:08:59 +00:00
Titus Tscharntke d19a5930a6 release related things 2011-11-06 00:58:21 +00:00
Mark Vejvoda 0b511efe36 bugfix for particles, proper checking for valid particle states when using particles 2011-11-05 05:45:02 +00:00
Mark Vejvoda 1c4480cb02 added a check for missing map when admin is connected to headless server and server has a map that the client doesn't 2011-11-05 01:27:34 +00:00
Mark Vejvoda c645d196e5 updated script to reflect latest version 2011-11-05 01:17:35 +00:00