Commit Graph

2263 Commits

Author SHA1 Message Date
Mark Vejvoda
22e28c323f - cleanup popup menu sizing so it looks more clean 2011-10-04 00:50:43 +00:00
Mark Vejvoda
bc5c32deb1 - initial attempt to add 'pause game' for network games. The following apply:
- only the server (or headless admin) can pause/resume a network game.
- to pause/resume press ESC in game and select the pause/resume button to toggle the state.
- chatting works while the game is paused. If clients want the game paused they should ask this in the chat window
2011-10-03 20:48:09 +00:00
Mark Vejvoda
be3209e1fc - when we have a runtime error, we now log the error text to error.log which will be located in the path where all log files are written. 2011-10-03 18:39:21 +00:00
Mark Vejvoda
9316c1b4c3 - when we have a runtime error, we now log the error text to error.log which will be located in the path where all log files are written. 2011-10-03 18:34:59 +00:00
Mark Vejvoda
9cb44c72bf - enabled sdl's key repetition when holding keys for easier typing in chat mode 2011-10-03 18:06:50 +00:00
Mark Vejvoda
ebc130f526 - added a few new chinese fonts and changed default to a new font
- fixed location of player title in menus
- added better ftgl error checking
2011-10-03 04:49:52 +00:00
Mark Vejvoda
7eb68c4023 - added new commandline option to override base font size 2011-10-03 02:45:43 +00:00
Mark Vejvoda
d719e8e318 - in game popup menu now also allows viewing/changing keyboard setup
- now display (team) when chat text is intended only for team members
2011-10-03 00:36:28 +00:00
Mark Vejvoda
ec2963808a - fixed alignment of UI controls and changed default english font 2011-10-02 02:32:20 +00:00
Mark Vejvoda
5d0eea51e3 - bugfix for rendering labels (now properly lines up with other controls) 2011-10-02 02:14:05 +00:00
Mark Vejvoda
75e73ec85d - headless mode now properly uses selected slot of player 2011-10-01 08:04:30 +00:00
Mark Vejvoda
6c1f0186c6 - bugfix for network session id randomizing 2011-10-01 01:40:00 +00:00
Mark Vejvoda
77a2fa7d48 - getting fanatical about memory cleanup so that valgrind output is more useful 2011-09-30 23:55:07 +00:00
Mark Vejvoda
b57fb0ff39 - validation so admin client connected to headless server cannot change his 'control type' because this would invalidate his connection. 2011-09-28 15:51:13 +00:00
Mark Vejvoda
3bec8d3300 - compile bugfix 2011-09-28 15:34:03 +00:00
Mark Vejvoda
43ed4553ea - more memory cleanup and thread cleanup (found using valgrind) 2011-09-28 15:32:57 +00:00
Mark Vejvoda
a3bf4bfe32 - modified the following commands so they don't required SDL video mode:
--help
--version
--show-ini-settings
2011-09-28 07:04:42 +00:00
Mark Vejvoda
aed293bba2 - fixed a bunch of memory leaks that will hopefully mean less overall memory requirements. 2011-09-28 06:57:42 +00:00
Mark Vejvoda
59246056bc - bugfix for compilation in vc++ 2011-09-28 04:41:02 +00:00
Titus Tscharntke
780cb81324 wherever you try to hide yourself, ultra cpu will find you too now after a while :-D ..... 2011-09-27 21:51:29 +00:00
Titus Tscharntke
d6cef888a6 scenario icon does change after install 2011-09-27 21:26:22 +00:00
Mark Vejvoda
fe8e76efd8 - applied some memory leak cleanups 2011-09-27 20:35:45 +00:00
Mark Vejvoda
04b40ab476 - bugfix for endless loop on headless server when pressing control-D 2011-09-27 19:21:06 +00:00
Mark Vejvoda
0cf03a3562 - added option to quit headless server after game has completed:
./megaglest --headless-server-mode=exit
2011-09-27 18:44:01 +00:00
Mark Vejvoda
21005cc1e7 - in headless mode skip call to set window icon 2011-09-27 17:15:56 +00:00
Mark Vejvoda
ec554ffffb - do not init SDL's video subsystem in headless mode 2011-09-27 10:25:31 +00:00
Mark Vejvoda
2a86cb4f7d - added support for proper quiting and console input/output in headless mode. Type: quit followed by return into the console to properly shutdown in headless mode. 2011-09-27 10:16:09 +00:00
Mark Vejvoda
9caff9dac3 - in headless mode avoid init of sdl's video surface so that we stay in console window (no graphics window shown) 2011-09-27 07:01:08 +00:00
Mark Vejvoda
c68aa74fcf - more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start. 2011-09-27 05:29:57 +00:00
Mark Vejvoda
fdd04d10c1 - disabled jps for now and fixed ai multiplier for headless mode 2011-09-27 01:11:11 +00:00
Mark Vejvoda
d3eda7d0f2 - bugfix on older gcc compiler 2011-09-27 00:17:15 +00:00
Mark Vejvoda
048f97e698 - initial attempt to add jump point symetry to astar pathfinding (please test) 2011-09-26 23:55:18 +00:00
Mark Vejvoda
5a79cad34b - do not load models or sound files in headless server mode 2011-09-26 05:29:52 +00:00
Mark Vejvoda
f5c7eff49c - more bugfixes for headless server mode, attempt to fix crash when switching info fast and avoid render on battle end on server. 2011-09-26 04:50:13 +00:00
Mark Vejvoda
26d0b71bd5 - turn off mouse and keyboard in headless mode 2011-09-26 04:26:44 +00:00
Mark Vejvoda
9cd6355733 - some bugfixes for headless mode:
- don't render anything
  - disable sounds in headless mode
(still need to add code to see if we can avoid loading models and graphics to make memory usage much smaller)
2011-09-25 23:57:42 +00:00
Mark Vejvoda
64d1e696b0 - compiler fixes for windows 2011-09-25 23:27:26 +00:00
Mark Vejvoda
da8e9d2af0 - changed commandline parameter to: --headless-server-mode 2011-09-25 05:46:51 +00:00
Mark Vejvoda
b6dd5e266b - hardening the masterserver mode:
1.  missing maps, techs and tilesets should no longer crash the server and server will revert to last valid value for each (server must have the data)
2. clients now get truly unique session id's which fixes client admin mode when connecting to masterserver
2011-09-25 05:38:35 +00:00
Mark Vejvoda
ebc174be03 - cleanup some compiler warnings 2011-09-25 04:09:54 +00:00
Mark Vejvoda
ece2927350 - attempt to fix command grouping 2011-09-25 04:07:59 +00:00
Mark Vejvoda
9268e3f5a7 - attempt to fix tomreyns segfault bug (mutex protection around cache) 2011-09-24 22:17:48 +00:00
Mark Vejvoda
da57a589ba - more progress on masterserver, now the masterserver does not take a slot! 2011-09-24 21:07:15 +00:00
Titus Tscharntke
5dd3b4ba80 same settings like 3.5.2 so we can better compare performance 2011-09-24 20:30:41 +00:00
Mark Vejvoda
f0b795377b - when masterserver game is over go right back to custom game lobby 2011-09-24 20:22:47 +00:00
Mark Vejvoda
4df997d0ca - initial work for a headless server. Currently this code allows you to launch a server with the commandline option: --masterserver-mode
The first client that connects to the server is the administrator and is able to change most settings and launch the game. Still lots of work to do but this is a start.
2011-09-24 07:46:56 +00:00
Mark Vejvoda
4d31968966 - bugfix for team switching vote calculation 2011-09-23 19:31:47 +00:00
Mark Vejvoda
37fd0d6c71 - disable grouped commands by default until i track the segfault 2011-09-23 19:19:09 +00:00
Mark Vejvoda
42bbbd2e42 - trying to bugfix crashes with grouped commands 2011-09-23 18:54:35 +00:00
Mark Vejvoda
72c12a3459 - another attempt to fix command grouping bug (its now turned on be default again), please test for crashes or out of synch 2011-09-22 20:42:06 +00:00
Mark Vejvoda
7e16873efd - bugfix for team switching validation should be skipped
- commented printf for tween debugging
2011-09-22 05:14:20 +00:00
Mark Vejvoda
d52924f214 - added new strings to language file 2011-09-21 08:00:00 +00:00
Mark Vejvoda
7d53df698a - added new in-game popup menu and new ability to switch teams in game (turned off by default in advanced settings) 2011-09-21 06:51:28 +00:00
Mark Vejvoda
b4972f6365 - attempt to get international unicode characters working in ingame chat 2011-09-16 17:35:07 +00:00
Mark Vejvoda
2e9ca4c0f5 - bugfix to support \n in scenario and tutorial lng files 2011-09-16 03:17:49 +00:00
Mark Vejvoda
8f0db3e30d - added new commandline option --map-preview=x where x is the mapname (without extension) 2011-09-16 00:34:14 +00:00
Mark Vejvoda
aee6c948a2 - bugfix for scripted scenario function registerCellTriggerEventForUnitToLocation not working properly 2011-09-13 23:25:13 +00:00
Mark Vejvoda
470fac5136 - bugfix for scripted scenario function registerCellTriggerEventForFactionToLocation not working properly 2011-09-13 23:20:26 +00:00
Mark Vejvoda
cd321c0c77 - fix the tween bug by truncating after 6 decimals 2011-09-10 03:57:51 +00:00
Mark Vejvoda
b8a8e3b519 - bugfix to close empty slots on game start 2011-09-10 01:45:34 +00:00
Titus Tscharntke
7a6e937133 version set to dev again ( v3.5.3-dev) 2011-09-09 20:45:14 +00:00
Mark Vejvoda
c2b2e41935 - disabled grouped commands for now 2011-09-09 20:42:02 +00:00
Mark Vejvoda
15cad68faf - attempt to fix a segfault in grouped units 2011-09-09 20:30:13 +00:00
Titus Tscharntke
01d1f38a82 crc checksums are mandatory now 2011-09-09 19:02:31 +00:00
Titus Tscharntke
713741de37 Preview images are cleared when selecting local only mods 2011-09-09 19:02:08 +00:00
Mark Vejvoda
41dfe298d3 - re-enable grouped commands for better unit moving (was previously causing out of synch but i think it works properly now) 2011-09-09 17:49:10 +00:00
Titus Tscharntke
bdb7e284f1 next fix for mod menu / player names can only be a restrictive ascii subset again . 2011-09-09 00:14:28 +00:00
Titus Tscharntke
26e614e151 bugfix for showing local mods as installed from server after clicking them 2011-09-08 22:44:13 +00:00
Titus Tscharntke
a75d113686 modmenu should work as expected now 2011-09-08 21:08:53 +00:00
Mark Vejvoda
56a384e365 - bugfix when reloading saved settings and item doesn't exist in listbox (thanks tomryen) 2011-09-07 16:55:49 +00:00
Titus Tscharntke
b8010a18af bugfix, so dragons can morph above water 2011-09-06 23:12:05 +00:00
Titus Tscharntke
af03402409 mod menu should work now beside refresh of state icons for scenarios and techs after download/install 2011-09-05 23:12:48 +00:00
Titus Tscharntke
d80837522d maps and scenarios are checked for server conflicts too. ( map crc calculation is still broken, see line 843 in menu_state_mods.cpp ) 2011-09-04 23:25:24 +00:00
Titus Tscharntke
396acdfa15 mod menu shows conflicts with server data for techs and tilesets ( maps and scenarios will follow the next days ) 2011-09-02 23:53:37 +00:00
Mark Vejvoda
343777fbe3 - updated czech translation strings
- small update in masterserver sql statement to use standard AND instead of &&
2011-09-02 17:10:34 +00:00
Mark Vejvoda
0bbe34deee - added some missing translatable strings (thanks again uncle)
PublishDisabled= (disabling publish)
UnitType=Unit type:
2011-09-02 16:18:37 +00:00
Mark Vejvoda
1e2e7a5ef7 - bugfix for mode menu CRC checking 2011-09-02 06:05:37 +00:00
Mark Vejvoda
ba35e3cc9f - fixed win32 compile errors 2011-09-02 04:22:04 +00:00
Mark Vejvoda
8d8996c0ee bugfix for index value used when switching maps for player in invalid index 2011-09-02 00:20:10 +00:00
Mark Vejvoda
e44170ea00 - bugfixes for lobby UI when map changes and player index is invalid 2011-09-02 00:08:35 +00:00
Mark Vejvoda
0a2c929fea - attempt #1 to support 'keeping' connected clients in the lobby when the map changes and slots would normally disconnect 2011-09-01 21:54:31 +00:00
Mark Vejvoda
4a5a7f010d - final phase of cppcheck verbose fixes (outstanding items should be left alone) 2011-09-01 18:51:43 +00:00
Mark Vejvoda
bb68106912 - phase 3 of cppcheck verbose fixes 2011-09-01 18:08:56 +00:00
Mark Vejvoda
57afc2d715 - phase 2 of cppcheck verbose fixes 2011-09-01 01:11:23 +00:00
Titus Tscharntke
29b610344d just a legend for the button icons 2011-08-31 23:25:34 +00:00
Mark Vejvoda
d44959d69c - phase 1 of cppcheck verbose fixes 2011-08-31 23:10:43 +00:00
Mark Vejvoda
34ae6bda1a - search in binary folder first for ini 2011-08-31 22:40:29 +00:00
Mark Vejvoda
2d048579cd - bugfix for mod menu fonts when using ftgl 2011-08-31 22:06:14 +00:00
Titus Tscharntke
4269b23c02 Mod menu tells you a bit more about mod states. Never versions of Mods are NOT indicated yet. Hopefully this is the next step. 2011-08-31 21:51:46 +00:00
Titus Tscharntke
0fd894459b MouseMoveScrollsWorld in ingame options. lang file entry is still missing for "MouseScrollsWorld" 2011-08-31 20:10:43 +00:00
Mark Vejvoda
93cc49a89a - bugfixes found from cppcheck 2011-08-31 20:04:50 +00:00
Mark Vejvoda
3af608151e - bugfixes found from cppcheck 2011-08-31 19:44:19 +00:00
Mark Vejvoda
f542ce36e4 - commented assert and added more debug info when tween is invalid 2011-08-31 16:12:02 +00:00
Mark Vejvoda
a7e08e3b55 - can disable mouse movement which scrolls the world camera. in glestuser.ini add:
MouseMoveScrollsWorld=false
2011-08-31 00:24:14 +00:00
Mark Vejvoda
b2fc331876 - added more debug info for font error mentioend in forums by james123 2011-08-31 00:06:50 +00:00
Mark Vejvoda
1a6cdf3a06 - bugfix for IRC nicks using non standard ascii chars (we replace invalid chars on IRC with - 2011-08-30 23:45:51 +00:00
Mark Vejvoda
3eb375904c - bugfix for text placement in progress bars 2011-08-30 21:48:32 +00:00
Mark Vejvoda
a9f5563ab7 uncles IRC wish come true (display all IRC names but non MG names are not selectable in the UI) 2011-08-30 18:54:01 +00:00
Mark Vejvoda
c4cbdd86e3 - disabled will's visible quad code as i cannot get it to work when rotating around with the camera. Bugfix for normal camera visible quad so we don't get black spots when moving camera around. Bugfix for menu keyboard entry if we get a bad utf8 conversion character 2011-08-30 18:28:30 +00:00
Mark Vejvoda
d99a8236ae - added the ability to synch unit particles with model animation using start-time and end-time attributes 2011-08-27 06:52:17 +00:00
Mark Vejvoda
c8f25c95f3 - updated version to aplha1 for user testing 2011-07-23 23:23:42 +00:00
Mark Vejvoda
a2e6f81a0d - added initial code from willvar for visible quad calc (but disabled for now till we have time to fix issues) 2011-07-23 23:22:30 +00:00
Mark Vejvoda
7bc9394e85 - fixed some bugs around hp regeneration and attack-boost 2011-07-22 20:06:48 +00:00
Mark Vejvoda
82a0f23487 - attempt to add hp regen to upgrades and attack-boost 2011-07-22 07:05:47 +00:00
Titus Tscharntke
3efe9e0263 changed default font to "LiberationSans-Regular.ttf"; new maps; fixed xmls(missing models); crossbow has rotated climb 2011-07-20 22:44:57 +00:00
Mark Vejvoda
ee2c7bbe98 - try to see if this helps with the tween bug 2011-07-19 01:25:38 +00:00
Mark Vejvoda
45db0a3290 - try to see if this helps with the tween bug 2011-07-19 00:47:25 +00:00
Mark Vejvoda
ae6b085d7a - try to see if this helps with the tween bug 2011-07-19 00:17:32 +00:00
Mark Vejvoda
732b44833b - add debug statement to track tween bug 2011-07-18 23:46:11 +00:00
Mark Vejvoda
a388c92be6 - disable group unit commands as default being enabled (since its is causing out of synch) 2011-07-18 18:31:54 +00:00
Titus Tscharntke
6f649daa6b I hope rotated climb works now... ( angle correction is a bit smoother now ) 2011-07-17 21:47:56 +00:00
mnaumann
807a50b98b * add JSON masterserver server list, thanks statler! 2011-07-17 21:31:26 +00:00
Titus Tscharntke
b215f88a29 Now the anim is expanded to the whole length for non cycled anims. To demonstrate we have growing reed ... 2011-07-17 17:16:16 +00:00
Titus Tscharntke
6437d79aa4 rotated _climb units which morph into non rotated_climb units have no more problems morphing on steep terrain 2011-07-16 17:33:48 +00:00
Mark Vejvoda
a77606351f - attempt to change scenario timer to use world frames 2011-07-16 03:58:52 +00:00
Mark Vejvoda
ed3c0c253d - bugfix for multiplier rounding off issue 2011-07-16 00:44:30 +00:00
mnaumann
2c67ea0a54 * add sysinfo.sh Linux support script
* update build dependencies installer script
* UTF-8 encoding for deutsch.lng
2011-07-14 16:45:16 +00:00
Titus Tscharntke
acca8c118c smoother anim for anim-progress-bound ( better but not perfect :-/ ) 2011-07-13 20:54:04 +00:00
Mark Vejvoda
bc4f33bc9a - added new cmake build option (and fixed bugs from people who added code but did not respect NON streflop define) 2011-07-13 19:57:29 +00:00
Mark Vejvoda
5ffc0937f1 - added new ini setting to toggle grouped commands processing (hunting down out of synch). To turn it off try:
AllowGroupedUnitCommands=false
2011-07-12 23:41:14 +00:00
Mark Vejvoda
5400126332 - try bugfix for titi's verticle rotation
- added deep copy for child particles
2011-07-12 01:48:14 +00:00
Mark Vejvoda
94e0fca857 - added unit-type support for attackboost all types (works as second level filter if used)
- try bugfix for titi's verticle rotation
2011-07-12 01:30:39 +00:00
Mark Vejvoda
44c73392ee - bugfix for attackboost, don't try to make particle on affected units if particle not defined in xml 2011-07-12 00:58:09 +00:00
Titus Tscharntke
9bc26f418d rotated_climb. For example tanks are rotated along the x- and z-axis when driving up or down a hill ... 2011-07-11 23:59:16 +00:00
Mark Vejvoda
c108663f02 - bugfix for random animation selection when animation does not use min/max hp 2011-07-11 22:30:16 +00:00
Mark Vejvoda
970fe6a326 - some decent render improvement for surface terrain rendering (combined willvar's layer idea with visible quad, but no using vbo's at this point only vertex arrays) 2011-07-10 05:42:11 +00:00
Mark Vejvoda
0d14688a87 - by request added an option for modders to 'hide' duplicate files during validation 2011-07-09 19:28:01 +00:00
Mark Vejvoda
dd4ea68ff7 - added internal info to video info page 2011-07-09 01:52:47 +00:00
Mark Vejvoda
fc17d1410e - replaced --use-video-settings with broken out simpler parameters as per tomreyns request 2011-07-08 23:14:26 +00:00
Mark Vejvoda
73b400cea7 - removed deprecated curl header (still need to create a branch to apply the fix to 3.5.2.4) 2011-07-08 22:33:36 +00:00
Mark Vejvoda
0d248958c3 - added willvarfars vbo surface code when VBO is enabled in the video card, otherwise fallback to original code 2011-07-08 16:45:55 +00:00
Mark Vejvoda
3584a831cf - threadsafe cache manager and recursive checking in xml loader (possible fix for issue experienced by james in windows build) 2011-07-08 15:17:50 +00:00
Mark Vejvoda
cd0ce1d840 - bugfix for smoke particle 2011-07-08 06:36:36 +00:00
Titus Tscharntke
c21f07ec7d "anim-hp-bound" is now called "anim-progress-bound" and available for produce/morph/upgrade skills too! Deprecated "anim-hp-bound" will be dropped VERY soon! 2011-07-07 23:02:46 +00:00
Mark Vejvoda
9a6aca1bdc - remove debug info in gui 2011-07-06 22:45:44 +00:00
Mark Vejvoda
d0d3af1fec - more keyboard fixes to allow more valid keys 2011-07-06 22:40:31 +00:00
Titus Tscharntke
cc5dbd467e maxUnitCount respected by spawn attack 2011-07-06 22:35:35 +00:00
Mark Vejvoda
1b2d4fddea - merged in willvarfar's particle patch 2011-07-06 22:23:51 +00:00
Titus Tscharntke
9ef8c82441 extra team color markers ( by default use * to toggle/switch on ) 2011-07-06 22:02:38 +00:00
Mark Vejvoda
eb67fb8121 - added more debug info to check Cold's issue 2011-07-06 19:26:17 +00:00
Mark Vejvoda
ead3797368 - added better keybaord filtering to allow use of keypad numbers in grouped units 2011-07-06 12:23:43 +00:00
Mark Vejvoda
86724e1d2e - fixed some bugs with keyboard parser not properly figurong out ? and other keys in combination with shift etc 2011-07-06 11:56:30 +00:00
Mark Vejvoda
b8bd927b7b - finally fixed the unit sorting hang bug, try it tomryen 2011-07-06 06:38:56 +00:00
Mark Vejvoda
15488ddb31 - bugfixes related to attack-boost memory leaks 2011-07-06 05:16:25 +00:00
Mark Vejvoda
84870877ba - hopefully a fix for skankerror 2011-07-05 22:08:44 +00:00
Mark Vejvoda
ce8d54e7e0 - additional debug info to track skanks error :) 2011-07-05 21:05:13 +00:00
Mark Vejvoda
a5804f8219 - a little more debugging to gather info from sknakerrors issue 2011-07-05 20:08:51 +00:00
Mark Vejvoda
2088793f94 - changed g3dviewer to default to png (not read glest.ini for screenshot format) but alos added a new commandline option to be able to change the default screenshot format from png if desired 2011-07-05 19:08:28 +00:00
Mark Vejvoda
1fd179196c - attempt to fix hang issue reported by tomreyn 2011-07-05 18:26:09 +00:00
Mark Vejvoda
1f8d1b68eb - attempt to fix crash issue reported by tomreyn 2011-07-05 15:43:39 +00:00
Mark Vejvoda
8c99c7e91f - fixed debug key 2011-07-05 05:40:14 +00:00
Mark Vejvoda
2c80543889 - attempt to group command execution so units given the same command at the same time will work more smartly (closer units go first and so on) 2011-07-05 04:37:35 +00:00
Mark Vejvoda
ece9755dfd - font ycenter fix on windows 2011-07-04 21:22:53 +00:00
Mark Vejvoda
852b4aa2d2 - bugfix for some hotkeys not working properly 2011-07-04 18:05:02 +00:00
Mark Vejvoda
a8b25cf111 - bugfix for start / stop smoke particles 2011-07-04 15:55:13 +00:00
Mark Vejvoda
14c70966b0 - bugfix for hpanim on bebuilt, to interplotate out the last reset frames 2011-07-02 21:44:29 +00:00
Titus Tscharntke
b8766a9388 somthing was missing in the header .... 2011-07-02 19:02:25 +00:00
Mark Vejvoda
cb98df354d - pre-calc font height for ftgl and optionally allow for language specific characters to be used 2011-07-02 18:33:59 +00:00
Titus Tscharntke
a1ab98d4b9 new param <anim-hp-bound value="true"/> for BeBuilt skill to have the animation progress bound to the HP. / fixed a nullpointer exception related to particles 2011-07-02 16:07:04 +00:00
Mark Vejvoda
8e1836220d - added more info if we get mutex errors in the lobby 2011-07-02 07:36:28 +00:00
Mark Vejvoda
1a5c70c76e - another small bugfix for water texture loading 2011-07-02 07:15:23 +00:00
Mark Vejvoda
f9ad27f655 - bugfix for stopping damage particles properly 2011-07-02 03:59:46 +00:00
Mark Vejvoda
8b23634332 - fixed a bug found during test related to min / map particle logic 2011-07-02 02:52:30 +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
32950a168c - more bugfixes for attack-boost 2011-07-02 00:20:28 +00:00
Mark Vejvoda
7c996e3296 - added percentage support for min / map hp on damage particles
- bugfixes for png support for pixmap3d (water textures)
2011-07-01 23:13:55 +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
68e3ad8036 - better randomizing for model animation selection 2011-07-01 01:25:10 +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
7b95fac8cc - bugfix for fonts to remove newline character when calculating / rendering multi-line strings 2011-06-30 22:10:11 +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
Mark Vejvoda
82ccc21d5e - fixed a bug discovered by Elimnator when units are repairing another unit and the other unit morphs need to check of the repairers can still repair the newly morphed unit and if not stop repair 2011-06-30 04:45:17 +00:00
Titus Tscharntke
baea45cae8 no fun with fonts 2011-06-29 23:48:48 +00:00
Mark Vejvoda
4e4825d752 - slight change in loading factiontype (load by folder names not *. to avoid errors when garbage files exist) 2011-06-29 06:42:49 +00:00
Mark Vejvoda
8bbf398e70 - attempt to bugfix weird map preview for ColdfusionStorm 2011-06-28 23:49:45 +00:00
Mark Vejvoda
8d300f06a4 - fix for about screen, placement of some items 2011-06-28 15:56:22 +00:00
Mark Vejvoda
8c2d76b589 - fix for about screen (avoid using Vera font seems buggy) 2011-06-28 15:39:19 +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
f5b15bd402 - bugfix for filtering out non printable keys 2011-06-28 01:25:14 +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
Titus Tscharntke
6fdc8db138 switching off random pathfinding intervals becasue it causes unit "warping" while walking ( more see forum ) 2011-06-26 23:51:37 +00:00
Mark Vejvoda
34ef62c59f - fix win32 build (around definition of byte keyword) 2011-06-26 15:41:32 +00:00
Titus Tscharntke
6546b30232 try to fix KroArtems crash 2011-06-26 10:12:23 +00:00
Mark Vejvoda
4d6f39d257 - added support for multipliers in attack-boost 2011-06-26 07:06:32 +00:00
Mark Vejvoda
26bf93eeed - bugfix again for negative upgrade sums 2011-06-26 03:59:28 +00:00
Mark Vejvoda
a3cd886b9d - bugfix again for negative upgrade sums 2011-06-26 03:50:42 +00:00
Mark Vejvoda
46ff36c80b - missed one conversion in keyboard test menu 2011-06-26 03:41:20 +00:00
Mark Vejvoda
aa677cfc97 - attempt to NOT convert to utf8 twice 2011-06-26 03:38:28 +00:00
Mark Vejvoda
fd8ed536bb - bugfix for upgrades (don't allow negative sums for each attribute) 2011-06-26 02:58:34 +00:00
Mark Vejvoda
5e67b505a7 - try to convert to utf8 before rendering text 2011-06-26 02:50:13 +00:00
Mark Vejvoda
c4a05c8036 - try this tomreyn 2011-06-26 02:35:09 +00:00
Mark Vejvoda
d791eb4e94 - try this tomreyn 2011-06-26 02:30:04 +00:00
Mark Vejvoda
675750eda7 - some more unicode input cleanup 2011-06-26 02:21:45 +00:00
Mark Vejvoda
4b6bc7a4a7 - loads of changes in order to prepare for better input (not using char but SDLKey instead) 2011-06-26 01:55:08 +00:00
Mark Vejvoda
5f32d56b85 - added some common characters to be preloaded when fonts are loaded for better speed 2011-06-25 22:26:56 +00:00