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
Mark Vejvoda
ca49e0ba68
- attempt to fix multi-build
2010-08-31 23:14:15 +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
Mark Vejvoda
f16bb3f28b
- some bugfixes for new LUA features
2010-08-29 06:30:41 +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
2ea8b69e22
- first attempt at allowing multiple units to build at the same time
2010-08-28 01:46:26 +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
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
Mark Vejvoda
2605e1c4d7
- added proper constructor to init pointers to NULL in case or early game load problems to avoid a crash
2010-07-30 01:19:31 +00:00
Mark Vejvoda
ff586afd0d
- some final updates to get the new pathfinder working after adding multi-pathing support
2010-07-21 22:05:50 +00:00
Mark Vejvoda
77ee50b681
- some code cleanup related to supporting multiple path finders
2010-07-21 20:40:11 +00:00
Mark Vejvoda
bca03b0c0c
- initial changes to support multiple path finders
2010-07-21 18:21:40 +00:00
James McCulloch
8579dbb36e
* fix for resource depletion updates to AnnotatedMap and Resource GoalMaps (cell to tile co-ord problem)
2010-07-17 05:13:34 +00:00
Mark Vejvoda
206170bc76
- attempted some speed improvements for unit lookup as well as exploreCells
2010-07-14 06:59:55 +00:00
James McCulloch
5f16b486d7
* fix for build command (problems with some cellmaps)
...
* fix for repair command (problems if top-left cell of repairee is blocked)
2010-07-14 06:54:43 +00:00
James McCulloch
f18061a7ee
fix build-site and store adjacency maps for potential building rotation
...
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +00:00
James McCulloch
8387ed29dc
* wired up RoutePlanner/Cartographer
...
* added DebugRenderer (mostly dysfunctional)
* add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
James McCulloch
bdd4f306f4
* added GAE path finder (SearchEngine and friends)
...
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
* compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00
Mark Vejvoda
eeda623b4f
- removed the rotateunit flag (its now just part of MG)
...
- updated rendering to consider both visible and explored cells when rendering untis and objects
- added a warning message when a client is lagging and coming close to being kicked off
2010-06-17 00:08:27 +00:00
Mark Vejvoda
8ea52485cc
- Attempt to fix unit id allocation issues
2010-05-31 09:24:44 +00:00
Mark Vejvoda
5c5b5a3283
- added more debug output
2010-05-29 09:38:00 +00:00
Mark Vejvoda
badd795865
More debug code to find unit mismatch
2010-05-29 09:04:22 +00:00
Mark Vejvoda
04bb6659ce
Added more debugging and option to disable new streflop usage.
2010-05-01 20:14:25 +00:00
Mark Vejvoda
5af308125b
- Cleanup of logging code to properly manage multiple logs etc
...
- Cleaned up a bunch of compiler warnings (conversion from int to float and vice versa)
2010-04-27 20:38:34 +00:00
Mark Vejvoda
2bfaa4d1d7
Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux
2010-04-24 03:57:38 +00:00
Titus Tscharntke
e5d9631a9f
watersounds playing all over the map is fixed.
...
'M' key shows faded console messages again (currently ingame only )
2010-04-14 20:49:14 +00:00
Mark Vejvoda
d38a1f8877
Bugfix for cheating when the harvest command type has changed to a different command. Got this from Silnarm.
2010-04-06 03:28:20 +00:00
James McCulloch
00dd0f490d
* fix for map names (possible duplicate entries if mgm and gbm with same name) & alphabetically sorted now
...
* re-implemented building rotation (Note: requires particle systems that should be rotated with the building to be 'relative')
2010-03-25 12:15:10 +00:00
Mark Vejvoda
c26e924e8c
Bugfix for unit rotate (when a produced unit is built, the wrong id was used)
2010-03-22 23:10:16 +00:00
Mark Vejvoda
d713349187
Changed unit rotation logic to attach to existing ccBuild command (placing rotateAmount into the targetId field which was always unused for this commandtype). Commented out the old network code that was used to do this for now.
2010-03-22 04:47:16 +00:00
Mark Vejvoda
965a7ac2ba
Updated debug logic to use a debug class to better control debug logging and centralize the control of it.
2010-03-19 23:26:00 +00:00
Mark Vejvoda
f838293632
Added code for the following:
...
a) Complete Unit Rotation for multi-player
b) Added support for user defined data folders
2010-03-18 21:26:40 +00:00
Mark Vejvoda
2012b7e22c
Made changes to properly isolate new unit rotation code so that it is disabled by default
2010-03-13 21:10:45 +00:00
Mark Vejvoda
43c3f2457e
Code Restructuring to make mega-glest more standard
2010-03-12 05:20:53 +00:00
Mark Vejvoda
7cb4f99ec4
Code Restructuring to make mega-glest more standard
2010-03-12 05:11:28 +00:00
Titus Tscharntke
59faabfe14
bugfix/improvement for teamcolor particles ** units can morph to flying units ** tech faction with particles
2010-02-27 00:34:03 +00:00
Titus Tscharntke
3b02f9c9b7
fix for damage-all value="false" bug ( direct hit still hurt an ally unit, but splash doesn't )
2010-02-24 23:25:32 +00:00
Mark Vejvoda
fb5035c230
Updated with initial 3.4.4 codebase includes:
...
- network fixes for multiplayer defects found
- initial code (disabled currently) for content crc checking and downloading
- code compiles on Win32 using VS2008 express, project files not yet included
2010-02-03 01:09:50 +00:00
Titus Tscharntke
0ce9b5fcac
initial version ( megaglest 3.2.3-beta3 )
2010-01-22 01:45:58 +00:00