Commit Graph

423 Commits

Author SHA1 Message Date
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
1d9f1f9432 - forgot to commit changes 2013-12-14 02:33:03 -08:00
SoftCoder
ec13e904d3 - fixed windows build (removed gl2 references) 2013-12-14 02:29:32 -08: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
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
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
b2f3748168 - updates related to debian package standards 2013-11-16 20:27:51 +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
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
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
54338461dc add timer for socket write errors to avoid performance penalty when writing to console 2013-11-09 19:30:36 +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
345907fc18 attempt to make win64 faster by using avx (as opposed to sse2) 2013-11-05 06:31:48 +00:00
Mark Vejvoda
3fb957a13e more vc++ compiler warning cleanup 2013-11-02 22:58:00 +00:00
Mark Vejvoda
eb085907d0 fixed the build 2013-11-02 11:22:32 +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
2612774078 a few small performance improvements based on perf tool 2013-11-01 06:42:57 +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
c66db8ce49 fix windows build 2013-10-28 21:08:49 +00:00
Mark Vejvoda
957fe2d09b cleanup of show message code for headless mode 2013-10-28 18:58:15 +00:00
Mark Vejvoda
9224a7e242 - attempt to fix crc file bug 2013-10-18 15:47:17 +00:00
Mark Vejvoda
67bf5ebc1b bugfix for vc++ compiling 2013-06-22 04:32:22 +00:00
Mark Vejvoda
bb14d4cc1e bugfix for shutdown of threads and garbage collection. 2013-06-22 03:36:18 +00:00
Mark Vejvoda
76ee030e93 bugfix for shutdown of threads and garbage collection. 2013-06-21 22:59:22 +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
173075d962 allow each language to specify special keys allowed for that language (bugfix for polish) 2013-06-05 05:53:59 +00:00
Mark Vejvoda
22eb5cc4d4 attempt to fix a thread bug when starting a game 2013-06-01 06:28:03 +00:00
Mark Vejvoda
7f88d866c1 attempt to fix a thread bug when starting a game 2013-06-01 06:07:14 +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
febbf5012c attempt to fix delay of irc client 2013-05-15 04:49:57 +00:00
Mark Vejvoda
dbd26de28f attempt to fix crash of irc client on exit 2013-05-15 00:45:34 +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
8983592400 - attempt to make mutex usage more stable and find memory issues 2013-04-05 05:39:30 +00:00
Mark Vejvoda
159cdc40d0 - attempt to see if this helps network performance 2013-03-23 22:32:51 +00:00
Mark Vejvoda
6152b6b7bb - additional socket thread protection to fix latest crash reported by titi 2013-03-11 03:27:20 +00:00
Mark Vejvoda
e74f747fbd - attempt to make connection status more reliable and have less hangs when disconnects occur 2013-03-08 08:42:08 +00:00
Mark Vejvoda
704935c534 - attempt to fix double free bug reported by tomreyn 2013-03-08 05:24:37 +00:00
Mark Vejvoda
47aa0050b8 - this seems to be stable now and handles lag quite well i think 2013-03-02 07:33:01 +00:00
Mark Vejvoda
9d19ff2b57 - added the first draft of joining games in progress 2013-02-15 18:25:10 +00:00
Titus Tscharntke
a3635376cf no more trouble with middle mouse button camera view 2013-02-09 23:20:40 +00:00
Mark Vejvoda
bf468a39e1 -bugfix for vc++ 2010 (last commit was done from vc++ 2012) 2013-02-05 02:35:09 +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
8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda
2a927cd0b8 - try to improve error handling on windows for better stack traces 2013-01-11 22:00:10 +00:00
Mark Vejvoda
5d2066fdbb - added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true 2013-01-10 21:16:28 +00:00
Mark Vejvoda
67be884d25 - bugfix for ircclient segfault using global cache 2013-01-08 07:55:48 +00:00
Mark Vejvoda
6872a873b2 - added support to disable libircclient via cmake:
-DDISABLE_IRCCLIENT=On
2013-01-08 06:59:53 +00:00
Mark Vejvoda
9275debe2d - allow changes to video resolution and fullscreen mode without restart 2013-01-01 02:24:23 +00:00
Mark Vejvoda
4c94cedb85 - upgrade embedded miniupnpc to 1.7 (fixes build) 2012-12-27 18:59:38 +00:00
Mark Vejvoda
68d8ef11d8 - see if this hotkey fix is ok for titi 2012-11-21 18:54:50 +00:00
Mark Vejvoda
f7ebba0301 - when changing playername, we reset the irc client connection when entering the internet lobby 2012-11-19 21:56:21 +00:00
Mark Vejvoda
3f82137c03 - fix for irc bug when leaving internet lobby too soon 2012-11-19 20:14:23 +00:00
Mark Vejvoda
d0006db4a1 - updated for debian compliance 2012-11-15 07:50:43 +00:00
Mark Vejvoda
20def412bf - attempt to get new version system working 2012-11-15 00:35:49 +00:00
Mark Vejvoda
d322f73284 - bug fixes and patches from hasufell related to:
- fontconfig not working
- new cmake option to control inclusion of libvlc
- new commandline option to force where to look for fonts: --font-path=x
- removal of libluajit from cmake
2012-11-14 19:20:08 +00:00
Mark Vejvoda
24fae99539 - remove unused code as debian flagged it as potentially unsafe 2012-11-12 04:18:43 +00:00
Mark Vejvoda
8ba5524f35 - updated error handling to be more flexible so we can display better error details (like bad tga file, etc) 2012-11-10 23:19:42 +00:00
Mark Vejvoda
35f6a6665b - attempt to keep irc connection and just join / leave the irc channel as required to speed up irc in the lobby 2012-11-10 09:22:28 +00:00
Mark Vejvoda
2e14844a24 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 07:03:47 +00:00
Mark Vejvoda
ff58a868b3 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 06:37:23 +00:00
Mark Vejvoda
e3a7aedd5c - headless server now supports lan option 2012-11-09 21:50:01 +00:00
Mark Vejvoda
51ca2ccc91 - some cleanup of the irc code 2012-11-09 07:09:53 +00:00
Mark Vejvoda
61c86c15d1 - added code for new network protocol (disabled by default as i need to test this on arm) 2012-11-02 19:08:55 +00:00
Mark Vejvoda
00e075df97 - more byte order logic
- added new network packet debug
2012-11-01 22:00:55 +00:00
Mark Vejvoda
0d88936680 - added byte order logic for loading models 2012-11-01 21:22:38 +00:00
Mark Vejvoda
56bcd62d88 - more updates to support big endian 2012-11-01 16:25:15 +00:00
Mark Vejvoda
b5dc847b66 - added new byte order code 2012-11-01 00:20:17 +00:00
Mark Vejvoda
b6b1abd43e - added new byte order code 2012-11-01 00:19:46 +00:00
Mark Vejvoda
b30909f90b - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 06:48:12 +00:00
Mark Vejvoda
1503956c55 - no runtime check for sse on mac (since the asm fails) with: error: can't find a register in class 'BREG' while reloading 'asm' 2012-10-29 20:37:00 +00:00
Mark Vejvoda
c0f29ccad2 - check for sse support when using gnu compilers 2012-10-29 07:45:26 +00:00
Mark Vejvoda
51be122b0c - explicitly check for sse cpu support at runtime (in windows)
- can disable this check using: --disable-streflop-checks
2012-10-29 07:28:55 +00:00
Mark Vejvoda
57d0104c01 - unescape special html entities when pulling down lng files from transifex
- do not show pw when showing ini settings on commandline
2012-10-22 20:05:42 +00:00
Mark Vejvoda
4598299caf - added the ability for advanced translation features (transifex users can download and remove custom files from the transfex website and test their work) 2012-10-22 05:08:52 +00:00
Mark Vejvoda
011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda
e86cb3aeff - more code cleanup based on suggestions from cppcheck 2012-10-18 08:16:47 +00:00
Mark Vejvoda
829a72db35 - added new intro video by Tiger
- bugfix for video display
- cleaned more code wanrings from cppcheck
2012-10-18 07:49:50 +00:00
Mark Vejvoda
bb2ba50589 - attempt to let user know when host does not have data port open 2012-10-16 00:58:49 +00:00
Mark Vejvoda
052fd3373c - attempt to fix client timeout issues in client connected menu when downloading files
- in lobby hold SHIFT + a letter when clicking a map, tileset or techtree and it jumps to the first found item of that letter
2012-10-15 07:44:44 +00:00
Mark Vejvoda
62c82ad9bc - allow the --connecthost commandline to use:
--connecthost=auto-connect
which will auto connect to the first found server on a lan
2012-10-06 00:25:13 +00:00
Mark Vejvoda
b4e6205671 - find servers on LAN now discovers customized game ports 2012-10-05 23:53:10 +00:00
Mark Vejvoda
4bde2882a6 - fixed bug in mod menu where no messages were shown since tit's console class change.
- added new ftp status info and display output from 7z extraction as it happens in game so that the user knows something is happening (and to show errors)
2012-09-27 05:54:37 +00:00
Mark Vejvoda
74cca86b3f - added new commandline option --connect=x:y format as requested 2012-09-25 21:52:23 +00:00
Mark Vejvoda
1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Mark Vejvoda
684c35e25a - fix text entry so unicode characters work properly 2012-09-21 03:41:10 +00:00
Mark Vejvoda
2a06197acd - added new commandline option to disable opengl capability checks to help trouble shoot users with bad video drivers: --disable-opengl-checks
(same as ini setting: CheckGlCaps=false)
2012-08-16 22:36:04 +00:00
Mark Vejvoda
39c85914e9 - updated to add more verbose info on startup when verbose enabled
- updated some projects for debug mode
2012-08-01 19:06:23 +00:00
Mark Vejvoda
0309e83791 - attempt to have windows screen come to forefront sooner 2012-07-27 19:08:41 +00:00
Mark Vejvoda
194e1868b9 - if holding ctrl while click to change the player type we will change all non human slots to the same player control type 2012-07-26 20:47:16 +00:00
Mark Vejvoda
0b9ad4c457 - added support for throwing known errors and skipping stack traces (For friendlier error messages) 2012-07-20 23:51:10 +00:00
Mark Vejvoda
9f0546c008 - set correct exit codes (for tomreyn)
- fix loading when too many units on map (do not segfault)
- deprecate ThreadedNetworkClient setting
2012-07-17 23:04:30 +00:00
Mark Vejvoda
4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Mark Vejvoda
2ad24dbe2a - bugfix for windows build and attempt to handle opengl fullscreen init better on windows 2012-07-04 01:23:04 +00:00
Mark Vejvoda
a8af70cee1 - when disabling backtrace ensure console output only shows direct errors without backtrace 2012-07-03 00:19:23 +00:00
Mark Vejvoda
76606fbdbe - allow loading of scenarios and tutorials when there are none (show an error message) 2012-06-30 19:11:54 +00:00
Mark Vejvoda
cb7bd8ff04 - added menu option and commandline parameter to disable video playback 2012-06-09 05:02:01 +00:00