Commit Graph

2562 Commits

Author SHA1 Message Date
Mark Vejvoda
52b3507e98 - compile fix on windows 2011-10-05 14:56:15 +00:00
Mark Vejvoda
7ce7230b2c - compile fix on windows 2011-10-05 14:09:03 +00:00
Mark Vejvoda
d37d360e21 - no more crash when ftgl raises font gl errors, just output to console and continue rendering 2011-10-05 05:59:44 +00:00
Mark Vejvoda
5a7a37a678 - bugfix 3dlists when showing keyboard menu in game (water was showing wrong) 2011-10-05 03:42:29 +00:00
Mark Vejvoda
e8663b99bc - bugfix for popup menu in legacy font mode 2011-10-05 02:12:53 +00:00
Titus Tscharntke
555e88f464 I accidently checked in a test value. ( reverted now ) 2011-10-05 00:23:01 +00:00
Titus Tscharntke
a011cb3b26 Font LinBiolinum_Re-0.6.4.ttf is default now and some default values are set according to this font. 2011-10-04 23:49:34 +00:00
Mark Vejvoda
36a5deb916 - added freetype to linux deps script 2011-10-04 21:58:52 +00:00
Mark Vejvoda
e740775735 - bugfix for ini on windows (and added console output in verbose mode 2011-10-04 21:14:33 +00:00
Mark Vejvoda
f718cd25d0 - added the ability to have platform specific main ini files for windows and linux for easier standalone mod packaging 2011-10-04 20:41:33 +00:00
Mark Vejvoda
3ed0f2f25a - added ability to hide UI items (for example mod menu when a mod is standalone) 2011-10-04 20:18:57 +00:00
Mark Vejvoda
a4798e6d72 - added upgrades to ai behavior xml tags 2011-10-04 17:15:08 +00:00
Mark Vejvoda
8729c32b68 - bugfix AI, no longer try to build a farm type unit if the faction does not have a unit that is able to build it yet
- new optional feature added to tell each faction some basic info regarding which units should take priority when building,producing and morphing
2011-10-04 06:49:44 +00:00
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
54167054a1 - added script to run mg with valgrind 2011-09-28 15:38:16 +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
mnaumann
5b3693c96e Minor change, just for testing 2011-09-28 01:51:08 +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