Commit Graph

76 Commits

Author SHA1 Message Date
Jammyjamjamman 3c0858318d Fix colours in endgame statistics.
Text colours where the colour wasn't explicitly set was rendering as the
previous (incorrect) colour instead of white. Now text colour is
explicitly set.
2021-11-09 21:48:38 +00:00
filux 9f301daa1c travis' configuration test; fixed #123 2016-07-17 17:06:01 +02:00
titiger c41db9cd16 remove some printf 2016-02-09 02:02:59 +01:00
titiger b809ea2233 Proof that you are ready for internet games 2016-02-09 00:48:35 +01:00
SoftCoder 8e439a2325 - got sdl2 branch compiling and game loads 2015-09-28 23:28:11 -07:00
filux 3a1f295e4e no more long nicknames which overlaps other text 2015-02-06 00:58:02 +01:00
SoftCoder dfb6c130ca - additional bugfix when restoring last game settings 2014-01-26 19:22:27 -08:00
SoftCoder d8160c1065 - modified game time to be game duration instead as that is more useful for players who want to see in game clock info 2013-12-17 13:26:58 -08:00
Mark Vejvoda 8414077d7a - bugfix for headless server's reporting of winning players and team.
- masterserver returns proper JSON header now
2013-11-22 21:17:38 +00:00
Mark Vejvoda ab64b9343f - updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build. 2013-11-19 21:57:28 +00:00
Mark Vejvoda d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda 5524cd6a0e - updated exit game menu text vs leaving the application as requested.
- updates from transifex
2013-06-21 06:01:43 +00:00
Mark Vejvoda 44a498958c - battle end screen render fix for tomreyn 2013-03-16 06:57:16 +00:00
Mark Vejvoda 203ad150ef - battle end screen render fix for tomreyn
- more thread safety for threaded client sockets
2013-03-16 06:55:16 +00:00
Mark Vejvoda 141f7eaa48 - cleanup some warnings in VC++
- more consistent project settings in vc++
2013-01-23 06:53:55 +00:00
Tom Reynolds 8cc9c760e1 no more blank spaces in translation keys 2012-10-11 00:26:00 +00:00
Mark Vejvoda 5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda c33c1826ae - proper implementation of video repeat (looping) 2012-09-27 01:17:57 +00:00
Mark Vejvoda 1db56463fd - try to make video performance a little better 2012-09-26 08:08:52 +00:00
Mark Vejvoda 4e3d27f8c0 - add faction path when using xml tags for battlend end videos:
<?xml version="1.0" standalone="no"?>
<faction battle-end-win-video="x_battle_end_win_video.avi" battle-end-lose-video="x__battle_end_lose_video.avi" >
2012-09-26 07:32:39 +00:00
Mark Vejvoda 2c2ce3a6b3 - add faction path when using xml tags for battlend end videos:
<?xml version="1.0" standalone="no"?>
<faction faction-battle-end-win-video="x_battle_end_win_video.avi" faction-battle-end-lose-video="x__battle_end_lose_video.avi" >
2012-09-26 06:52:39 +00:00
Mark Vejvoda 75011d84d5 - added support for custom music on battle end screen:
look for music in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-music="<path to music>"
faction-battle-end-lose-music="<path to music>"
if not defined 2. check the faction folder for the files:
battle_end_win_music.*
battle_end_lose_music.*
if not found check the data/core/menu/music/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 01:52:09 +00:00
Mark Vejvoda 3ede912b9a - added support for custom video's on battle end screen:
look for videos in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-video="<path to video>"
faction-battle-end-lose-video="<path to video>"

if not defined 2. check the faction folder for the files:
battle_end_win_video.*
battle_end_lose_video.*

if not found check the data/core/menu/videos/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 00:23:25 +00:00
Mark Vejvoda 1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Titus Tscharntke f2585ebaae fallback multiplier for CPUs playing for disconnected player. Should work now, needs testing . 2012-09-18 23:36:51 +00:00
Titus Tscharntke 7aa365c3a1 Game duration displayed in hh:mm:ss ( same for disconnect time of players ) 2012-09-02 09:04:36 +00:00
Titus Tscharntke ed6961195f Disconnect time of early leavers is shown in end game stats. 2012-07-20 22:24:27 +00:00
Titus Tscharntke d217777f85 player end stats should show only players as laevers who left while game was running. ( feature not finished yet ) 2012-07-18 23:52:44 +00:00
Mark Vejvoda 68bfe9e455 - fixed rendering on battle end screen 2012-05-28 02:36:12 +00:00
Mark Vejvoda 0d38e2eb5d - added support for main menu background video 2012-05-19 08:40:49 +00:00
Mark Vejvoda 3b8dd289ac - updated cmake to check for support of backtraces in gcc compiler
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Mark Vejvoda 1ac9aa6d3f - fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
- added automation abilities for automated testing with automated saved games
2012-03-17 08:20:17 +00:00
Titus Tscharntke 9870c13a6b GraphicMessageBox can handle multiple buttons now 2012-02-19 17:37:53 +00:00
Mark Vejvoda 50f1fa65ca - bugfix on battle screen when 8 players playing, last player is sometimes chopped off
- masterserver mode bugfix for map filter
- masterserver now outputs in-game stats to console every 10 minutes (can be adjusted via ini setting: GameStatsDumpIntervalSeconds=x where x is update interval in seconds
2012-01-06 06:55:27 +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 1efb0b2b9a - bugfix for battle end screen font placement 2011-12-03 09:20:13 +00:00
Mark Vejvoda 8d89718a76 - fixed font overlapping on battle end screen 2011-12-03 08:43:48 +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 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
Titus Tscharntke f0fb35b64d menu layout ... 2011-11-04 00:36:07 +00:00
Mark Vejvoda 22c8881902 - update fonts for console when language is toggled 2011-11-03 23:38:43 +00:00
Mark Vejvoda 50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Mark Vejvoda 14736ddfb7 now fade out of music when starting game and fade out of music when ending game 2011-10-21 19:52:55 +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 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 f0b795377b - when masterserver game is over go right back to custom game lobby 2011-09-24 20:22:47 +00:00
Mark Vejvoda bb68106912 - phase 3 of cppcheck verbose fixes 2011-09-01 18:08:56 +00:00
Mark Vejvoda d44959d69c - phase 1 of cppcheck verbose fixes 2011-08-31 23:10:43 +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 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