Commit Graph

1584 Commits

Author SHA1 Message Date
Mark Vejvoda
d4a6645a4d - more code cleanup and game lobby force refresh bugfix when data changes 2013-09-19 01:19:36 +00:00
Mark Vejvoda
aa66e4b5e9 - updates to cmake script to detect inclusion of libvlc (and spelling mistake fix) 2013-09-18 19:03:12 +00:00
Mark Vejvoda
b5e26070b1 - updated to beta2 and added primitive CRC checking for network games, requies the Host user to set the following ini to enable CRC's:
EnableNetworkGameSynchChecks=true
2013-09-12 03:33:43 +00:00
Mark Vejvoda
5ea417b2bd added a fallback to use glib API if we cannot find the users home folder 2013-08-09 18:03:29 +00:00
Mark Vejvoda
cd0a8933cd attempt some speed improvements for logging 2013-08-09 04:55:35 +00:00
Mark Vejvoda
c60c96a22f enable fontconfig in cmake build 2013-08-01 22:24:00 +00:00
Mark Vejvoda
d46479df95 - bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
- converted asserts to exceptions
2013-06-23 04:17:25 +00:00
Mark Vejvoda
4764da0e50 check everything when it comes to joining meshes 2013-06-23 03:09:59 +00:00
Mark Vejvoda
9549b7f87a bugfix for join meshes, add opacity check also 2013-06-22 22:41:37 +00:00
Mark Vejvoda
b418d46254 bugfix for joining meshes, need to also check noselect flag 2013-06-22 21:47:50 +00:00
Mark Vejvoda
1520cdcea0 add check for invalid model missing texture 2013-06-22 21:41:30 +00:00
Mark Vejvoda
17da18978a init variables 2013-06-22 07:39:12 +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
0e184d609c updated cmake message 2013-06-21 19:24:59 +00:00
Mark Vejvoda
7b4a724764 bugfix for libminiupnpc cmake script 2013-06-21 19:19:38 +00:00
Mark Vejvoda
0c56e13e7a bugfix for libminiupnpc cmake script 2013-06-21 19:04:57 +00:00
Mark Vejvoda
bd4e2c8724 applied heightmap addition to map editor -> thanks muwum 2013-06-21 18:21:07 +00:00
Mark Vejvoda
441390e5c5 - fixed vc++ 2012 build
- some fixes found from vc++ 2012 code analyser
2013-06-21 00:12:19 +00:00
Mark Vejvoda
4848e957e7 code cleanup from cppcheck 2013-06-20 22:51:28 +00:00
Mark Vejvoda
dde601e416 attempt to implement will's mesh merging for better render performance 2013-06-20 07:24:09 +00:00
Mark Vejvoda
b31df9e94c attempt to further stabilize thread garbage collector 2013-06-18 22:41:18 +00:00
Mark Vejvoda
eec6d4f59c bugfix for pure virtual error on garbage collector thread 2013-06-18 22:26:12 +00:00
Mark Vejvoda
1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda
b9bb1623a6 make sure unpnpc patch is applied as given on sourceforge 2013-06-14 03:32:10 +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
adce76d68f more mad attempts to squeeze better performance 2013-06-12 17:49:12 +00:00
Mark Vejvoda
1d7b138ac3 load bmp's a little faster 2013-06-12 15:22:16 +00:00
Mark Vejvoda
cc4d650fad tga file load speed improvement 2013-06-12 07:21:16 +00:00
Mark Vejvoda
80f25e8fff bugfix for windows copmpiler 2013-06-12 06:51:59 +00:00
Mark Vejvoda
1e1676a34a more render improvements 2013-06-12 06:14:55 +00:00
Mark Vejvoda
836172f87c more render improvements 2013-06-12 01:24:10 +00:00
Mark Vejvoda
668b34db8e more mad attempts to squeeze better performance 2013-06-11 06:44:26 +00:00
Mark Vejvoda
267dc7534f bugfix for float rounding segfault 2013-06-11 01:23:04 +00:00
Mark Vejvoda
d067b52799 fixed windows build and added new test to vc++ project 2013-06-10 23:08:03 +00:00
Mark Vejvoda
16f4e08395 attempt to speed up float truncation and add some unit tests 2013-06-10 22:38:33 +00:00
Mark Vejvoda
6387d1b1b1 add default value of allowed keys in english of none 2013-06-08 21:57:11 +00:00
Mark Vejvoda
4533da71bd bugfixes for attack boost did not properly rollback boost value sometimes for multiplier style boosts 2013-06-06 04:10:49 +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
56774bc087 make server slots continuously read data on sockets during game 2013-06-04 00:31:41 +00:00
Mark Vejvoda
25450ebb85 bugfix for both progress and animation smoothness 2013-06-03 14:30:52 +00:00
Mark Vejvoda
e809080d0f tracking down bug on i386 platform
- comment titi's model debug output
2013-06-01 17:23:51 +00:00
Mark Vejvoda
8c725df8a2 tracking down bug on i386 platform 2013-06-01 17:02:10 +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
4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda
9ef098ba02 add more unit tests to cover all of the xml parser code 2013-05-28 20:56:01 +00:00
Mark Vejvoda
72480bc576 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 02:54:23 +00:00
Mark Vejvoda
2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Mark Vejvoda
aa69a5818b added some new lua methods to determine day or night and new event 2013-05-25 20:46:36 +00:00
Mark Vejvoda
5b664fb1a2 - bugfix for transifex tutorial download files now loaded into UI
- updated each thread to provide its name
2013-05-21 20:28:42 +00:00
Mark Vejvoda
7966422582 attempt to fix segfaults discovered during testing 2013-05-18 05:57:22 +00:00
Mark Vejvoda
748763f0f1 code cleanup based on cppcheck results 2013-05-17 05:21:14 +00:00
Mark Vejvoda
2fd5c2241e code cleanup based on cppcheck results 2013-05-17 04:06:39 +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
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
1b344808ff added more unit tests and did some refactoring of xml parser code 2013-05-03 20:18:01 +00:00
Mark Vejvoda
7534feb971 forgot to add an include 2013-05-01 21:01:57 +00:00
Mark Vejvoda
c30d78ff74 saved games for rejoining in progress games saves to .zip and sends that to clients. 2013-05-01 20:56:19 +00:00
Mark Vejvoda
3163b3887a fix the unit tests that didn't work on some compilers handling static cast of enums in a weird way 2013-05-01 01:20:29 +00:00
Mark Vejvoda
65266ca41e - added cppunit into build system and started writing some unit tests (requires new dependency cppunit) 2013-04-30 01:27:14 +00:00
Titus Tscharntke
6849d432bf colorpicking improved again and hopefully fixed false clicks on attacks ... ( works with low display resolutions too now) 2013-04-27 17:38:35 +00:00
Titus Tscharntke
8ba869c4b7 fixed double click selection for colorpicking 2013-04-26 15:25:15 +00:00
Titus Tscharntke
77ca62240e and colorpicking is faster again 2013-04-25 23:46:55 +00:00
Titus Tscharntke
9d3c99d6d0 Speed for colorpicking :-D. Its nearly as fast as selectbuf now . ( and tree selection for colorpicking is fixed ) 2013-04-25 23:12:34 +00:00
Titus Tscharntke
519ad0fbeb Bug in models or bug in g3dviewer ? Newer models have set opacity of Material set to 0 ( needed to see transparency in blender ) but this full transparency is ( correctly) exported, resulting in not beeing shown in G3d Viewer or when used as unit. Used as tileset Models all was ok. So fixed for the Moment, but not entirely happy with this now. Maybe the blender exporter should set opacity to 1 if its set to 0 instead. 2013-04-08 22:01:38 +00:00
Mark Vejvoda
8983592400 - attempt to make mutex usage more stable and find memory issues 2013-04-05 05:39:30 +00:00
Titus Tscharntke
d2928459a0 better line wrapping respecting \n too now 2013-04-03 16:16:39 +00:00
Mark Vejvoda
d703f7605b - try to improve network performance 2013-03-23 23:18:50 +00:00
Mark Vejvoda
01b757a743 - try to improve network performance 2013-03-23 23:13:33 +00:00
Mark Vejvoda
159cdc40d0 - attempt to see if this helps network performance 2013-03-23 22:32:51 +00:00
Mark Vejvoda
bad8f62f94 - bugfixes for detecting client disconnection 2013-03-15 06:51:57 +00:00
Mark Vejvoda
b805308a42 - bugfixes for detecting client disconnection 2013-03-15 00:31:51 +00:00
Mark Vejvoda
9ceaf6cec1 - attempt to further protect threaded socket access 2013-03-14 19:46:31 +00:00
Mark Vejvoda
16d25210e4 - make client use less CPU for network games 2013-03-13 21:32:48 +00:00
Mark Vejvoda
1e07d023ce - additional socket thread protection to fix latest crash reported by titi 2013-03-11 03:52:35 +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
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
b8357b8696 - updated cmake to output more info regarding finding libircclient and better support for ircclcient
- cleanup too many exclamations in finding ftgl libs
2013-03-06 00:47:21 +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
45b8cf21a4 - attempt to fix disconnect and thread lock for in game connect games 2013-02-26 07:05:46 +00:00
Mark Vejvoda
af89f4c5ed - fixed the build on windows 2013-02-22 22:40:31 +00:00
Mark Vejvoda
b8f594fcf2 - comment out debug statement from last commit 2013-02-21 23:34:26 +00:00
Mark Vejvoda
98e8aff4c3 - check when loading xml's that they are not a folder
- change dump world key to \
2013-02-21 23:30:26 +00:00
Titus Tscharntke
01b6986581 First steps for new terrain texturing. In tileset xml do:
<surface partsize="64">
			<texture path="textures/512.png"/>
                </surface>
2013-02-20 17:42:47 +00:00
Mark Vejvoda
8916a86b8c - bugfixes for load / save game for in progress joining 2013-02-19 06:41:56 +00:00
Mark Vejvoda
87a4eb49e4 - fixed lua 5.2 code for save / load games
- cmake now prefers lua 5.2 over 5.1
2013-02-16 21:20:09 +00:00
Mark Vejvoda
45dc4c0e5d - updates to join in progress game, and now allow for switching slots 2013-02-16 19:11:36 +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
9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda
86a7ca2b6f - bugfix for older upnpc versions 2013-02-08 17:51:53 +00:00
Titus Tscharntke
06a1fad2fc fix for more picky gcc 4.7.2 compiler 2013-02-08 17:42:44 +00:00
Mark Vejvoda
da611f8a1f - add a few more safety's in the code to avoid memory issues 2013-02-08 07:56:46 +00:00
Mark Vejvoda
74d7841c4d - add a few more safety's in the code to avoid memory issues 2013-02-08 07:54:12 +00:00
Mark Vejvoda
941b00b9bb - remove 8 bit color as a selectable options in UI 2013-02-07 01:41:52 +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
f4b026b41f - bugfix on linux 2013-02-04 08:36:03 +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
bff9b1b3bc - cleanup a bunch of vc++ compile / link warnings 2013-02-01 08:12:20 +00:00
Mark Vejvoda
71d5f24828 - added support for google-breakpad in linux 2013-02-01 02:27:01 +00:00
Mark Vejvoda
bf71461d78 - see if this fixes loading issue on windows 2013-02-01 00:30:32 +00:00
Mark Vejvoda
864ef8acec - see if this fixes loading issue on windows 2013-01-31 23:59:05 +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
fe942809e6 - fixed a few issues found by JeffM (debian games team irc channel) while testing on Windows 7 64 bit 2013-01-30 06:08:14 +00:00
Mark Vejvoda
bd2bb98e3f - bugfix g3d viewer to render textures 2013-01-25 15:23:45 +00:00
Mark Vejvoda
8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda
a15bdecbf3 - a few safety changes for network communication
- small tweaks for unit selection
2013-01-24 21:09:40 +00:00
Mark Vejvoda
87b39a3cb5 - fix unit selection 2013-01-24 15:52:11 +00:00
Mark Vejvoda
bf7445903d - cleanup some color pick code 2013-01-24 00:42:06 +00:00
Mark Vejvoda
d7d83f7c5e - attempt to speed up color picking 2013-01-23 23:20:54 +00:00
Mark Vejvoda
86eac7451b - attempt to speed up color picking 2013-01-23 22:34:22 +00:00
Mark Vejvoda
93438d42f4 - attempt to see if this fixes units that do not attack when right clicking enemy
- see if this fixes crashes when using color picking
2013-01-23 21:03:00 +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
7146a20976 - attempt to fix / improve performance of color picking 2013-01-22 04:30:06 +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
Mark Vejvoda
ce7982dc91 - see if this speeds up color picking 2013-01-16 16:58:28 +00:00
Mark Vejvoda
d7eeaa4d8d - see if this speeds up color picking 2013-01-16 01:46:31 +00:00
Mark Vejvoda
1e6364051b - updated cmake to only place binaries in dev friendly folder if a new option is passed (enabled by default using the build script)
-DWANT_DEV_OUTPATH=ON
2013-01-15 17:26:55 +00:00
Mark Vejvoda
ceedef5200 - see if this fixes color picking 2013-01-15 03:18:26 +00:00
Mark Vejvoda
17a599ced3 - see if this fixes color picking 2013-01-15 00:52:00 +00:00
Mark Vejvoda
6f0c700acf - see if this fixes color picking 2013-01-15 00:38:45 +00:00
Mark Vejvoda
90ad8581d7 - bug fixes for new thread manager when in game lobby 2013-01-12 04:40:44 +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
ef069abdc8 - attempt to get mac build further 2013-01-10 07:32:54 +00:00
Mark Vejvoda
5d545f6588 - attempt to get mac build further 2013-01-10 06:19:07 +00:00
Mark Vejvoda
050672e69a - attempt to get mac build further 2013-01-09 06:09:56 +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
5a2adde414 - added cpack info in cmake script
- cleaned up warnings in xml parser
2013-01-04 05:55:45 +00:00
Mark Vejvoda
1f49886755 - re-enabled fog of war cache to improve performance
- improve xml file loading speed
2013-01-03 17:30:59 +00:00
Tom Reynolds
3b99aa6a4e Mark all scripts as exectuable 2013-01-02 15:57:17 +00:00
Tom Reynolds
7c511b1238 Remove executable bit (svn propdel svn:executable) off files which don't need it 2013-01-02 15:03:44 +00:00
Mark Vejvoda
46869536bb - allow changing screen resolution and fullscreen mode in options menu with confirmation 2013-01-01 10:18:42 +00:00
Mark Vejvoda
f8ef92213d - fix windows compile 2013-01-01 03:52:56 +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
a6d985a488 - bugfix for new miniupnpc on windows XP (the authors added code making it require Vista and higher, no thanks)
- added fribidi support to vc++ build (requires new windows dependencies download)
2012-12-28 21:20:52 +00:00
Mark Vejvoda
2d79eb2c0e - attempt to fix stupid VC++ issue with special characters and certain locales 2012-12-28 14:52:24 +00:00
Mark Vejvoda
6028ff30a6 - see if this helps james (saves as utf8) 2012-12-27 19:27:14 +00:00
Mark Vejvoda
b98effd5f4 - fixed build for vc++ using new miniupnpc 1.7 2012-12-27 19:22:16 +00:00
Mark Vejvoda
4c94cedb85 - upgrade embedded miniupnpc to 1.7 (fixes build) 2012-12-27 18:59:38 +00:00
Mark Vejvoda
7fdd70402d - added support for libfribidi for languages requiring complex text rendering like Arabic and Hebrew 2012-12-27 08:24:30 +00:00
Mark Vejvoda
7a57668a91 - added support for libminiupnpc 1.7 2012-12-26 01:11:11 +00:00
Mark Vejvoda
f27e1c8d95 - added patch from freebsd for libdl.so 2012-11-30 23:40:27 +00:00
Mark Vejvoda
65b67d865a - updated to meet debian standards
- (changed mac osx file to utf-8)
2012-11-23 06:21:08 +00:00
Mark Vejvoda
0a5094c673 - bugfix for version checking 2012-11-22 23:46:00 +00:00
Mark Vejvoda
68d8ef11d8 - see if this hotkey fix is ok for titi 2012-11-21 18:54:50 +00:00
Mark Vejvoda
8979219f43 - patch to support lua 5.2 (from opensuse) 2012-11-21 15:22:15 +00:00
Mark Vejvoda
ab9ded4734 - patch for opensuse loading fonts 2012-11-21 15:16:57 +00:00
Mark Vejvoda
c3ff9973d9 - fixed screenshots so holding shift ignores the screenshot key 2012-11-20 01:12:07 +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
4a0617b12c - ripped out a lot of unused code dealing with utf8 2012-11-15 08:12:40 +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
9d4965ac4e - updated for debian compliance 2012-11-12 04:52:19 +00:00
Mark Vejvoda
0cd2389e95 - updated for debian compliance 2012-11-12 04:50:34 +00:00
Mark Vejvoda
2469503128 - updated for debian compliance 2012-11-12 04:42:05 +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
847f97a048 - try to force focus on main window at startup 2012-11-11 05:31:11 +00:00
Mark Vejvoda
1966710628 - more detailed error handling for bad textures and/or models and sounds 2012-11-11 04:52:26 +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
8a0390db35 - cleanup compiler warnings 2012-11-10 07:31:21 +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
8793b3400b - bugfix for backspace on mac 2012-11-09 21:05:43 +00:00
Mark Vejvoda
51ca2ccc91 - some cleanup of the irc code 2012-11-09 07:09:53 +00:00
Mark Vejvoda
16b85dbe79 - added another patch from cygal (he's on fire people!) to word wrap messagebox text
- remove newlines from english text where appropriate
2012-11-07 21:24:44 +00:00
Mark Vejvoda
29da478bd5 - more cppcheck code cleanup 2012-11-06 03:52:27 +00:00
Mark Vejvoda
75acb075e8 - fix compilation of freetype-gl font system 2012-11-02 21:43:35 +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
7243a22abc - added byte order logic for loading textures and sounds 2012-11-01 23:07:51 +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
e0efa229c5 - more updates to support big endian 2012-11-01 06:36:35 +00:00
Mark Vejvoda
3bba236d02 - more updates to support big endian 2012-11-01 06:21:35 +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
6a734a0336 - removed unused includes of fontconfig to cleanup some code
- added a warning for developers with older versions of fontconfig, to disable using it
2012-10-30 20:03:23 +00:00
Mark Vejvoda
b5966c3049 - add optional to force non use of fontconfig 2012-10-30 19:47:31 +00:00
Mark Vejvoda
55c7d1976f - show final font file selected in verbose mode 2012-10-30 19:29:41 +00:00
Mark Vejvoda
1e8438eadb - add some more verbose info on font searching and cleanup a leak 2012-10-30 19:24:18 +00:00
Mark Vejvoda
e86a1ea5c0 - added address and port to socket error 2012-10-30 17:47:19 +00:00
Mark Vejvoda
5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda
8b2e2bfd5d - attempt to cleanup for debian compliance (proper copyright, etc) 2012-10-30 07:13:33 +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
28d65e8d55 - cleanup from last checkin (corrections) 2012-10-26 03:08:40 +00:00
Mark Vejvoda
3419127632 - proper way to handle size_t objects (cleanup warning on other platforms) 2012-10-26 02:42:10 +00:00
Mark Vejvoda
478c61d18f - remove configurator refs 2012-10-26 00:05:44 +00:00
Mark Vejvoda
bf38a83de3 - fix for compiling on arm using softfloat 2012-10-25 16:35:58 +00:00
Mark Vejvoda
5e3c4e28cf - no longer over-write special tag substitutions in ini files in order to preserve derived paths etc 2012-10-24 14:43:02 +00:00
Mark Vejvoda
6d2afae784 - fixed compile on windows 2012-10-24 01:09:53 +00:00
Mark Vejvoda
92de14ac98 - applied a patch from debian gcc 4.7 2012-10-24 00:26:12 +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
64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
8a7190f6f1 - fixed windows build 2012-10-19 02:01:40 +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
39191dc11e - added some safety checks when loading models (in case we have some corrupt data) 2012-10-18 17:59:19 +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
d6334c0c6b - bugfix to use correct port when removing non standard upnp port forwards 2012-10-16 16:23:24 +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
646a066ec4 - attempt to fix client timeout issues in client connected menu when downloading files 2012-10-15 08:17:31 +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
6c62d675c3 - validation now checks for spawn attack units so it does not mis-report suck skills
- badly named texture in g3d model now reports which model file has the problem
2012-10-14 23:57:49 +00:00
Mark Vejvoda
e63e634e1e - added a bit more lua and updated capture enemy flag 2012-10-13 07:33:33 +00:00
Mark Vejvoda
86c083837b - add lua's io package to unsafe list 2012-10-12 14:10:19 +00:00
Mark Vejvoda
a9d5af5261 - updated unit already in cell error with more detail 2012-10-11 14:23:31 +00:00
Mark Vejvoda
6b324cbb4e - added second round of security sandboxing for lua scripts (disable a number of other potentially dangerous functions) 2012-10-11 06:10:21 +00:00
Mark Vejvoda
e3e3832070 - added first round of security sandboxing for lua scripts (disable the os library) 2012-10-11 05:17:37 +00:00
Mark Vejvoda
a70320dd9f - property files can start a comment with # also 2012-10-10 23:16:37 +00:00
Mark Vejvoda
2f1ddf7776 - code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:27:32 +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
2a80dd7c3c - more cppcheck code cleanup 2012-10-06 03:42:31 +00:00
Mark Vejvoda
97ba1a27e2 - cleaned up some warnings from VC++ compiler 2012-10-06 02:40:24 +00:00
Mark Vejvoda
c39da4cd69 - code cleanup from cppcheck 2012-10-06 02:10:23 +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
7f271d0b51 - attempt to fix issue where sometimes the screen starts black and does not render 2012-10-05 05:28:16 +00:00
Mark Vejvoda
2061581be0 - added macro for older libvlc compiling 2012-09-27 21:22:17 +00:00
Mark Vejvoda
4e195e10af - updated random seed generation to be more random 2012-09-27 06:42:57 +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
5d72c3f72b - bugfix for looping 2012-09-27 01:18:50 +00:00
Mark Vejvoda
c33c1826ae - proper implementation of video repeat (looping) 2012-09-27 01:17:57 +00:00
Mark Vejvoda
a21f2b705d - some video rendering optimizations 2012-09-26 23:16:29 +00:00
Mark Vejvoda
1db56463fd - try to make video performance a little better 2012-09-26 08:08:52 +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
7c0e10684a - added lua functions to add / remove cell markers:
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition

removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Tom Reynolds
bde7b5d94d servers.ini: new IP address for summoner
source/shared_lib/CMakeLists.txt: minor typos
2012-09-22 23:18:26 +00:00
Mark Vejvoda
8e88b36723 - removed pathfinder from GAE and all references 2012-09-22 21:39:13 +00:00
Mark Vejvoda
d91e72a825 - windows compile bugfixes 2012-09-22 21:00:31 +00:00
Mark Vejvoda
e0bf4df646 - cppcheck round #2 cleanup 2012-09-22 20:37:42 +00:00
Mark Vejvoda
1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00