Mark Vejvoda
87c1bc5491
- bugfix for socket issue mentioned today in the forums by PT
2011-01-03 02:16:00 +00:00
Titus Tscharntke
bcaf400689
No more MG Bot Messages; IRC chatting is disabled until really connected to irc.
2011-01-02 23:53:59 +00:00
Titus Tscharntke
472aa69c5c
You see an error message now if you cannot connect to a server and irc is not quitted.
2011-01-02 18:47:43 +00:00
Mark Vejvoda
8a421ba639
- more error handling in scenarios menu
2011-01-02 17:06:07 +00:00
Mark Vejvoda
37508928f2
- added error checking in constructor of scenarios menu
2011-01-02 16:55:52 +00:00
Mark Vejvoda
3370fdd39f
- attempt to fix socket freeze issue
2011-01-02 16:24:44 +00:00
Titus Tscharntke
d09d29f520
new default settings for ultra/easy/mega ; dansk.lng up to date ; code cleanup
2011-01-02 12:18:14 +00:00
Mark Vejvoda
fabf42c807
- bugfixes for mingw compilers
2011-01-02 10:29:13 +00:00
Mark Vejvoda
83ff486e21
- code cleanup
2011-01-02 10:09:49 +00:00
Mark Vejvoda
e7ee0b81fe
- commented out debug printf
2011-01-02 09:34:14 +00:00
Mark Vejvoda
5f4d3e9088
- numerous thread bugfixes related to menu stability and ftp server socket usage
2011-01-02 09:33:37 +00:00
Mark Vejvoda
2b1732e27e
- overhaul of thread processing, especially in the menus, things now freeze much less and should be more reliable
2011-01-02 06:46:48 +00:00
Mark Vejvoda
9150701e70
- more thread guards for IRC Client
2011-01-02 04:16:24 +00:00
Mark Vejvoda
3fed09ab32
- removed a bad out of synch check as it was wrong
...
- added socket messages when out of synch detected.
2011-01-02 01:48:56 +00:00
Mark Vejvoda
97c5e48006
- more stable handling of backtrace
2011-01-02 01:20:04 +00:00
Mark Vejvoda
896b1c308c
- added a backtrace for gcc compiled binary when we get a runtime error.
...
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Titus Tscharntke
67be9b7b40
german languagefile is now up to date; cleaned up the english one a bit ( order )
2011-01-02 00:28:13 +00:00
Titus Tscharntke
23f9d29769
too much red in the console ;-)
2011-01-01 22:08:34 +00:00
Titus Tscharntke
13c6fb49b3
chat highlighting, and more features related to chat
2011-01-01 20:31:25 +00:00
Mark Vejvoda
f63e76df74
- updated mingw cmake files to work with new libcurl version (requires new ming deps download)
2011-01-01 11:39:04 +00:00
Mark Vejvoda
539ab23e89
- updated cmake script to check for minimum libcurl version
2011-01-01 11:11:05 +00:00
Mark Vejvoda
48ab8b7b32
- added more socket threaded protection and output curl version if ftp transfers fail
2011-01-01 10:16:25 +00:00
Mark Vejvoda
340c80d4c3
- added new commandline parameter: curl-info
2011-01-01 03:32:41 +00:00
Mark Vejvoda
8eeb0b550c
- more ftp tileset bugfixes
2011-01-01 03:12:28 +00:00
Mark Vejvoda
7088f60425
- more ftp tileset bugfixes
2011-01-01 02:01:10 +00:00
Mark Vejvoda
79d2329559
- more ftp tileset bugfixes
2011-01-01 01:54:12 +00:00
Mark Vejvoda
093077810f
- bugfix to add tileset requests into ftp client thread
2011-01-01 01:49:01 +00:00
Mark Vejvoda
2cdb8dd354
- initial work for tileset ftp transfers, needs some testing
2011-01-01 00:50:10 +00:00
Mark Vejvoda
798c88e991
- removed unreferenced variables to cleanup warnings
2010-12-31 21:11:58 +00:00
Mark Vejvoda
7e55a545c4
- added code for ftp client to handle failures and menu exit more gracefully
2010-12-31 21:02:06 +00:00
Mark Vejvoda
1f29685803
- bugfixes for ftp server to work on windows, silly M$ compiler has issues with mixing C / C++ code so I had to make these changes
2010-12-31 21:00:25 +00:00
Titus Tscharntke
9b3e921888
scrollbars and other things ....; scrollbars always visible at the moment ; had some trouble with threads hopefully fixed now.
2010-12-31 17:16:49 +00:00
Mark Vejvoda
d176053da9
- plenty of code cleanup (some refactoring of socket / UPNP code)
...
- FTP console output now only shows when --verbose used
2010-12-31 08:21:26 +00:00
Mark Vejvoda
bd12b10e29
- bugfixes for debuglog filelist which crashes on windows platform on program exit
2010-12-31 01:53:16 +00:00
Mark Vejvoda
3e5f4ee7ab
- started some code cleanup of main startup code
2010-12-30 23:18:43 +00:00
Mark Vejvoda
0987536af8
- changed order of map searching, now we look in this order:
...
mydata/maps mgm file type
mydata/maps gbm file type
maps / mgm file type
maps/ gbm file type
2010-12-30 21:19:08 +00:00
Mark Vejvoda
c59807c4cf
- fixed local chat echo in clientinterface so that messages intended to be shown locally are properly displayed in the console
...
- added a success / failure message for downloaded map attempts
2010-12-30 20:48:39 +00:00
Mark Vejvoda
973b546b04
- more bugfixes related to ftp and firewall handling
2010-12-30 20:02:30 +00:00
Mark Vejvoda
64446194e7
- more bugfixes related to ftp and firewall handling
2010-12-30 18:51:25 +00:00
Mark Vejvoda
1480d7c68d
- bugfix for compiling in VC++
2010-12-30 16:05:47 +00:00
Mark Vejvoda
3f0ee7a6cb
- some initial changes to try to get ftp working over the Internet with firewalls etc
2010-12-30 15:56:02 +00:00
Mark Vejvoda
2ca50ee9f9
- attempt to avoid IRC client crashes on Internet menu if user does not have an Internet connection
2010-12-29 21:03:57 +00:00
Mark Vejvoda
4fb1b1092f
- added ftp port # as an ini setting and added to UPNP for router auto-config
...
- added new language string for message box to prompt map file downloads
2010-12-29 20:28:25 +00:00
Mark Vejvoda
be9d8859d4
- messagebox prompt for downloading maps
2010-12-29 19:31:51 +00:00
Titus Tscharntke
41899507a9
better performance for attack warnings ( old code is just commented, will be removed after testing in multiplayer )
2010-12-29 18:23:54 +00:00
Mark Vejvoda
89a6ae3fe4
- updated win32 vc++ files to compile with new ftp server / client
2010-12-29 16:28:46 +00:00
Mark Vejvoda
d7520dc40b
- added a system message when players successfully download a missing map
2010-12-29 08:16:26 +00:00
Mark Vejvoda
d067be26d9
- more ftp bugfixes
2010-12-29 08:10:22 +00:00
Mark Vejvoda
0c3ceb7c99
- more ftp bugfixes
2010-12-29 08:04:31 +00:00
Mark Vejvoda
a82f238d48
- more ftp bugfixes
2010-12-29 07:52:40 +00:00
Mark Vejvoda
99132eb23c
- more ftp bugfixes
2010-12-29 07:35:31 +00:00
Mark Vejvoda
5e705d31c8
- more ftp bugfixes
2010-12-29 07:14:15 +00:00
Mark Vejvoda
385dd8733a
- more ftp bugfixes
2010-12-29 07:02:14 +00:00
Mark Vejvoda
c8c77f75e3
- more ftp bugfixes
2010-12-29 06:55:47 +00:00
Mark Vejvoda
b84bede3df
- ftp file xfer bugfixes
2010-12-29 06:11:06 +00:00
Mark Vejvoda
9afcbe97b8
- forgot to default ftp code to a default value (off) until ready
2010-12-29 06:03:07 +00:00
Mark Vejvoda
e79147796f
- more ftp updates
2010-12-29 01:32:55 +00:00
Mark Vejvoda
9442c22dc3
- fixed cmake build file to no longer look for libircclient
2010-12-29 01:15:27 +00:00
Mark Vejvoda
6e88e4be4c
- got my plumbers suit on and added the plumbing for FTP file xfers
2010-12-29 01:10:53 +00:00
Mark Vejvoda
ba995d1131
- show more friendly message when out of synch detected.
2010-12-28 02:57:36 +00:00
Mark Vejvoda
33aa51b5b5
- if we cannot put the unit in a cell because it is already occupied do not cancel the existing command
2010-12-28 02:24:54 +00:00
Mark Vejvoda
335749a15e
- updated hp regeneration method to look for negative hp regen values and if health ticks below 0 the unit dies
2010-12-28 02:17:44 +00:00
Mark Vejvoda
8d8afe78b5
- build fix for poor distros who have a hard time with libircclient (now we just include this small lib in the source tree) so no longer required as an external lib
2010-12-27 09:01:40 +00:00
Titus Tscharntke
36c4b4c5fa
internet menu updated ( work in progress ) ; checkboxes ; lines
2010-12-27 00:59:57 +00:00
Mark Vejvoda
81783e3f1b
- bugfix for multi-build, now units look for best cell to build but ALSO that the cell is not occupied by another unit
2010-12-26 04:38:03 +00:00
Mark Vejvoda
f7d95a6f6a
- trying to tweak threaded logger performance when log entries are in the hundreds of thousands
2010-12-26 03:01:59 +00:00
Mark Vejvoda
8688ea955e
- trying to tweak threaded logger performance when log entries are in the hundreds of thousands
2010-12-26 02:15:56 +00:00
Mark Vejvoda
40796f2d90
- attempt to bugfix threaded logger
2010-12-26 01:45:39 +00:00
Mark Vejvoda
e4e7a456f5
- attempt to bugfix threaded logger
2010-12-26 01:27:49 +00:00
Mark Vejvoda
409c15d3f0
- more tweaking of threaded logging as well as removal of world synch logging items that are not needed
2010-12-26 01:13:04 +00:00
Mark Vejvoda
36f62ea084
- changes to threaded logging so when things get very busy the thread dumps log entries more quickly
2010-12-26 00:27:38 +00:00
Mark Vejvoda
2234928a35
- changes to threaded logging so when things get very busy the thread dumps log entries more quickly
2010-12-25 23:49:24 +00:00
Mark Vejvoda
b006e72b53
- mutex cleanup in network classes to try to avoid game freeze( hangs)
2010-12-25 22:38:00 +00:00
Mark Vejvoda
bf8be83ccc
- bugfix for fog of war enabling at game end.. now works properly for Winning teams, not just losing teams.
2010-12-25 21:30:54 +00:00
Mark Vejvoda
d997e2af5d
- bugfix, threaded logging was NOT ever enabled because of a timing bug. Now threaded logging is enabled by default.
...
- Updated debug UI view to show threaded debug buffer count
2010-12-25 09:15:49 +00:00
Mark Vejvoda
da1adab808
- bugfixes for fog of war enable at game end
...
- Added more safety guards in threaded sockets in case this causes problems when things get very busy in the game during monster battles
2010-12-25 08:14:35 +00:00
Titus Tscharntke
a3e0ae890b
removed unnecessary alarm checks
2010-12-24 10:03:17 +00:00
Mark Vejvoda
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
nosogo
2a4c9a99cd
help and bugfix editor and start of keyboard
2010-12-24 03:36:34 +00:00
Mark Vejvoda
97ee61165a
updates to irc use in mastermenu:
...
- shows local username
- bugfixes for detecting new/dropped users in the irc channel
- lots of cleanup to remove use of so many static variables
2010-12-24 02:10:31 +00:00
Mark Vejvoda
b954d399df
- updated vc++ build script to always get the correct SVN revision (must have svnvversion command in the path for the current svn revision to work otherwise it defaults to rev in cpp file)
2010-12-23 23:17:15 +00:00
Mark Vejvoda
554a03279e
- commented out assert is it should be handled by the map logic
2010-12-23 20:22:40 +00:00
Mark Vejvoda
809d56e86c
- added option to log debug info using a worker thread, by default logging is NOT threaded. To enable:
...
ThreadedLogging=true
2010-12-23 19:47:40 +00:00
Mark Vejvoda
c0c70217dc
updated to support manual install of libircclient
2010-12-23 16:44:05 +00:00
Titus Tscharntke
cfba817280
dansk language; fix for fog of war off; command queuing works a bit better ( especially when attacking );
2010-12-23 10:44:11 +00:00
Mark Vejvoda
8b0b6300ed
- some cleanup for the new IRC client in the Masterserver menu, and changed default channel for in game IRC chat to megaglest-lobby
2010-12-23 07:42:15 +00:00
Mark Vejvoda
1d4de5e423
- updates to cmake for libircclient
2010-12-23 06:56:19 +00:00
Mark Vejvoda
bafc574143
- added custom path for titi's old Ubuntu
2010-12-23 02:24:46 +00:00
Mark Vejvoda
7e6a7a85f7
- big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps)
2010-12-23 02:17:29 +00:00
Mark Vejvoda
313081f143
- bugfixes found when compiling on win32
2010-12-23 01:23:42 +00:00
Mark Vejvoda
ea4f8e0bcd
- added IRC client to the Internet game menu (still need to update VC++ projects)
2010-12-23 00:00:30 +00:00
Mark Vejvoda
69e0130296
- added new --verbose commandline option
2010-12-22 00:31:30 +00:00
Mark Vejvoda
8534fa59a9
- added more stable way of setting thread run state
2010-12-22 00:15:32 +00:00
Titus Tscharntke
df583854c3
only attack warnigs for local players teammates, not for every fight out there! ;-)
2010-12-21 23:15:29 +00:00
Titus Tscharntke
43eb95f1b4
italien translation; Multiattack warnings ( with setting AttackWarnRange )
2010-12-21 15:55:37 +00:00
Mark Vejvoda
443096d0db
- updated win32 files / project to properly compile UPNP
2010-12-21 06:03:38 +00:00
Mark Vejvoda
628be74fb8
- added UPNP router auto-configure for Internet games (hurray)
2010-12-21 05:38:12 +00:00
Mark Vejvoda
3dd35c147b
- updated codeblocks projects with new UPNP files
2010-12-21 05:24:22 +00:00
Mark Vejvoda
bc90aa7ce4
- added UPNP router auto-configure for Internet games (hurray)
2010-12-21 05:07:10 +00:00
mnaumann
d1c1d27584
* change HTTP user agent to conform with new software title (no dash)
...
* configure HTTP client to follow redirections ("Location:" header/3xx status)
* glest.ini: update master server, announcement and version check URLs; reorder MasterServerExternalPortList; add introduction text
2010-12-21 00:32:54 +00:00
Titus Tscharntke
4037153df9
combined FogOfWar and ShowMapResources in Menus ( on client ist visible too now )
2010-12-20 21:59:46 +00:00
Titus Tscharntke
6376728241
masterserver urls changed; VersionURL instead of versionURL;
2010-12-20 20:49:25 +00:00
Titus Tscharntke
45a3601286
you can attack teammates again; fix for attack queuing, units don't walk to dead bodies if next attack command is in queue ;
2010-12-20 20:01:14 +00:00
Mark Vejvoda
54f739c15d
- added guards around masterserver property access so if missing we handle it more gracefully
2010-12-20 16:45:31 +00:00
Titus Tscharntke
591acdded4
No red 3d arrow pointer is painted when commanding via minimap
2010-12-20 03:12:00 +00:00
Titus Tscharntke
fa952efaf9
next try
2010-12-19 23:58:16 +00:00
Titus Tscharntke
39eefa1e67
trying to fix problems with false attack alarms ...
2010-12-19 23:31:11 +00:00
Titus Tscharntke
5ea9cd092a
visual attack alert
2010-12-19 22:33:08 +00:00
Mark Vejvoda
e9c8928b49
- added new option to UI to Show Resources for custom games
2010-12-19 08:36:59 +00:00
Mark Vejvoda
f204d4445c
- added a new bit style gamesetting flag for future new game settings.
...
- added ability to see map resources but still keep fog of war (GAE's shroud of darkness), but not activated by UI yet, tested and works
2010-12-19 08:04:25 +00:00
Mark Vejvoda
1c51b6c21d
- code cleanup
2010-12-19 03:30:17 +00:00
Mark Vejvoda
3e83cb54f7
- used wrong enum value
2010-12-19 02:06:24 +00:00
Mark Vejvoda
5c0ebc04b1
- attempt to fix the following assertion failure:
...
glest.bin: /home/softcoder/Code/megaglest/trunk/source/glest_game/world/map.cpp:833: void Glest::Game::Map::putUnitCells(Glest::Game::Unit*, const Shared::Graphics::Vec2i&): Assertion `getCell(currPos)->getUnit(unit->getCurrField()) == __null' failed.
2010-12-19 02:04:16 +00:00
Mark Vejvoda
1f52a65679
- attempt to fix the following assertion failure:
...
glest.bin: /home/softcoder/Code/megaglest/trunk/source/glest_game/world/map.cpp:833: void Glest::Game::Map::putUnitCells(Glest::Game::Unit*, const Shared::Graphics::Vec2i&): Assertion `getCell(currPos)->getUnit(unit->getCurrField()) == __null' failed.
2010-12-19 01:24:37 +00:00
Mark Vejvoda
a844b79d3e
- fixed an evil socket bug! Sockets in Linux were NOT properly set as non blocking and vice versa as expected. PErhaps this helps with the menu bug
2010-12-18 23:03:53 +00:00
Mark Vejvoda
eb17a1c052
- disable join button when auto searching for servers
2010-12-18 21:38:27 +00:00
Mark Vejvoda
dc87b9b452
- disable join button when auto searching for servers
2010-12-18 21:35:05 +00:00
Mark Vejvoda
3e20d3ffe8
- more menu freeze bugfixes
2010-12-18 21:32:54 +00:00
Titus Tscharntke
886bd3b37e
alarmsound when enemy units are seen ( will be improved soon )
2010-12-18 20:17:41 +00:00
Mark Vejvoda
6a99e2db8e
- another attempt to guard socket thread access so avoid menu hang problems
2010-12-18 19:52:47 +00:00
Titus Tscharntke
7305391b6d
Unit commanding via minimap
2010-12-18 17:18:36 +00:00
Titus Tscharntke
24a0eb31d8
about screen names fixed again ...
2010-12-18 00:37:59 +00:00
Titus Tscharntke
3d277e00e5
but this time its fixed !
2010-12-17 23:23:45 +00:00
Mark Vejvoda
fd0875639e
- attempt to fix menu hangs, don't believe we need any sleeps in this class
2010-12-17 21:39:31 +00:00
Titus Tscharntke
cf573a56e0
forgot to comment something
2010-12-17 21:36:34 +00:00
Titus Tscharntke
6ed3a3af53
build date removed from internet menu ( space needed for "IN PROGRESS Message" !);
...
CMake now defaults to RelWithDebInfo
2010-12-17 20:55:46 +00:00
Mark Vejvoda
b148507411
- set anti-alias setting so it works if enabled
2010-12-17 02:53:52 +00:00
Mark Vejvoda
0c325baeb0
- added a missing include folder for win32 build and fixed compiler flag for special build type
2010-12-17 02:52:10 +00:00
Mark Vejvoda
158acea0b5
- attempt to fix problem with hanging sleep
2010-12-14 00:00:56 +00:00
Mark Vejvoda
8d6e33d4ba
- added some extra guards in Network manager (throw exception if things are in a bad state)
2010-12-13 23:39:24 +00:00
Mark Vejvoda
5e410f3066
- bugfix for turning off fog of war on network games when players are dead. Now we DO NOT turn off fog of war until ALL of the players units are dead.
2010-12-13 23:24:03 +00:00
Mark Vejvoda
90fe87098c
- added a wait time of 10 seconds max for some thread loops
2010-12-13 23:13:25 +00:00
Titus Tscharntke
75541aec3b
Contact email changed; lots of strings replaced to MegaGlest
2010-12-13 00:32:59 +00:00
Mark Vejvoda
003d15c28a
- updated cmake files to support toggling between release and debug builds (even release with debug info)
...
when calling CMAKE you may toggle debug or release like this:
cmake -D CMAKE_BUILD_TYPE=Debug ..
or
cmake -D CMAKE_BUILD_TYPE=Release ..
2010-12-12 08:10:18 +00:00
Mark Vejvoda
367effb217
- updated cmake files so windows build on windows OS build properly using wxWidgets dll's
2010-12-12 06:31:40 +00:00
Mark Vejvoda
8918b11320
- added an invlaid value check to the units field
2010-12-12 00:46:13 +00:00
Mark Vejvoda
1984c61386
- final completion of tools now building in both linux and windows through cmake
2010-12-11 15:05:43 +00:00
Mark Vejvoda
9cce656e65
- updated tools to use proper name libglest
2010-12-11 13:43:15 +00:00
Mark Vejvoda
e34c8977e1
- a few changes to cmake windows build so that it runs properly (libglest must be a dll)
2010-12-11 13:35:27 +00:00
Mark Vejvoda
f27cb6c8a3
- added support to cross compile win32 binary on Linux using cmake (just run build-mg-win32.sh)
2010-12-11 12:53:38 +00:00
Mark Vejvoda
8f579e735f
- bugfix for new CPU multiplier constants for VC++ compiler
2010-12-11 08:00:49 +00:00
Mark Vejvoda
aebcca517c
- bugfixes to get cmake working properly in linux and windows
2010-12-11 07:05:07 +00:00
Mark Vejvoda
755a7737fa
- added CMAKE support for building MG in Windows using MingW
2010-12-11 06:32:21 +00:00
Titus Tscharntke
ebcadc13f0
Constants for easy/normal/ultra/mega default multipliers
...
Multiplier example for scenarios
Version number is only shown with build date and so on for dev versions
2010-12-11 00:20:31 +00:00
Mark Vejvoda
1ff84eaddb
- updated cmake build to touch game_util.cpp every time make is called so it ALWAYS has the right date/time stamp
2010-12-10 02:45:07 +00:00
Mark Vejvoda
679557c6f2
- added proper SVN revision handling for CMAKE builds so now the --version and main menu display proper SVN Global Revision #
2010-12-10 01:53:51 +00:00
Mark Vejvoda
045c2f95e8
- added new commandline options to tell the game where to look for data, ini's and where to write logs
2010-12-09 20:41:11 +00:00
Mark Vejvoda
ac1a291739
- modified cmake scripts to place linux binaries in the same spot that jam placed them
2010-12-09 17:14:40 +00:00
Mark Vejvoda
2d402f0169
- updated cmake scripts to build everything
2010-12-09 00:20:43 +00:00
Mark Vejvoda
7a7bc828f1
- full support for all megaglest modules to compile with the following:
...
release / debug
linux / windows
2010-12-08 20:03:15 +00:00
Mark Vejvoda
7341886b11
- changes so map editor compiles in mingw
2010-12-08 16:31:08 +00:00
Mark Vejvoda
20562c4dbb
- updated to display MINGW client platform
2010-12-08 07:01:24 +00:00
Mark Vejvoda
7f0a179340
- bugfix for vc++ compile (added #define for mingw)
2010-12-07 22:29:31 +00:00
Mark Vejvoda
b605c65aa9
- updates to support both Windows and Linux targets from CodeBlocks Workspace
2010-12-07 07:00:11 +00:00
Mark Vejvoda
1e0a5dc304
- better stability of menu navigation and threads
2010-12-07 06:12:51 +00:00
nosogo
8c115809ce
editor: shift map + mirror do player positions
2010-12-06 20:13:27 +00:00
Mark Vejvoda
df042b5bf2
- added another debug entry for client vs server version comparison
2010-12-05 03:41:44 +00:00
Mark Vejvoda
7872e980e1
- updated thread handling slightly in menus to make things more stable
2010-12-05 01:52:38 +00:00
nosogo
f545edad68
more fixes for editor
2010-12-05 01:33:28 +00:00
Mark Vejvoda
15aab7a581
- some intial changes to support cross-compilation under mingw
2010-12-04 23:19:43 +00:00
nosogo
04aee1098d
update of editor and g3dviewer
2010-12-03 05:07:42 +00:00
Mark Vejvoda
0537903a7d
- updated main menu version # to show compile date / time
2010-12-02 01:04:06 +00:00
Mark Vejvoda
8deec8d518
- changed debug world synch formatting so on xplatform we don't have issues with filename and other header tag items
2010-12-01 23:38:03 +00:00
Titus Tscharntke
42ebe42155
new tileset fernland
...
removed annoying debug of resource multiplier
fixed resource multiplier display in connected menu
2010-12-01 21:18:29 +00:00
Mark Vejvoda
c55855c6f2
- bugfix for stack overflow
2010-12-01 00:05:33 +00:00
Mark Vejvoda
b02da7d1e0
- finally found and fixed out of synch related to AI.
...
- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
2010-11-30 23:32:39 +00:00
Mark Vejvoda
e62f3ca64c
- reverted AI's repair rule logic to hunt down an AI out of synch
2010-11-28 07:38:03 +00:00
Mark Vejvoda
33aac9f2ae
- added useful debug info for world synch debugging (unit path and faction info)
2010-11-28 03:46:28 +00:00
Mark Vejvoda
ca2408073e
- disabled more caching to determine if any of these caches cause out of synch
2010-11-28 03:35:44 +00:00
Mark Vejvoda
ab966d7872
- added map cell checks back but output to error log only (and assert for debug mode)
2010-11-28 03:21:20 +00:00
Mark Vejvoda
128b98b619
- removed un-necessary use of renderer while application shutdown to avoid bad use of the renderer.
2010-11-28 03:01:27 +00:00
Mark Vejvoda
edbc14a176
- disabled another cache in pathfinder trying to hunt down xplatform out of synch
2010-11-28 02:36:06 +00:00
Mark Vejvoda
664b2b1b7d
- disabled another cache in pathfinder trying to hunt down xplatform out of synch
2010-11-28 00:07:08 +00:00
Mark Vejvoda
ee249b8878
- commented out another possibly bad assert /exception
2010-11-27 08:23:45 +00:00
Mark Vejvoda
4e36b4c30c
- commented out what seems to be a bad assert / exception check
2010-11-27 07:11:54 +00:00
Mark Vejvoda
81d755cc83
- disabled a cache (cacheUnitCommandClassList) as we suspect this may cause crashes and is unstable
2010-11-26 00:09:54 +00:00
Titus Tscharntke
ede8977aff
switched resourcemultiplier to int (using the index now) and added some debug output for testing.
2010-11-25 22:45:08 +00:00
Mark Vejvoda
c1529fd8dc
- added validation for unit's to ensure they still have the cached commandclass
2010-11-16 23:32:15 +00:00
Titus Tscharntke
c2c9cc0044
endgame stats screen shows multiplier now for CPU players
...
you cannot switch unvisible resource multiplier any more
2010-11-11 21:41:13 +00:00
Mark Vejvoda
cc4f268988
- some additional AI caching for improved performance
2010-11-11 08:02:50 +00:00
Titus Tscharntke
99c70d301a
resource multiplier only for cpu players.
...
new resource multiplier defaults for cpu player
resource multiplier only active in advaced options
scenarios can use a new attribute resource_multiplier to setup games
2010-11-11 01:24:48 +00:00
Mark Vejvoda
559806538f
- cleanup stupid warnings on windows (see C4503)
2010-11-10 00:45:26 +00:00
Titus Tscharntke
c3b96ec722
mega/ultra cpu still used its old multiplier ... fixed
2010-11-09 22:51:19 +00:00
Mark Vejvoda
cc91aed0bd
- small bugfix to default CPU multiplier to 1.0 for old saved games
2010-11-09 18:13:21 +00:00
Mark Vejvoda
d2de4eb22a
- change to properly toggle socket blocking mode in Linux
2010-11-09 16:51:03 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +00:00
Titus Tscharntke
2440d475b3
beginning of new resource multiplier. Still work in progress but hopefully ready to test some things.
2010-11-08 23:15:50 +00:00
Mark Vejvoda
9d9fa0deeb
- improved performance for when the AI decides which resource is closest.
2010-11-07 03:27:06 +00:00
Mark Vejvoda
ca9cbc6e75
- removed some debugging that created very large debug files and improved performance a little bit
2010-11-07 02:37:00 +00:00
Mark Vejvoda
960dfcabfb
- when calculating CRC on game data ignore XMl comments
2010-11-07 01:48:25 +00:00
Mark Vejvoda
edebc78d44
- when calculating CRC on game data ignore XMl comments
2010-11-07 01:39:57 +00:00
Mark Vejvoda
9e55d8e46b
- added a small cache to improve pathfinding a bit
...
- added logic to IGNORE the following characters when doing CRC checks in XML files
(space,tab,CR,LF)
2010-11-07 01:06:14 +00:00
Mark Vejvoda
b52ca80388
- to make ultifd happy, fixed overlapping labels in lobbies
2010-11-05 23:12:46 +00:00
Mark Vejvoda
8e6609fdac
- texture info now logged to debug log when appropriate instead of spamming the console
2010-11-05 09:49:57 +00:00
Mark Vejvoda
3836e967ae
- a little cleanup of windows exception handling code
2010-11-05 09:43:07 +00:00
Mark Vejvoda
1a33ade54b
- added windows stack trace to debug.log also
2010-11-05 06:51:05 +00:00
Mark Vejvoda
8ab95a5305
- added stack trace for windows users when exceptions occur (snagged the idea from sauerbraten)
2010-11-05 06:46:30 +00:00
Mark Vejvoda
7c47a51718
- fixed font spacing in chat text
2010-11-04 06:27:25 +00:00
Mark Vejvoda
6312c0ec60
- bigfix for last checkin
2010-11-03 21:53:49 +00:00
Mark Vejvoda
d91bd593e8
- added more info related to ultifds error message to see what triggers the issue
2010-11-03 21:43:37 +00:00
Mark Vejvoda
ea27375b6f
- updates from notsogood to add more player colors and splash particles and memory cleanup to G3d Viewer (thanks notsogood!)
2010-11-03 19:03:25 +00:00
Mark Vejvoda
6b015964bb
- menu lobbies uses real player color
...
- chat console no longer prefixes with *
2010-11-02 20:19:56 +00:00
Mark Vejvoda
cb52b4895d
- performance fix in both pathfinder and debug output when pressing the debug key
2010-11-02 19:52:20 +00:00
Mark Vejvoda
3c7fbd1fd7
- for now disable refs to fbo's on windows platform till we decide if we include glew or not
2010-11-01 23:56:46 +00:00
Mark Vejvoda
9978cbeff5
- added some initial work to support FBO (frame buffer objects)
...
- added many NULL check guards throughout the code
- added a safe mutex around ptr access of background thread on custom menu
2010-11-01 16:44:05 +00:00
Mark Vejvoda
d8c11ebe71
- thread synch bugfix in Internet Lobby Menu (thanks tomreyn for the stack trace)
2010-10-30 17:31:57 +00:00
Mark Vejvoda
dfedf2259b
- numerous bugfixes to building an d repairing units.
...
- added new unit cell property called allowEmpty to allow units to build other units with cellmaps that have all 0's (since you can produce these types of units anyways)
2010-10-30 08:54:00 +00:00
Mark Vejvoda
060a9d3fe6
- disallow air units to morph back to land if unwalkable objects or water terrain are below
2010-10-30 04:49:49 +00:00
Mark Vejvoda
f897884321
- fixed problem where custom menu was setting broadcast to master server when loading last game from commandline even though publish was not enabled.
2010-10-30 04:24:26 +00:00
Mark Vejvoda
dec9dfe653
- added new attribute for tileset objects named "height". Air units will try to fly above the height of units and objects now (up to a max of terrain height + 15)
2010-10-30 04:05:48 +00:00
Mark Vejvoda
465ae629ba
- cache the techname and selected faction when doing a faction preview in lobbies
2010-10-30 03:29:29 +00:00
Mark Vejvoda
b1ff035f9e
- added ability to turn on photo mode and zoom out while in a non network game (default key is f8)
2010-10-30 03:03:44 +00:00
Mark Vejvoda
44563b6f73
- allow screenshots to be taken ANY time (in menus etc.) and not only when a game is playing
2010-10-30 02:24:53 +00:00
Mark Vejvoda
77bad3ce07
- added new default PNG format for doing screenshots AND the saving to disk is queued in a background thread allowing almost no delay when saving many screenshots!
2010-10-30 02:21:47 +00:00
Mark Vejvoda
369a0dc215
- fixed warnings when compiling in vc++
2010-10-30 00:14:15 +00:00
Mark Vejvoda
13c4deb5b6
- added new screenshot format to be bmp (can be oveeriden by ini setting, and more formats may be added later) ScreenShotFileType=tga to revert to old default tga screenshots
2010-10-29 22:18:23 +00:00
Mark Vejvoda
27212dd962
- a bit of code cleanup related to supporting texture compression on Intel
2010-10-29 21:18:07 +00:00
Mark Vejvoda
e299250f94
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:53:20 +00:00
Mark Vejvoda
268730cfae
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:44:21 +00:00
Mark Vejvoda
200031874c
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:37:49 +00:00
Mark Vejvoda
d5018d217e
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:58:43 +00:00
Mark Vejvoda
0e3ba69160
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:55:47 +00:00
Mark Vejvoda
7ccca89dbf
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:54:35 +00:00
Mark Vejvoda
1a32bf165e
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:50:59 +00:00
Mark Vejvoda
32f429e3c3
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:34:58 +00:00
Mark Vejvoda
ba8704c5bd
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:29:26 +00:00
Mark Vejvoda
5888003aa6
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:15:15 +00:00
Mark Vejvoda
d558d896d4
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:02:23 +00:00
Mark Vejvoda
f0d9357d31
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 18:54:55 +00:00
Mark Vejvoda
2cc28dda5e
- more logging on texture init errors
2010-10-29 18:44:07 +00:00
Mark Vejvoda
e0d338b583
- added more texture compression supported types
...
- some in progress work related to texture reloading
2010-10-29 16:27:22 +00:00
Mark Vejvoda
02a16da938
- small change to the view co-ordinates of shadows
2010-10-29 00:46:54 +00:00
Mark Vejvoda
70927e5979
- added some console output to show which texture compression types the opengl driver supports
2010-10-29 00:45:09 +00:00
Mark Vejvoda
7f32456736
- changed default texture compression to non st3 for now
2010-10-28 22:07:44 +00:00
Mark Vejvoda
01c26b4224
- added the ability to track pixmap memory usage at start and end of a game
2010-10-28 21:06:20 +00:00
Mark Vejvoda
5cf0313c5a
- bugfix for cancel icon displaying when unit has only the 'stop' command active
2010-10-28 18:31:12 +00:00
Mark Vejvoda
df3f56a451
- cleanup of texture compression. We output stats for textures that we attempt to compress and what percent they were compressed (before and after byte sizes)
2010-10-28 06:59:43 +00:00
Mark Vejvoda
de3a92081d
- a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true
2010-10-28 00:51:25 +00:00
Mark Vejvoda
3c57f16a4a
- cleanup some compiler warnings in vc++ and removed commented out debug info for in progress texture compression
2010-10-27 17:06:40 +00:00
Mark Vejvoda
78f6f49cb6
- fixed shadow mapping by removing the use of the extension: GL_ARB_shadow_ambient
...
(thanks: asmodeus and Ishmaru)
- added some initial work for texture compression (but not active yet)
2010-10-27 15:04:47 +00:00
Mark Vejvoda
3db2b07e90
- removed some unneeded things from the custom game menu (as requested by tomreyn)
2010-10-26 21:52:00 +00:00
Mark Vejvoda
43670f76c9
- bugfix for invalid map co-ordinates when looking for resources
2010-10-26 15:25:38 +00:00
Mark Vejvoda
1e104f0496
- attempt to further improve pathfinder performance when MANY units are on the map
2010-10-26 06:53:04 +00:00
Mark Vejvoda
c47b6c676c
- attempt to further improve pathfinder performance when MANY units are on the map
2010-10-26 06:43:42 +00:00
Mark Vejvoda
8bbbe403ad
- more performance improvements for resource cache logic (try to avoid repetitive caching logic when it was already done once)
2010-10-25 22:02:36 +00:00
Mark Vejvoda
d07cd76459
- added a guard for proper slot index usage in network code
2010-10-25 20:56:57 +00:00
Mark Vejvoda
45df867490
- replaced version check on masterserver with built in php function for proper functionality
2010-10-24 21:15:09 +00:00
Mark Vejvoda
117521a8d4
- disabled the recently introduced pathfinding cache as its too slow and not sure that it really does any good. This should help performance to be better.
2010-10-24 06:53:30 +00:00
Mark Vejvoda
bbc8f96327
- better masterserver thread management during game play (do not start the thread for non published games)
2010-10-24 05:52:21 +00:00
Mark Vejvoda
112bfd4445
- commented out debug code
2010-10-24 02:16:44 +00:00