Commit Graph

690 Commits

Author SHA1 Message Date
titison 12102f8791 Specific Tileset on map-preview option
Tell the game a specific tileset to use together with the --preview-map
option. The Tileset is optional. Default is forest.
! EVEN IF FOREST DOES NOT EXIST ! (like before)
./start_megaglest --preview-map=Map,Tileset
2015-03-08 01:36:16 +01:00
filux 3a1f295e4e no more long nicknames which overlaps other text 2015-02-06 00:58:02 +01:00
SoftCoder 51c67cc7ff - make app update work in windows 2014-12-30 22:09:53 -08:00
titiger f62efc64bf fix for uneditable closed slots
https://forum.megaglest.org/index.php?topic=9620.0
2014-12-22 03:08:19 +01:00
SoftCoder 461b16be8e - attempt to fix attack boosts to properly apply and de-apply when upgrades are present 2014-12-20 14:25:42 -08:00
titiger c3cd1cfc17 return value was not used
Coverity CID 1232671
2014-12-16 01:15:56 +01:00
titiger ea2b4bcc7f Headless servers should not precalculate CRCs.
This creates too much load when more than one server is running on 
the same machine.
2014-09-25 23:50:37 +02:00
Mike Hoffert 488ff4f462 Added namespace and file comments
Namespaces Glest and Game are now commented. To avoid unnecessary
duplication, they're only commented in one place (main.cpp).
2014-07-21 21:02:31 -06:00
SoftCoder 7cae2b53f1 - bugfix for windows processing var tags in ini files (was crashing on windows when using the new glest-dev.ini) 2014-01-27 20:12:14 -08:00
SoftCoder 33bb424802 - ensure we get a newline after doing a version check when streflop disabled 2014-01-26 19:39:50 -08:00
SoftCoder dfb6c130ca - additional bugfix when restoring last game settings 2014-01-26 19:22:27 -08:00
SoftCoder 952004151c - removed d3d files which were deprecated long ago
- removed freetype-gl (the embedded library from code.google.com)
2014-01-25 17:54:46 -08:00
SoftCoder 08af18429d - stubbed out use of xerces as no code was using it any longer. Xerces is no longer a requirement to build, we have been using rapidxml for a long time now. For now the MACRO: WANT_XERCES will build Xerces support into th egame, but it is still not used. We will likely deprecate xerces from megaglest soon. 2014-01-25 17:09:52 -08:00
SoftCoder fe808556bd - added more fields for dev path support.. onlu ico files for linxu left to fix 2014-01-24 17:51:06 -08:00
SoftCoder 581a975209 - added support for dev mode paths and removed linux symlinks for game data
- bugfix for segfault on headless when client disconnects
2014-01-24 13:44:21 -08:00
SoftCoder b0fc9597e3 - fixed some bugs reported by coverity 2014-01-17 09:53:19 -08:00
SoftCoder 58faecb5d5 - bugfix for datapath 2014-01-03 10:15:30 -08:00
SoftCoder 85319b30fc - fixup use of --data-path param 2014-01-03 08:01:33 -08:00
SoftCoder 6f4c3ed033 - added reg file for windows users to manually disable packet throttling
- added console warning for windows users that have this setting enabled.
2014-01-01 13:24:24 -08:00
SoftCoder 676a6071fa - attempt to disable packet throttling on windows
- added some network packet debug code
2014-01-01 10:59:55 -08:00
SoftCoder c7c82b56e1 - a little cleanup of building with lua and CMAKE
- added ability to force building without static libs in build script: -d=1
- added --lua-debug commandline option
2013-12-30 11:02:43 -08:00
SoftCoder 5c90b9148c - bugfix for saving / loading booleans in a lua table 2013-12-30 09:28:25 -08:00
SoftCoder 62821793c0 - moved core game data asset loading into lazy load methods to try to improve the startup speed of megaglest. 2013-12-27 22:00:29 -08:00
SoftCoder 3bb9da6cdf - removed directsound related references as it has been deprecated since 3.6.0.1
- coverity related fixes
2013-12-25 11:42:00 -08:00
SoftCoder e3996ceb92 - bugfixes for coverity reported issues
- new bash parameters for build-mg.sh (in prep for coverity automation)
- updated travis build to use new bash param
2013-12-17 17:35:51 -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
SoftCoder a56eb83c91 - moved map path into config class
- proper render performance calc compare
2013-12-16 23:54:33 -08:00
SoftCoder 65e55d3796 - merged changes with windows build fixes
- updated svn commands to git for validation params
2013-12-14 02:44:41 -08:00
SoftCoder b9d6b38e8f - coverity based bug fixes - round #1 2013-12-13 23:04:12 -08:00
Will 6afadafa1e Start to abstract model 2013-12-05 16:17:41 +01:00
SoftCoder f217db38f1 - changed to git version stamp 2013-11-29 13:13:30 -08:00
Will c6530c2783 merging in all Will's changes 2013-11-29 02:12:34 +01:00
filux 00b4d9ab4e resolved conflicts by conversion CRLF to LF 2013-11-28 08:26:39 +01: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 ad7569ded1 - code cleanup based on additional gcc warnings 2013-11-19 07:02:26 +00:00
Mark Vejvoda 94684c66a4 - code cleanup based on additional gcc warnings 2013-11-19 06:56:09 +00:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda 303746df80 - updated cmake scripts to fix build problems on debian 2013-11-16 19:18:09 +00:00
Mark Vejvoda 1dd1b8febb some minor bugfixes (proper variable init, added validation error message) 2013-11-16 18:36:54 +00:00
Mark Vejvoda 445e39ab2d updated compressor to skip non mode game data by default unless additional parameter specified 2013-11-14 23:18:28 +00:00
Mark Vejvoda 9350b16c4a cleanup from cppcheck 1.62 2013-11-14 16:42:22 +00:00
Mark Vejvoda cc21dbbc5c cpp check warnings cleanup 2013-11-14 13:22:55 +00:00
Mark Vejvoda d48d63b1fa a bit more refactoring for command line parameters 2013-11-14 12:54:05 +00:00
Mark Vejvoda 53eca42a11 - Disable performance warnings by default. To enable, either press ' in a game top toggle on/off or add this key: PerformanceWarningEnabled=true
- refactor data compress into its own function
2013-11-14 12:38:03 +00:00
Mark Vejvoda a300621415 - added a new commandline command to create data archives for network xfer for techtrees and tilesets:
megaglest --create-data-archives=all
2013-11-14 06:59:29 +00:00
Mark Vejvoda 0a0e3f408a - added experimental Right To Left 'mixed mode' support to attempt to make RTL languages with lines having mixed RTL and LTR words display properly (this is a manual hack). To enable, add this to the languages lng file: FONT_RIGHTTOLEFT_MIXED_SUPPORT=true 2013-11-13 07:56:19 +00:00
Mark Vejvoda 9625bd77a4 - attempt ot get fine details of performance bottlenecks
- attempt to improve performance a bit
2013-11-11 08:28:15 +00:00
Mark Vejvoda d32de80491 bugfix for precache crc thread unpause on game end 2013-11-10 21:55:22 +00:00
Mark Vejvoda 8ea6235495 ensure pre cache crc thread does not interfere with running game 2013-11-10 19:47:04 +00:00
Mark Vejvoda 9b097fd911 decouple masterserver from network host game settings into two seperate threads 2013-11-07 18:39:08 +00:00
Mark Vejvoda 70421d1b3d added a check for data and user data paths being the same 2013-11-06 00:31:36 +00:00
Mark Vejvoda c6b42e4bf6 bugfixes in win64 for exception handling 2013-11-04 17:42:48 +00:00
Mark Vejvoda 1134ad399d - added a more graceful way to handle more serious errors during data validation commands in order to offer more detailed error analysis 2013-11-04 07:21:04 +00:00
Mark Vejvoda 3fb957a13e more vc++ compiler warning cleanup 2013-11-02 22:58:00 +00:00
Mark Vejvoda 1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda b05c6c1136 - handle it more gracefully when user has no techtrees 2013-11-01 05:25:55 +00:00
Mark Vejvoda 7ad30f92bf - added game statistics gathering and saving on masterserver.
see Table glestserver now has the field: gameUUID
Table glestgamestats has game header stats
Table glestgameplayerstats has game player stats
2013-10-31 00:57:36 +00:00
Mark Vejvoda af135e6ad5 code cleanup 2013-10-29 21:35:04 +00:00
Mark Vejvoda 7011d49868 popup language menu now shows native and english version of language name 2013-10-29 21:32:19 +00:00
Mark Vejvoda d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda 957fe2d09b cleanup of show message code for headless mode 2013-10-28 18:58:15 +00:00
Mark Vejvoda 8bbcdfbdb3 attempt to have mg shutdown cleanly when opengl version is too low 2013-10-28 18:27:51 +00:00
Mark Vejvoda ad0fb1d6f7 cleaned up code based on feedback from cppcheck 2013-10-25 05:45:54 +00:00
Mark Vejvoda 9224a7e242 - attempt to fix crc file bug 2013-10-18 15:47:17 +00:00
Mark Vejvoda 53a557d8d1 - fixed mod center image previews in cases where userdata folder was non default
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda ee6eadb0d8 print warning if techtree is missing factions 2013-09-30 22:12:35 +00:00
Mark Vejvoda 67bf5ebc1b bugfix for vc++ compiling 2013-06-22 04:32:22 +00:00
Mark Vejvoda 76ee030e93 bugfix for shutdown of threads and garbage collection. 2013-06-21 22:59:22 +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 1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda ba1852aa63 a few missed areas of translated techtrees 2013-06-13 20:22:04 +00:00
Mark Vejvoda 1eb17e3bb2 - added support for translated techtrees. To produce a default techtree lng file in the proper techtree folder run:
megaglest --translate-techtrees=megapack

where megapack is the name of the techtree
2013-06-12 22:49:47 +00:00
Mark Vejvoda 8066502f9b fix a few areas that vc++ 2012 pointed to as potential bugs 2013-06-08 03:40:04 +00:00
Mark Vejvoda b6780d2af7 code cleanup 2013-06-04 04:36:00 +00:00
Mark Vejvoda 4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda 831bbda6c9 better error handling for game / scenario loading problems (like bad xml) 2013-05-28 15:42:54 +00:00
Mark Vejvoda 8408526b12 code cleanup based on cppcheck results 2013-05-17 03:59:34 +00:00
Mark Vejvoda a17fcdb5b4 bugfixes for thread shutdown 2013-05-17 00:40:54 +00:00
Mark Vejvoda 910bb8bc56 - attempt to have more clean shutdown of threads on game exit 2013-05-17 00:08:26 +00:00
Mark Vejvoda 2771069c16 added extra null check on main application close to hopefully fix windows crash 2013-05-05 06:14:22 +00:00
Mark Vejvoda 5370729ce1 bugfix to close irc client down quickly when exiting application. 2013-05-03 23:11:57 +00:00
Mark Vejvoda 45a1fcdf4e bugfix for purgeunused to not delete language files for techtrees 2013-04-29 05:51:41 +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 560ed46cc0 - more bugfixes for slot switching and joining in progress games
- disallow server to toggle pause state when client is joining
- fix dmp extension on linux
2013-03-06 14:29:49 +00:00
Mark Vejvoda 5fd8b121a9 - allow for multiple preview / loading / hud textures for different resolutions 2013-02-11 23:43:30 +00:00
Mark Vejvoda af100408ed - correct vc++ build so that we properly parse the version info for automated builds 2013-02-09 08:01:06 +00:00
Mark Vejvoda 9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda f87b8b6ee2 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-04 08:30:43 +00:00
Mark Vejvoda 8dc637527a - tighten up code.. ensure pointers set to null after delete, etc 2013-02-01 17:25:49 +00:00
Mark Vejvoda d808b4ecc4 - added Unit selection type label
- updated unhandled exception logic in linux
2013-02-01 05:52:00 +00:00
Mark Vejvoda 3ccdd1a0c7 - updated windows exception handler to catch all error types 2013-02-01 05:26:07 +00:00
Mark Vejvoda 71d5f24828 - added support for google-breakpad in linux 2013-02-01 02:27:01 +00:00
Mark Vejvoda ea03747ace - updated to add initial support for google-breakpad exception handling 2013-01-31 20:17:52 +00:00
Mark Vejvoda 8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda 7ecc7325ac - trying to trace nig's crash (more debug info and safer code) 2013-01-23 14:51:28 +00:00
Mark Vejvoda 141f7eaa48 - cleanup some warnings in VC++
- more consistent project settings in vc++
2013-01-23 06:53:55 +00:00
Mark Vejvoda 7eaf0dcffc - rollback last change 2013-01-18 04:01:43 +00:00
Mark Vejvoda 790400938d - test to see if we get better info on windows for unknown errors 2013-01-18 01:12:32 +00:00