Commit Graph

936 Commits

Author SHA1 Message Date
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 b3d981c2fd - updated version to 3.3.7.2 for next release 2010-10-15 19:19:36 +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 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
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 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
Mark Vejvoda 6cf68531ea - incremented SVN rev for release build 2010-10-08 22:59:11 +00:00
Mark Vejvoda 32cf8cd93b - bugfix (again) for playername index bug 2010-10-08 22:53:18 +00:00
Mark Vejvoda 86b11a7f05 - bugfix (again) for playername index bug 2010-10-08 22:32:23 +00:00
Mark Vejvoda 7f1d0f01cb - updated to increment SVN revision for 3.3.7 release 2010-10-08 20:05:27 +00:00
Titus Tscharntke 59b2cdb78f max-unit-count works for buildings 2010-10-08 19:30:53 +00:00
Mark Vejvoda ae010f85ab - bugfix for playername index offset on client 2010-10-08 17:17:22 +00:00
Mark Vejvoda 54ce27d19c - attempt to turn off playername editing for this release 2010-10-08 16:32:50 +00:00
Mark Vejvoda 1c32515d7a - last minute playername editing bugfixes for pressing backspace 2010-10-08 16:19:09 +00:00
Mark Vejvoda cdba95f6ac - fixed silly bug when editing username in custom game menu interferes with chat. 2010-10-08 15:20:24 +00:00
Mark Vejvoda 44019a0d9b - added SVN revision # to --version output 2010-10-08 02:05:42 +00:00
Mark Vejvoda f345835fc4 - final bugfix for 3.3.7, playernames got mixed up when first slot was closed. Also fixed editing when typing playername 2010-10-08 01:41:53 +00:00
Mark Vejvoda 7759b6d069 - updated version # for 3.3.7 release 2010-10-07 18:44:44 +00:00
Mark Vejvoda fd60b30081 - updated announcement to use a safer compare and added announcement url to ini files 2010-10-07 18:43:29 +00:00
Mark Vejvoda 66725ad22d - added new commandline parameter: --lua-info 2010-10-06 23:40:26 +00:00
Titus Tscharntke 72478c9f32 better errorhandling for announcements String must start with "Announcement from Masterserver:" now otherwise its not displayed 2010-10-06 21:43:09 +00:00
Titus Tscharntke 7fdeb7ca89 Announcements from Matserserver 2010-10-06 20:54:08 +00:00
Mark Vejvoda 0d050f62d4 - added code to now output all eerors to console (with option to save in log file)
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda 5f698575d9 - added removal of fog of war at game end for scenarios 2010-10-04 21:31:53 +00:00
Titus Tscharntke 88335f112b fix for the AI not respecting max-unit-count 2010-10-04 19:21:09 +00:00
Mark Vejvoda d38b46a529 - Removed deprecated parameter
- Added more debug logging for LUA functions
2010-10-04 18:31:17 +00:00
Titus Tscharntke 8d053ba314 another implementation of performance based shadow on/off 2010-10-04 16:43:00 +00:00
Mark Vejvoda 16fd1fcfa1 - attempt to tweak shadow off/on windows to make it more smooth 2010-10-02 04:29:12 +00:00
Mark Vejvoda c87e27eabd - added an average renderfps to use when toggling shadows off/on to make it more smooth
- added a new commandline to autostart a new game with the last game settings you played called: 
--autostart-lastgame
2010-10-02 02:17:50 +00:00
Mark Vejvoda 02e0a1302f - more AI fixes.
#1: AI does not try to harvest resources that the unit cannot yet harvest (could be an upgrade required)

#2: AI no longer tries to expand near resources that they are not yet able to harvest. (found using RealtimeFreaks test mod and map). This makes for a more aggresive CPU in scenarios where there are additional resource types since they expand much more quickly.
2010-10-02 01:11:59 +00:00
Forjan Frederic 468340403f Update the macosx main to compil 2010-09-30 10:32:28 +00:00
Mark Vejvoda 5ecda82be0 - bugfix for allowing players to view map at game end for network games 2010-09-30 00:49:57 +00:00
Mark Vejvoda 6013a96efd - stupid compiler fix for vc++ (including limits gives streflop a fit) 2010-09-29 22:59:16 +00:00
Mark Vejvoda 3e0a87549c - by special request for ultifd (allow players to zoom out at game end when playing non network games) 2010-09-29 22:18:08 +00:00
Mark Vejvoda 80051e3194 - bugfix for AI units that do nothing when resources exist in the tech that the unit cannot harvest. (thanks RealtimeFreak for pointing this out and giving me a demo tech for testing)
- bugfix for restoring saved game settings (ignore closed slots that have faction set to random)
2010-09-29 04:38:41 +00:00
Mark Vejvoda c9f8433d83 - updated to beta3 2010-09-28 20:53:13 +00:00
Mark Vejvoda 3749d58557 - bugfix when restoring game settings (from previously saved) we no longer restore playernames of non human slots. 2010-09-28 20:15:54 +00:00
Mark Vejvoda c300905d70 - a better attempt to fix the issue with multi-build where the repairers stop repairing 2010-09-28 19:52:31 +00:00
Mark Vejvoda c3fc45995c - an attempt to fix the issue with multi-build where the repairers stop repairing 2010-09-28 15:22:04 +00:00
Titus Tscharntke 0e084cabd3 minifix for particles
transparency works a bit better with existing transparent models
2010-09-27 21:02:06 +00:00
mnaumann 6c0c291e44 FreeBSD and Mac OS X support by GeoVah pt2., thanks a bunch! 2010-09-27 20:31:38 +00:00
mnaumann 65ec94e22f FreeBSD and Mac OS X support by GeoVah, thanks a bunch! 2010-09-27 20:28:08 +00:00
Titus Tscharntke d3ccebef15 switch for map preview in ingame options
some language fixes
faction preview is default now
in unix systems text is better centered on the buttons
2010-09-26 21:34:00 +00:00
Titus Tscharntke e6ade03509 Working transparency for units! Not really perfect, but much better than before! Even shadows are rendered according to the textures now. The behaviour should be excatly the same as for the trees.
Some unit models which already used transparency might look a bit different with this change, but this change will allow so much better and detailed looking models that its a must have :) .
2010-09-25 23:03:27 +00:00
Titus Tscharntke 3b1ef055b1 - new switch for unit_particle _systems called static-particle-count
- Bugfix for "wild particles". ( the splash particle systems never died before! )
- Better german language file ( cpu  player have english words again, words like ultra are common enough in germany  )
2010-09-25 14:38:00 +00:00
James McCulloch 9d8bb49a1b * fix static resource production on unit morph 2010-09-25 02:23:47 +00:00
Mark Vejvoda 635bf616de - patch for FreeBSD (thanks m0ellemeister) 2010-09-24 23:28:54 +00:00
Titus Tscharntke cd65927924 unit particles can now have float values for emission rates. This allows also emission rates smaller than 1 like 0.01 for example 2010-09-24 16:36:59 +00:00
Mark Vejvoda 61b66fb761 - applied Mac osX patch #4 from GeoVah (thank you) 2010-09-24 15:26:16 +00:00
James McCulloch e8b28b4298 * Fix for phantom cancel button 2010-09-24 04:52:51 +00:00
James McCulloch 4f0846a2c3 * Fix error in RoutePlanner 2010-09-24 04:38:44 +00:00
James McCulloch 91fbc561ea * fix for freshly killed units begin rendered on Minimap 2010-09-20 04:54:20 +00:00
James McCulloch 1cce764893 * remove exception on illegal move request, invalidate path and return false instead 2010-09-17 16:10:17 +00:00
Mark Vejvoda a056b3faa8 - added more validations on client for missing tileset 2010-09-17 08:46:34 +00:00
Mark Vejvoda 0e8ed05c2e - bugfixes for handling missing maps on client 2010-09-17 08:26:22 +00:00
Mark Vejvoda da35728c34 - added some error handling in client connected menu for map errors 2010-09-17 06:37:08 +00:00
Mark Vejvoda d5221a3207 - updated to beta2 for hopefully better stability 2010-09-17 05:25:47 +00:00
Mark Vejvoda f3ea511c40 - attempt to help poor kobe and his mad need to press E continuously
- also cleanup a memory leak from code that was thus far unused
2010-09-17 04:59:32 +00:00
Mark Vejvoda 6fece48382 - bugfix for incorrect usage of playername if network packet timing is faster than expected 2010-09-17 04:15:17 +00:00
Mark Vejvoda b836bf0039 - turned off staggered faction updates (can toggle via ini setting: StaggeredFactionUpdates)
- added more debug info for resource depletion
2010-09-17 04:00:48 +00:00
Mark Vejvoda b115292ee5 - added GeoVah's initila Mac osX support (via cmake) 2010-09-16 15:15:42 +00:00
Mark Vejvoda 16f048c9e2 - fixed author names 2010-09-16 07:03:38 +00:00
Mark Vejvoda fe005b7c54 - fixed author names 2010-09-16 07:00:50 +00:00
Mark Vejvoda 66e655aaff - updated version# to 3.3.7-beta1 2010-09-16 06:39:36 +00:00
Titus Tscharntke e23592f793 ressources are rendered a bit nicer in the map preview ( glVertex2f instead if glVertex2i ) 2010-09-16 00:02:07 +00:00
Titus Tscharntke 3bfc7daddf renderMapPreview nearly done. 2010-09-15 23:49:26 +00:00
Mark Vejvoda 7e7c7216a5 - fixed screen flickering of fog of war texture when staggered updates is enabled. 2010-09-15 23:32:29 +00:00
Mark Vejvoda bef9c6b3b1 - fixed client connected menu to display map preview the same as custom menu 2010-09-15 06:10:08 +00:00
Titus Tscharntke a38778deb1 map preview is scree resolution resistant 2010-09-14 23:02:50 +00:00
Mark Vejvoda a22586571e - attempt to see if the screen shot capture can be fixed with a simple gl command 2010-09-14 22:26:54 +00:00
Mark Vejvoda 7d6e21b1e7 - bugfix for mouse pointer rendering 2010-09-14 20:54:33 +00:00
Mark Vejvoda f84a710d2c - initial logic to allow client side controlled AI 2010-09-14 19:10:37 +00:00
Mark Vejvoda e4669b94b0 - added map preview to the client connected lobby 2010-09-14 06:10:48 +00:00
Mark Vejvoda b95e2247cd - moved map render logic into a shared base class 2010-09-14 06:02:35 +00:00
Mark Vejvoda 0f5cd740a6 - moved game map entity into a shared source file in shared lib, which is now shared by the main game and the map editor 2010-09-14 00:43:09 +00:00
Mark Vejvoda f373a7f9bb - bugfix for cell bad cell management in map preview 2010-09-13 23:10:29 +00:00
Titus Tscharntke 40489e0687 - map with different width and height are shown the right way
- maps which are too big/too small are resized to fit
- Ressources/objects are only rendered when fog of war is switched off 
- static size for the preview
2010-09-13 23:00:20 +00:00
Mark Vejvoda 3a10e8be32 - fixed bug in menu water tesselation render loop 2010-09-13 19:33:00 +00:00
Mark Vejvoda c295697aba - added map preview on custom game menu 2010-09-12 05:05:08 +00:00
Mark Vejvoda ceca2de4b1 - added ability to display both error and normal messagebox in non overlapping way simultaneously
- added new hotkey to toggle photomode in game (f8)
2010-09-11 16:14:03 +00:00
Mark Vejvoda 52916bdc6e - added support for random faction selection 2010-09-11 08:09:33 +00:00
Mark Vejvoda 350d658ceb - updated network menus to hide player rows that are not applicable to the map selected
- added new visible property to graphical controls
2010-09-11 06:08:50 +00:00
Mark Vejvoda ab88a2971a - small improvement for when units and objects are deleted. 2010-09-10 19:44:00 +00:00
Mark Vejvoda f4e6e8ffd7 - fixed arrow show path of units 2010-09-10 15:57:07 +00:00
Mark Vejvoda 793ac7a8cb - added a dirty cache flag when a unit dies 2010-09-10 15:51:16 +00:00
Mark Vejvoda 3f393fd37d - added a way to signal the cache is dirty for when resources are deleted. 2010-09-10 15:47:19 +00:00
Titus Tscharntke 87e0324dd4 cleaned up computeSelected (and renderUnitsFast) 2010-09-10 14:06:31 +00:00
Titus Tscharntke df9e8a7900 forgot to remove one line .... 2010-09-10 12:28:52 +00:00
Titus Tscharntke 729bd23f58 improved box selection ( much better regarding performance now and updates selection without moving the mouse ) 2010-09-10 12:15:21 +00:00
Mark Vejvoda cc9bde39af - updated debug stats to use render cache 2010-09-10 09:09:12 +00:00
Mark Vejvoda 0783b23e12 - bugfixes for rendering (new ini setting toggles new quad cache and is called: UseQuadCache=true) 2010-09-10 08:51:32 +00:00
Mark Vejvoda 4d9bc556d6 - a few more improvements to rendering cache 2010-09-10 00:41:51 +00:00
Mark Vejvoda 2c1b6b6304 - added a caching system for rendering game entities 2010-09-10 00:28:14 +00:00
Mark Vejvoda 6a24ca3ad0 - completed screen UI work. F11 will save current menu UI config to ini file, F5 will cause a reload of INI realtime 2010-09-09 21:07:39 +00:00
Mark Vejvoda 7f9c9cde28 - updated menus to allow dynamic UI placement via ini settings 2010-09-09 06:42:39 +00:00
Mark Vejvoda d806e7f9ff - a few more performance optimizations and logging changes 2010-09-09 05:42:19 +00:00
Mark Vejvoda 77eadd7710 - attempt to improve explorecells usage when each unit is signalled to move 2010-09-09 01:44:25 +00:00
Mark Vejvoda b31ad16b21 - attempt to cfix mysterious exit crash 2010-09-09 00:05:12 +00:00
Mark Vejvoda 17f61a808e - bugfix for VERY BAD missing return value 2010-09-08 22:54:02 +00:00
Mark Vejvoda cf5b085b2e - added ability to override UI placement for connected and custom menus 2010-09-08 22:37:24 +00:00
Titus Tscharntke 8552f76798 renamed/fixed lua function enableHunger to enableConsume and disableAI now disables consume too ( to stay somehow compatible with the former behaviour ) 2010-09-08 19:00:22 +00:00
Mark Vejvoda 958184e018 - more memory cleanup 2010-09-07 21:01:22 +00:00
Mark Vejvoda 63cf199322 - more memory cleanup 2010-09-07 18:28:09 +00:00
Mark Vejvoda 9817e8a860 - memory leak fixes 2010-09-07 17:30:13 +00:00
Mark Vejvoda ab44c83168 - added leak_dumper header all over the place (not yet functional in linux)
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Mark Vejvoda 5fdbce7651 - commented out a debug line that gets called a ZILLION times and grows the logfile too much 2010-09-06 20:52:53 +00:00
Mark Vejvoda ca30612c9c - attempt to cleanup particles when a unit is deleted 2010-09-06 17:52:33 +00:00
Mark Vejvoda aca497781c - attempt to correct final issue with multi-build 2010-09-06 05:34:55 +00:00
Titus Tscharntke 716849030e cleanup menu layout ... 2010-09-04 11:49:54 +00:00
Mark Vejvoda 90a60dce3e - implemented advanced features button 2010-09-04 01:50:36 +00:00
Mark Vejvoda 8f0894e0c9 - last minute bugfix for fog of war for observers 2010-09-04 01:32:50 +00:00
Mark Vejvoda fba29d3002 - added new menu option to toggle on / off observers 2010-09-04 01:24:17 +00:00
Titus Tscharntke 939bd9b5e3 language key changed 2010-09-04 00:44:53 +00:00
Mark Vejvoda e93ac6d756 - changed observer faction to use a special team # and fog of war is auto turned off for this special team #. 2010-09-04 00:32:56 +00:00
Titus Tscharntke 72711e2fde sound toggle key for masterserver menu language is missing 2010-09-03 23:54:11 +00:00
Titus Tscharntke f101d12da6 toggle of music in custom menu while waiting for players 2010-09-03 23:15:42 +00:00
Mark Vejvoda 89510fb656 - modified debug player in game stats to use player color and larger font 2010-09-03 07:49:28 +00:00
Mark Vejvoda b778600d11 - modified debug player info to use player color font 2010-09-03 07:35:16 +00:00
Mark Vejvoda 358d61aa38 - first attempt to add a special builtin Observer faction to allow people to observe games 2010-09-03 07:12:40 +00:00
Mark Vejvoda a1eebafac6 - attempt fix smooth the shadow off / on logic when rendering slows 2010-09-03 01:50:16 +00:00
Mark Vejvoda ada90b4e27 - attempt to improve network performance and log more info regarding menu and network performance 2010-09-02 22:34:25 +00:00
Mark Vejvoda 6c30b387ec - fixed timing debug perf stats in menu 2010-09-02 22:17:14 +00:00
Mark Vejvoda 534df002ba - added more perf timings to menus 2010-09-02 21:40:43 +00:00
Titus Tscharntke e4e8beb230 better layout ( with faction preview ) 2010-09-02 19:47:09 +00:00
Mark Vejvoda 571f2cfb3c - fixed timer perf stats 2010-09-02 19:18:11 +00:00
Mark Vejvoda f5711b0949 2010-09-02 13:53:23 +00:00
Mark Vejvoda 8ca44feffc - added perf timings to main program loop 2010-09-02 13:43:44 +00:00
Mark Vejvoda 8b681e1cb9 - more bugfixes for multi-build. Added extra check for repairer / builder swap so that old builder who became a repairer will not try to start building when another unit already took over. 2010-09-02 05:38:49 +00:00
Titus Tscharntke 57f7ffe555 cleand up the menu again and fixed a bug with map filter 2010-09-01 23:15:08 +00:00
Mark Vejvoda 08ace3ca21 - fixed help msg for commandline parameter 2010-09-01 06:24:27 +00:00
Mark Vejvoda ece3319aa8 - fixed invalid commandline error msg 2010-09-01 06:07:34 +00:00
Mark Vejvoda ab42ca7ace - added new commandline option to auto-load a scenario:
--load-scenario=x
- added support for a special faction preview texture when faction preview is enabled
2010-09-01 06:05:28 +00:00
Mark Vejvoda 21ded6679f - some code cleanup for multi-build debug 2010-09-01 04:42:10 +00:00
Mark Vejvoda d6d1fe2add - bugfixes for multi-build. Now the other units are checked that they can not only build but repair too. Also those who repair now try to approach from the best angle as well as the builder. 2010-09-01 04:19:20 +00:00
Titus Tscharntke f07cbb13ad just a small change so that "all" is not needed in the language file 2010-09-01 00:25:46 +00:00
Mark Vejvoda ca49e0ba68 - attempt to fix multi-build 2010-08-31 23:14:15 +00:00
Mark Vejvoda f727c383b2 - fixed bug with server unable to start a game (sorry everyone)
- made faction texture preview an ini option: FactionPreview=true
2010-08-31 20:31:20 +00:00
Mark Vejvoda 6ce69a1e0b - added new messagebox prompt on server when data synch check enabled and data is different we stop the server from launching the game.
- added faction preview texture when users change their faction selection
2010-08-31 06:38:27 +00:00
Mark Vejvoda 135a03e95a - added NULL pointer checks in surface atlas 2010-08-31 04:39:25 +00:00
Mark Vejvoda 6c9b8afc81 - bugfix for mapfilter when saved game does not have index 2010-08-30 21:06:43 +00:00
Mark Vejvoda e32eb9c162 - modified command object to support special states which flow through network play as well. This allows for better handling of multi-unit build and allows for better future expanding of command processing. 2010-08-30 20:45:12 +00:00
Titus Tscharntke 13173788da mapFilter 2010-08-30 20:02:58 +00:00
Mark Vejvoda f16bb3f28b - some bugfixes for new LUA features 2010-08-29 06:30:41 +00:00
Mark Vejvoda 5ae0430928 - added more LUA functions:
int registerCellTriggerEventForUnitToUnit(int sourceUnitId, int destUnitId);
int registerCellTriggerEventForUnitToLocation(int sourceUnitId, const Vec2i &pos);
int registerCellTriggerEventForFactionToUnit(int sourceFactionId, int destUnitId);
int registerCellTriggerEventForFactionToLocation(int sourceFactionId, const Vec2i &pos);
int getCellTriggerEventCount(int eventId);
void unregisterCellTriggerEvent(int eventId);
int startTimerEvent();
int stopTimerEvent(int eventId);
int timerEventSecondsElapsed(int eventId);
int triggeredCellEventId();
int triggeredTimerEventId();
LUA events:
timerTriggerEvent
cellTriggerEvent
2010-08-29 04:45:15 +00:00
Mark Vejvoda 03848fc84f - added more LUA features.
new event: 
gameOver
new method:
getGameWon()
2010-08-28 22:10:34 +00:00
Mark Vejvoda 4d372c12bc - added more LUA support and fixed parameter passing of Vec2i types with streflop
New LUA methods:
DisplayFormattedText
getAiEnabled
getHungerEnabled
startPerformanceTimer
endPerformanceTimer
getPerformanceTimerResults
2010-08-28 20:52:25 +00:00
Mark Vejvoda dc5bf0f850 - bugfix for AI not losing HP when food is out
- added new LUA commands (for Tiger):
giveAttackCommand
disableAi
enableAi
disableHunger
enableHunger
2010-08-28 08:06:32 +00:00
Mark Vejvoda 4bc00cbf73 - added new calculation method when building units, builder units use best approach to build it instead of top left. 2010-08-28 03:43:14 +00:00
Mark Vejvoda db25b5391e - added in-game sound toggle hotkey (thanks Nebososo) 2010-08-28 03:41:17 +00:00
Mark Vejvoda 792150e3dd - moved the hard coded M (more chat text) hotkey to use the already defined hotkey in glestuser.ini 2010-08-28 01:52:57 +00:00
Mark Vejvoda 2ea8b69e22 - first attempt at allowing multiple units to build at the same time 2010-08-28 01:46:26 +00:00
Titus Tscharntke 4ef61fc85e menu layout changed, added 2 new feature switches for custom menu ( non functional only dummys yet ) 2010-08-27 23:08:35 +00:00
Mark Vejvoda 20a02c28ed - bigfix for windows compile 2010-08-27 23:04:59 +00:00
Mark Vejvoda a9b0f31816 - added hard coded team chat hotkey H to configurable keys
- changed dependency finder script to use only desired libs
2010-08-27 21:43:47 +00:00
Mark Vejvoda a2f013c51a - cleaned up lobby message processing 2010-08-27 20:09:55 +00:00
Mark Vejvoda 2e99f69ef1 - added an overall MAX lag counter to disconnect clients that lag beyond recovery 2010-08-27 18:53:59 +00:00
Mark Vejvoda 773bc8659f - extra hardening of connecthost commandline parameter 2010-08-27 02:51:31 +00:00
Mark Vejvoda eb9b5a4ec6 - bigfixes for game data check 2010-08-26 23:45:29 +00:00
Mark Vejvoda 90f66d99bf - updated game data checks display on server 2010-08-26 23:14:55 +00:00
Mark Vejvoda f765ab0880 - updated game data mismatch display 2010-08-26 23:04:14 +00:00
Titus Tscharntke 8884c32e78 version string "light" 2010-08-26 23:01:55 +00:00
Mark Vejvoda ddf4fca0bf - another change to game data packet length for the sake of cheesy windows 2010-08-26 22:29:48 +00:00
Mark Vejvoda 1058065ce7 - changing the max filecount lower to avoid stack overflow due to array taking > 1MB 2010-08-26 20:28:26 +00:00
Mark Vejvoda f3278c3cf3 - bugfixes for stack overflow issue (static array size too large causing chkstk errors) 2010-08-26 19:01:44 +00:00
Mark Vejvoda 4ebd156828 - added new commandline parameter to display the version of SDL used by the program 2010-08-26 16:03:54 +00:00
Mark Vejvoda c5624d8662 - bugfix for newer gcc compiler that freaks out on using static ints as a parameter to stl's min and max functions 2010-08-26 15:00:50 +00:00
Mark Vejvoda 979a6ddb09 - fixed compile issues for tomreyn 2010-08-26 14:48:04 +00:00
Mark Vejvoda 8274ff1efb - windows compile bugfixes 2010-08-26 05:43:08 +00:00
Mark Vejvoda db173d0fdd - bugfixes for network playername inline editing in the lobby during a slot switch 2010-08-26 05:30:17 +00:00
Mark Vejvoda 6fcf4295f1 - updated techree validation output 2010-08-26 04:31:48 +00:00
Mark Vejvoda 58b23f8b91 - added more validation to the techtree validator (make sure that a unit that can build another unit, the unit to be built must have a be_built_skill 2010-08-26 04:17:09 +00:00
Mark Vejvoda a64fa69d02 - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda e5678be10c - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36:17 +00:00
Mark Vejvoda 5fb040c9f1 - Fixed bug related to particles not updating smoothly 2010-08-26 01:25:27 +00:00
Mark Vejvoda 5a796444b8 - added a cache for compute fog of war 2010-08-25 23:55:59 +00:00
Mark Vejvoda 3ee7fc902c - changed update and camera update fps to original values 2010-08-25 19:21:11 +00:00
Mark Vejvoda 5e20ab5808 - updated to allow dynamic changing of updatefps and camerafps 2010-08-25 18:26:17 +00:00
Mark Vejvoda 014165de69 - explicitly clear the cache. 2010-08-25 16:01:24 +00:00
Mark Vejvoda 49978632c4 - removed one lookup key from new cache as it was not required 2010-08-25 15:55:17 +00:00
Mark Vejvoda 855443d98f - added a lookup cache for unit updater's frequently called unitOnRange logic 2010-08-25 07:29:35 +00:00
Mark Vejvoda c9ca56e91b - small optimization for moving units when source and destintation position are the same 2010-08-25 00:29:56 +00:00
Mark Vejvoda c781982e57 - increased explorecells cache size 2010-08-24 23:36:23 +00:00
Mark Vejvoda 4ee98e7155 - some changes to the explorecells cache for less memory and better performance.
- updated performance logging to more easily find things in the log
2010-08-24 23:15:33 +00:00
Mark Vejvoda 39daea6d9a - bugfix for commandline parameters for validate factions 2010-08-24 19:33:10 +00:00
Mark Vejvoda 0e3c0a8d0e - disabled staggered unit updates 2010-08-24 02:49:55 +00:00
Mark Vejvoda 65cf1bfdac - attempt to lessen memory footprint of particles and speed up rendering 2010-08-24 01:21:34 +00:00
Mark Vejvoda 1daecc4145 - made staggered faction updates toggle flag 2010-08-23 19:49:00 +00:00
Mark Vejvoda 61a2340e14 - disable faction update staggering 2010-08-23 19:35:55 +00:00
Mark Vejvoda 7442ac7c54 - test to try to get svn rev # in build string 2010-08-23 17:13:19 +00:00
Titus Tscharntke 04ba21f10c needed ressource display fixed 2010-08-23 17:11:07 +00:00
Mark Vejvoda c01b43f635 - added another layer of authentication to validate the client is REALLY a mega-glest client 2010-08-23 15:40:43 +00:00
Mark Vejvoda 70817a07d1 - some performance updates to fog of war computation 2010-08-23 15:10:37 +00:00
Mark Vejvoda 284371f206 - some performance updates to fog of war computation 2010-08-23 14:48:33 +00:00
Mark Vejvoda db47a14940 - attempt to spread out faction world ticks for better performance 2010-08-23 09:53:04 +00:00
Mark Vejvoda 0509b5d643 - bugfixes for playername change in lobby screen 2010-08-23 04:33:21 +00:00
Titus Tscharntke 401a39c3e1 harvesting units of size>1 should work better ( testing is still needed for this! ) 2010-08-22 22:30:17 +00:00
Titus Tscharntke 8e281e2faf new attribute MaxUnitCount in units and yellow select circle for allies 2010-08-22 21:09:35 +00:00
Mark Vejvoda acd2359096 - added performance logging to regular pathfinder 2010-08-22 20:13:30 +00:00
Mark Vejvoda 1c5b43ad12 - a few bugfixes to rendering optimizations 2010-08-22 19:49:33 +00:00
Mark Vejvoda 0c0642bd17 - commandline bugfixes for windows 2010-08-22 09:06:26 +00:00
Mark Vejvoda 607132ac80 - bugfix for commandline param validation 2010-08-22 08:54:12 +00:00
Mark Vejvoda c96dea7c63 - small commandline param cleanup 2010-08-22 08:45:19 +00:00
Mark Vejvoda 0ad20a1a2d - fixed code for debug asserts 2010-08-22 08:42:43 +00:00
Mark Vejvoda b3a60f5b69 - updated commandline too show usage when using wrong parameters 2010-08-22 08:40:18 +00:00
Mark Vejvoda bf5f6b7f33 - experimental support for idenitfying specific game data which is out of synch with the server. 2010-08-22 08:00:05 +00:00
Mark Vejvoda 5338f9c330 - atempt to squeeze some extra rendering performance 2010-08-21 19:15:39 +00:00
Mark Vejvoda 22f57e0684 - atempt to squeeze some extra rendering performance 2010-08-21 19:04:09 +00:00
Mark Vejvoda cce338a2c6 - atempt to squeeze some extra rendering performance 2010-08-21 18:50:56 +00:00
Mark Vejvoda 0d53ae998d - changed auto start client and server parameter names 2010-08-21 13:06:59 +00:00
Mark Vejvoda 455876a3c0 - added the ability to change your playername from the game lobbies inline 2010-08-21 13:04:52 +00:00
Mark Vejvoda 6530600516 -- intial work to add network playername inline editing in lobby (partially done for server player so far) 2010-08-21 07:41:26 +00:00
Mark Vejvoda 5a42638060 - added / updated commandline params to auto start or connect to a network game server 2010-08-21 06:47:00 +00:00
Mark Vejvoda b99d1f7421 - code cleanup of commandline parameters 2010-08-21 06:11:45 +00:00
Mark Vejvoda b721ce0722 - fixed function call on windows 2010-08-21 03:18:10 +00:00
Mark Vejvoda 80c54b7a21 - added version mismatch check on server to avoid spurious client connection activity 2010-08-21 02:59:21 +00:00
Mark Vejvoda 5537a37b35 - updated commandline param to allow validation on filtered techtrees and factions 2010-08-21 02:13:50 +00:00
Mark Vejvoda 25a7097066 - added new commandline parameters:
--help
--validate-factions=x

for full details of all commandline params run --help
2010-08-21 01:54:04 +00:00
Mark Vejvoda d08c8300f0 - more attempts at stability for network games 2010-08-21 01:52:41 +00:00
Mark Vejvoda 07cbcc0bec - added a bunch of null terminations to all char buffers in network protocol 2010-08-20 23:53:10 +00:00
Mark Vejvoda ff7828fa6f - more NULL checking for safer execution 2010-08-20 22:59:32 +00:00
Mark Vejvoda d69fbc6925 - more NULL checking for safer execution
- added safer mutex guards in custom game menu
2010-08-20 22:42:26 +00:00
Mark Vejvoda 0e82836e01 - more NULL checking for safer execution 2010-08-20 22:17:30 +00:00
Mark Vejvoda 09f7eecf06 - fix a thread synch issue in the custom game menu 2010-08-20 21:06:20 +00:00
Mark Vejvoda 1fa9efc091 - alittle more bullet proofing using NULL pointer checks 2010-08-20 20:51:25 +00:00
Mark Vejvoda fc31e7713d - added null pointer check 2010-08-20 20:29:30 +00:00
Mark Vejvoda a6d33fe569 - attempt to protect a little against spurious network activity 2010-08-20 20:03:06 +00:00
Mark Vejvoda 277362a6c7 - fixed a possible infinite loop while receiving network packets on clients for network games (found by titi's stack trace dump) 2010-08-20 18:06:03 +00:00
Mark Vejvoda 31363fd41b - bugfix for press screen shot hotkey in windows 2010-08-17 20:58:30 +00:00
Mark Vejvoda 1cb154fafa - updated version # to 3.3.7-dev 2010-08-17 20:58:13 +00:00
Mark Vejvoda a8ea5d1055 - bugfix for crash message in windows 2010-08-12 00:39:14 +00:00