Commit Graph

1195 Commits

Author SHA1 Message Date
Mark Vejvoda
ae367fb252 - updated to units harvesting so they try to harvest different resources when blocked if other resources are close by. 2010-10-21 19:26:14 +00:00
Mark Vejvoda
3b5630bb73 - a few windows compiler setting changes for more consistent compiler warning output 2010-10-21 18:32:40 +00:00
Mark Vejvoda
79318735ab - cleanup of last compiler warnings in Linux (hurray!) 2010-10-21 18:24:54 +00:00
Mark Vejvoda
ba088e9258 - bugfix for linux builds after compiler warning cleanup 2010-10-21 17:49:14 +00:00
Mark Vejvoda
be979590c1 - more compiler warning cleanup 2010-10-21 17:42:45 +00:00
Mark Vejvoda
cbe6860826 - more compiler warning cleanup 2010-10-21 16:36:26 +00:00
Mark Vejvoda
45a26a4597 - cleaned up more compiler warnings
- added unsigned 64 bit type for windows
2010-10-21 15:55:12 +00:00
Mark Vejvoda
c6a4e53151 - fix compile error on linux 2010-10-21 15:35:13 +00:00
Mark Vejvoda
06b9d7eef7 - cleaned up a whole pile of compiler warnings 2010-10-21 15:21:46 +00:00
Mark Vejvoda
d5117ed7fa - cleaned up a whole pile of compiler warnings 2010-10-21 07:20:17 +00:00
Mark Vejvoda
93e56df3d6 - fixed some misc code bugs (incorrect assignment) and cleaned up some compiler warnings 2010-10-21 01:07:11 +00:00
Mark Vejvoda
f5f406dfb3 - bugfix related to segfault when a network disconnect occurs while a thread is updating a slot 2010-10-21 00:21:58 +00:00
Mark Vejvoda
bc7ba297fd - more tweaking for units harvesting, this hopefully cleans up segfaults and makes things more stable. 2010-10-20 20:40:29 +00:00
Mark Vejvoda
6104dedc76 - added a resource harvest success cache for stuck units to look at when they cannot harvest. 2010-10-20 07:28:27 +00:00
Mark Vejvoda
ddb4c42bf5 - added some guard conditions to avoid segfault when resources are harvested quickly 2010-10-19 22:47:45 +00:00
Mark Vejvoda
913df7ec3b - added more cached information to help deal with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 22:26:49 +00:00
Mark Vejvoda
dda594cf33 - a slight change in dealing with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 16:54:48 +00:00
Mark Vejvoda
182f2cd20d - bugfixes to AI where workers harvesting think they have arrived but really did not. 2010-10-19 04:38:55 +00:00
Mark Vejvoda
d96bf7f978 - added faction preview images for Random and Observer types (thanks Elimnator)
- bugfix when choosing random faction and sometimes the game tries to load this as a real faction type
2010-10-19 03:53:52 +00:00
Mark Vejvoda
7564635643 - added initial code for switching dropped network players to AI (currently hard coded to normal CPU) 2010-10-18 23:09:43 +00:00
Mark Vejvoda
3d4ccb460c - added a little extra logic for units when pathfinding. We keep temporary lists of bad cells of harvest resources where a unit simply cannot get to. This is kept for small periods of time and then the bad cell list is purged when data gets old. This tremendously helps units to be more active when getting stuck in challenging places on maps. 2010-10-17 08:50:27 +00:00
Mark Vejvoda
55b4f0bd2b - Incremented version to next major release # so new work can begin.
- some initial work to assist units from getting stuck when given commands. This is for both AI and human players and deals with the pathfinder and units getting constantly blocked from their destination.
2010-10-17 06:34:42 +00:00
Mark Vejvoda
2a805240b4 - updated data diff script version # for 3.3.7.2 release 2010-10-16 17:14:33 +00:00
Mark Vejvoda
c659b046ae - updated readme and version # for Linux Installers 2010-10-16 16:40:51 +00:00
Mark Vejvoda
89a32dda54 - updated windows installer scripts for 3.3.7.2 2010-10-16 16:14:48 +00:00
Mark Vejvoda
e91a3378bd - updated source script to include ini files etc
- updated version to 3.3.7.3 in configure.ac
2010-10-16 16:09:12 +00:00
Mark Vejvoda
b3d981c2fd - updated version to 3.3.7.2 for next release 2010-10-15 19:19:36 +00:00
Mark Vejvoda
9490e64750 - turned on a flag for libcurl so timeout issues don't cause segfaults in threads 2010-10-15 17:49:18 +00:00
Mark Vejvoda
59c5fd2581 - moved version checking into one common method in the util file. Now all network related checks use this common method to determine version compatibility 2010-10-15 17:27:00 +00:00
Mark Vejvoda
1353f61069 - added some additional safety around the logger in case we have problems opening files on the filesystem 2010-10-15 16:22:35 +00:00
Mark Vejvoda
427f505c4c - updated version to 3.3.7.1 for minor update release 2010-10-15 02:03:48 +00:00
Mark Vejvoda
3d132d11a2 - added an extra guard to the masterserver thread pointer in case something happens in the constructor, now I make sure the thread pointer is set to NULL at the top of the constructor for safety. 2010-10-15 01:52:36 +00:00
Mark Vejvoda
025d8520b6 - bugfix to reset team to 1 when toggling OFF observers and we previously had an observer selected 2010-10-15 00:12:17 +00:00
Mark Vejvoda
4f3d5f0372 - when toggling observers, we now retain original faction selection 2010-10-14 23:22:09 +00:00
Mark Vejvoda
94da959fd4 - force sending game settings just before launch if we detect something has changed (like random faction calculation) 2010-10-14 22:41:03 +00:00
Mark Vejvoda
9a73cd520c - commented out printf 2010-10-14 19:53:34 +00:00
Titus Tscharntke
a01ae45ede Similar to announcements a version info is implemented now. We can put there an info string which will tell the user that his version is outdated and he should update or whatever. 2010-10-13 19:16:04 +00:00
Titus Tscharntke
15c6ea93b3 Bugfix for lua related crash 2010-10-12 10:20:00 +00:00
Mark Vejvoda
2519588148 - attempt to fix lua code that might be crashing the game 2010-10-11 23:39:44 +00:00
Mark Vejvoda
fd4054e345 - attempt to fix lua code that might be crashing the game 2010-10-11 23:33:03 +00:00
Mark Vejvoda
3a94f1506f - attempt to fix lua code that might be crashing the game 2010-10-11 23:24:10 +00:00
Mark Vejvoda
67c1c52caa - added an extra NULL check to new max unit check 2010-10-11 15:58:10 +00:00
Titus Tscharntke
d80127f697 forgot to remove label and listbox from header. 2010-10-11 00:59:45 +00:00
Titus Tscharntke
f0d7954f63 external server port is now in options menu ( and stored in glest.ini/glestuser.ini by this ) 2010-10-11 00:53:25 +00:00
Mark Vejvoda
92c6baa7ea - updated version to 3.3.7.1-dev 2010-10-10 14:29:33 +00:00
Mark Vejvoda
9fb5180a17 - new masterserver version check of only first 3 version #'s 2010-10-10 14:19:34 +00:00
Mark Vejvoda
dcc2bab85a - bugfix for master menu control registration objects that need to get cleaned up afterwards 2010-10-10 06:35:50 +00:00
Titus Tscharntke
36f380abad version ist nicht mehr 3.3.7! es ist wieder development! 3.3.8-dev! 2010-10-10 00:05:14 +00:00
Mark Vejvoda
8d40069058 - added more dependency checking for other libs (like png, jpg and curl) 2010-10-09 21:12:50 +00:00
Mark Vejvoda
a84f0d1b6d - bugfix to fallback to a default configured font if the specified font in the ini property fails to load. The default font is 'fixed' but can be overriden in the ini using:
DefaultFont=yourfonttype
2010-10-09 20:35:53 +00:00