Commit Graph

260 Commits

Author SHA1 Message Date
Mark Vejvoda
14c70966b0 - bugfix for hpanim on bebuilt, to interplotate out the last reset frames 2011-07-02 21:44:29 +00:00
Mark Vejvoda
50347b0a66 - cleanup of font work:
- removed uneeded code
  - set default scale font value to 0.8 to fit nicely on screen
  - added two new optional settings for ini or lng files to control scale and y centering:
  FONT_SCALE_SIZE=0.8
  FONT_SCALE_CENTERH_FACTOR=3.0
2011-07-02 01:56:06 +00:00
Mark Vejvoda
850825695e - added support for min / max hp associated with damage particles 2011-07-01 21:47:54 +00:00
Mark Vejvoda
d2c8cc0187 - bugfix for unit titles in special debug mode
- added support for png format for pixmap3d (Water) textures
2011-07-01 07:46:18 +00:00
Mark Vejvoda
ec15c81d12 - added a FPS cap (at 800 fps we will sleep for 1 millisecond) to avoid pinning the cpu for hardware that has fps which is too good. Also user can toggle fps view on any screen now 2011-07-01 02:50:20 +00:00
Mark Vejvoda
1b72bcafe8 - i think this fixes the y centering for all resolutions, after testing we can remove lots of unused properties and code 2011-07-01 01:18:47 +00:00
Titus Tscharntke
97e19785a9 fonts really fixed now? 2011-07-01 00:03:30 +00:00
Mark Vejvoda
f5af03f8d7 - bugfix for using wrong xml names for min and max hp values for models (now look for names mentioned in forum) 2011-06-30 18:59:58 +00:00
Titus Tscharntke
baea45cae8 no fun with fonts 2011-06-29 23:48:48 +00:00
Mark Vejvoda
8bbf398e70 - attempt to bugfix weird map preview for ColdfusionStorm 2011-06-28 23:49:45 +00:00
Mark Vejvoda
0e897ee94f - bugfix for y centering of font for different fonts / languages 2011-06-28 08:15:05 +00:00
Mark Vejvoda
a9dfd3853b - corrections for y co-ord placement of font 2011-06-28 07:52:05 +00:00
Mark Vejvoda
ebd5bca7fe - attempt to fix 'blurry fonts' 2011-06-28 06:18:24 +00:00
Mark Vejvoda
945c2aa66b - some font bugfixes (use proper fonts in menus and also proper spacing in console) 2011-06-28 00:51:13 +00:00
Mark Vejvoda
1700cbba2d - working implementation of particles for new attack-boost xml tag 2011-06-25 20:44:46 +00:00
Mark Vejvoda
86743e2718 - more bugfixes for attack-boost check (and now in debug mode if unit selected show his attack-boost radius as well as the units affected) 2011-06-25 14:18:53 +00:00
Mark Vejvoda
f0c636d2ff - render battle end screen to texture buffer on first render so it takes less fps to render after the 1st frame 2011-06-12 05:54:54 +00:00
Mark Vejvoda
752dd26bcd - some small font centering adjustments 2011-06-12 01:32:02 +00:00
Mark Vejvoda
f1aa231e4b - bugfixes for font display:
- workaround for a bug in freetype in some cases
  - better handling on different resolutions
  - new commandline option to override screen resolution settings
2011-06-11 08:52:49 +00:00
Mark Vejvoda
4aca4af404 - updated patch from willvarfar for animated models in particles 2011-06-11 00:26:26 +00:00
Mark Vejvoda
06999a8f88 - reworked fonts to now use 3d matrix positioning and render performance is much better.
*NOTE: Still need to deal with some letters getting partially chopped off in some cases.
2011-06-10 03:09:19 +00:00
Titus Tscharntke
bc2c59a82a just put a hud.png in a faction dir and you got a HUD overlay 2011-06-09 00:59:03 +00:00
Mark Vejvoda
f65bfe8710 - added some bug fixes to check if lng files are utf-8 or not and deal with it appropriately 2011-06-08 07:18:06 +00:00
Mark Vejvoda
c808a5661a - added freetype2 / FTGL support 2011-06-06 21:38:25 +00:00
Mark Vejvoda
60b8093f5b - attempt to get non ascii file paths working in megaglest (Japanese etc...) 2011-05-18 21:49:11 +00:00
Mark Vejvoda
449e3f25c8 - updates to commondata handling. From now on commondata tag specified the commondata folder under a techtree making it easier to share data and portable since you just need to copy the techtree and its contents, this means no sharing data between techtrees (which is good since we don't want such dependencies) 2011-05-06 22:12:16 +00:00
Mark Vejvoda
e34e70a0c8 - added code to merge duplicate sounds used in a techtree 2011-05-06 07:47:31 +00:00
Mark Vejvoda
c258dc0822 - display which files contain the reference (the parents) to duplicate data in validation report 2011-05-05 20:18:38 +00:00
Mark Vejvoda
6492832c35 - added initial validation code to warn about duplicate data used in factions 2011-05-05 19:21:50 +00:00
Mark Vejvoda
c3d1d6fca0 - add support for models, sounds and images to be able to load from commondata 2011-05-05 07:15:12 +00:00
Mark Vejvoda
fb79bce5ab - added new ini entry for totalnoob to try to see if it fixes his stick trees?
PerspectiveFarPlane=1000
is what he should try when using this svn version
2011-05-01 22:48:44 +00:00
Mark Vejvoda
030058e3fc - revert a render method to the 3.4 version for better ATI card support (thanks for pointing this out sojourner) 2011-04-29 23:48:46 +00:00
Mark Vejvoda
4a20646d37 - revert 2d mouse renderer to 3.4 2011-04-27 23:37:57 +00:00
Mark Vejvoda
1f3d97dbe1 - fixed strange messagebox display (was caused by map preview renderer setting glLineWidth to 14 and never resetting afterwards) 2011-04-24 05:39:13 +00:00
Mark Vejvoda
a12e9787e1 - moved progress bar beside return button 2011-04-20 05:24:11 +00:00
Mark Vejvoda
d4cff9786a - bugfix for displaying units with light sources in view of the camera 2011-04-19 18:30:44 +00:00
Mark Vejvoda
c366d108e8 - see if this fixes some peoples screenshot problems 2011-04-18 20:20:16 +00:00
Mark Vejvoda
c4d32ae0d2 - bugfix for users toggling back from Linux tty session 2011-04-18 19:48:05 +00:00
Mark Vejvoda
016771ed81 - adjust camera angle for more properly unit visibility calc
- more accurate unit titles when debugging
2011-04-18 16:51:30 +00:00
Mark Vejvoda
4bce94fbbb - make messageboxes less alpha background so they are darker and easier to read (try it ultifd)
- made lag timeout max set to 35 instead of 65 since 35 is bad enough
- added another error check
2011-04-18 06:42:25 +00:00
Mark Vejvoda
26b1785b7a - mod description now word wraps on \n 2011-04-16 18:53:57 +00:00
Mark Vejvoda
431ca8e6fb mod menu now only shows 3 lines max for console messages 2011-04-14 23:13:44 +00:00
Titus Tscharntke
8c39a1b725 now you are "forced" to say "ready" when you are connected :-D 2011-04-12 22:20:41 +00:00
Titus Tscharntke
556b190d3a mod menu can display descriptions now, endgame stat with gold instead of green, minimap has smaller border and is a tiny bit less transparent 2011-04-07 00:09:57 +00:00
Mark Vejvoda
e56b6079c6 - added new menu option to be able to toggle texture compression
- scenario menu now does NOT cache textures
2011-03-31 01:34:01 +00:00
Titus Tscharntke
b4a352285f minimap transparent again but with border 2011-03-30 23:27:21 +00:00
Titus Tscharntke
12a33e8461 minimap with border and non transparent 2011-03-30 22:39:52 +00:00
Mark Vejvoda
3ed636aae2 - fixes for some threading shutdown bugs
- We now display when a screenshot is taken in game showing an ingame console message
- Updated AI to attack closest attackers
- Updated found enemy to be closest attacker
2011-03-28 21:04:47 +00:00
Mark Vejvoda
3b56aa4475 - performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Titus Tscharntke
5ccfc59819 Masterserver messages are highlighted in yellow now; console lines now can have individual colors (if not in game)! 2011-03-26 17:17:34 +00:00