Mark Vejvoda
2dd2afb296
- changed selection code to use color picking, can disable using new ini setting:
...
EnableColorPicking=false
2011-12-13 01:30:52 +00:00
Mark Vejvoda
609bc528d2
- fixed fog of war bug in map preview for connected client
...
- in headless mode keep three caches in case its related to out of synch
- comment out spurious irc console text
2011-12-03 01:19:54 +00:00
Mark Vejvoda
01ea0787a3
- a few more updates to cut down on RAM use for headless server
2011-12-03 00:39:03 +00:00
Mark Vejvoda
8bdf863636
- cleanup of masterserver global flag
...
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda
66f44ff7c4
- more cleanup from cppcheck (using eclipse plugin now)
2011-12-02 17:46:02 +00:00
Mark Vejvoda
d33e1174a5
- bugfixes related to cppcheck report
...
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Titus Tscharntke
1cd6520335
fast commands only for fighting / no regeneration when in "be_build" state
2011-11-29 00:54:38 +00:00
Mark Vejvoda
21d06fd386
- bugfix for hp regeneration (Thanks for pointing this out Ishmaru)
2011-11-28 06:25:20 +00:00
Mark Vejvoda
03a7a72ef5
revert network code back to beta1 code
2011-11-27 05:27:50 +00:00
Mark Vejvoda
fbb3f0b8e5
- faction threads now use semaphores to signal completion lowering cpu use on main thread
2011-11-26 23:11:33 +00:00
Mark Vejvoda
3cdf50c399
- a load of bugfixes including:
...
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game
- Added check for invalid particles for tileset objects
- Made messagebox wider in game mod menu
- Fixed numerous threading issues discovered while testing on my 8 core CPU
- a Little bit of rendering cleanup
2011-11-23 08:00:09 +00:00
Mark Vejvoda
2d367bd26e
- added new lua functions from Muwum:
...
new events:
unitAttacked
unitAttacking
methods:
lastAttackedUnitName()
lastAttackedUnit()
lastAttackingUnitName()
lastAttackingUnit()
giveKills(unit,amount)
2011-11-16 21:38:12 +00:00
Mark Vejvoda
0039354c15
- added name to attack-boosts and shared attack boosts per unit type
2011-11-11 04:17:55 +00:00
Mark Vejvoda
0b62b4137e
- added a validation / warnhing logic to handle cases of duplicate resource values entered in XML
2011-11-10 22:36:44 +00:00
Mark Vejvoda
1e34bc66c1
added a detailed error message to try to hunt down a bug discovered by Elimnator
2011-11-10 21:00:50 +00:00
Mark Vejvoda
0b511efe36
bugfix for particles, proper checking for valid particle states when using particles
2011-11-05 05:45:02 +00:00
Mark Vejvoda
0f6e8ba928
attempt to bugfix attackboost segfault discovered while playing vs Romans
2011-10-30 06:12:40 +00:00
Mark Vejvoda
ca45749cd8
see if this fixes command transitions issues outstanding
2011-10-28 22:49:00 +00:00
Mark Vejvoda
64eeba93cb
bugfix for command transition not properly resetting status
2011-10-28 04:37:10 +00:00
Mark Vejvoda
4223567f2b
attempt to fix weird command transition behavior
2011-10-28 04:17:26 +00:00
Mark Vejvoda
421e38cab4
cleaned up the code a bit for the command transition
2011-10-28 01:22:36 +00:00
Mark Vejvoda
b08516e7de
fixed command transition choppiness
2011-10-28 01:11:42 +00:00
Mark Vejvoda
fdb2b65bf7
make transition to new command less choppy
2011-10-28 00:51:01 +00:00
Mark Vejvoda
f2e497f855
bugfix for switching to another command should be immediate and not wait until the current skill in finished
2011-10-28 00:22:03 +00:00
Mark Vejvoda
c6fe352da7
disabled 'grouped' commands to see if this is the cause of out of synch (try this out guys)
2011-10-26 00:30:58 +00:00
Mark Vejvoda
b1ed59959e
- bugfix so player who dies and becomes an observer can hear sounds from other players units
2011-10-12 16:03:55 +00:00
Mark Vejvoda
e25e925ff0
- bugfix for ep regen being done twice per tick
2011-10-12 02:46:31 +00:00
Mark Vejvoda
8729c32b68
- bugfix AI, no longer try to build a farm type unit if the faction does not have a unit that is able to build it yet
...
- new optional feature added to tell each faction some basic info regarding which units should take priority when building,producing and morphing
2011-10-04 06:49:44 +00:00
Mark Vejvoda
aed293bba2
- fixed a bunch of memory leaks that will hopefully mean less overall memory requirements.
2011-09-28 06:57:42 +00:00
Mark Vejvoda
21005cc1e7
- in headless mode skip call to set window icon
2011-09-27 17:15:56 +00:00
Mark Vejvoda
2a86cb4f7d
- added support for proper quiting and console input/output in headless mode. Type: quit followed by return into the console to properly shutdown in headless mode.
2011-09-27 10:16:09 +00:00
Mark Vejvoda
9caff9dac3
- in headless mode avoid init of sdl's video surface so that we stay in console window (no graphics window shown)
2011-09-27 07:01:08 +00:00
Mark Vejvoda
c68aa74fcf
- more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start.
2011-09-27 05:29:57 +00:00
Mark Vejvoda
ebc174be03
- cleanup some compiler warnings
2011-09-25 04:09:54 +00:00
Mark Vejvoda
ece2927350
- attempt to fix command grouping
2011-09-25 04:07:59 +00:00
Mark Vejvoda
42bbbd2e42
- trying to bugfix crashes with grouped commands
2011-09-23 18:54:35 +00:00
Mark Vejvoda
72c12a3459
- another attempt to fix command grouping bug (its now turned on be default again), please test for crashes or out of synch
2011-09-22 20:42:06 +00:00
Mark Vejvoda
7d53df698a
- added new in-game popup menu and new ability to switch teams in game (turned off by default in advanced settings)
2011-09-21 06:51:28 +00:00
Mark Vejvoda
15cad68faf
- attempt to fix a segfault in grouped units
2011-09-09 20:30:13 +00:00
Mark Vejvoda
41dfe298d3
- re-enable grouped commands for better unit moving (was previously causing out of synch but i think it works properly now)
2011-09-09 17:49:10 +00:00
Mark Vejvoda
bb68106912
- phase 3 of cppcheck verbose fixes
2011-09-01 18:08:56 +00:00
Mark Vejvoda
57afc2d715
- phase 2 of cppcheck verbose fixes
2011-09-01 01:11:23 +00:00
Mark Vejvoda
d99a8236ae
- added the ability to synch unit particles with model animation using start-time and end-time attributes
2011-08-27 06:52:17 +00:00
Mark Vejvoda
7bc9394e85
- fixed some bugs around hp regeneration and attack-boost
2011-07-22 20:06:48 +00:00
Mark Vejvoda
82a0f23487
- attempt to add hp regen to upgrades and attack-boost
2011-07-22 07:05:47 +00:00
Titus Tscharntke
6f649daa6b
I hope rotated climb works now... ( angle correction is a bit smoother now )
2011-07-17 21:47:56 +00:00
Titus Tscharntke
6437d79aa4
rotated _climb units which morph into non rotated_climb units have no more problems morphing on steep terrain
2011-07-16 17:33:48 +00:00
Titus Tscharntke
acca8c118c
smoother anim for anim-progress-bound ( better but not perfect :-/ )
2011-07-13 20:54:04 +00:00
Mark Vejvoda
bc4f33bc9a
- added new cmake build option (and fixed bugs from people who added code but did not respect NON streflop define)
2011-07-13 19:57:29 +00:00
Mark Vejvoda
5400126332
- try bugfix for titi's verticle rotation
...
- added deep copy for child particles
2011-07-12 01:48:14 +00:00
Mark Vejvoda
44c73392ee
- bugfix for attackboost, don't try to make particle on affected units if particle not defined in xml
2011-07-12 00:58:09 +00:00
Titus Tscharntke
9bc26f418d
rotated_climb. For example tanks are rotated along the x- and z-axis when driving up or down a hill ...
2011-07-11 23:59:16 +00:00
Mark Vejvoda
cd0ce1d840
- bugfix for smoke particle
2011-07-08 06:36:36 +00:00
Titus Tscharntke
c21f07ec7d
"anim-hp-bound" is now called "anim-progress-bound" and available for produce/morph/upgrade skills too! Deprecated "anim-hp-bound" will be dropped VERY soon!
2011-07-07 23:02:46 +00:00
Mark Vejvoda
9a6aca1bdc
- remove debug info in gui
2011-07-06 22:45:44 +00:00
Mark Vejvoda
b8bd927b7b
- finally fixed the unit sorting hang bug, try it tomryen
2011-07-06 06:38:56 +00:00
Mark Vejvoda
15488ddb31
- bugfixes related to attack-boost memory leaks
2011-07-06 05:16:25 +00:00
Mark Vejvoda
1fd179196c
- attempt to fix hang issue reported by tomreyn
2011-07-05 18:26:09 +00:00
Mark Vejvoda
1f8d1b68eb
- attempt to fix crash issue reported by tomreyn
2011-07-05 15:43:39 +00:00
Mark Vejvoda
2c80543889
- attempt to group command execution so units given the same command at the same time will work more smartly (closer units go first and so on)
2011-07-05 04:37:35 +00:00
Mark Vejvoda
a8b25cf111
- bugfix for start / stop smoke particles
2011-07-04 15:55:13 +00:00
Mark Vejvoda
14c70966b0
- bugfix for hpanim on bebuilt, to interplotate out the last reset frames
2011-07-02 21:44:29 +00:00
Titus Tscharntke
a1ab98d4b9
new param <anim-hp-bound value="true"/> for BeBuilt skill to have the animation progress bound to the HP. / fixed a nullpointer exception related to particles
2011-07-02 16:07:04 +00:00
Mark Vejvoda
f9ad27f655
- bugfix for stopping damage particles properly
2011-07-02 03:59:46 +00:00
Mark Vejvoda
8b23634332
- fixed a bug found during test related to min / map particle logic
2011-07-02 02:52:30 +00:00
Mark Vejvoda
32950a168c
- more bugfixes for attack-boost
2011-07-02 00:20:28 +00:00
Mark Vejvoda
7c996e3296
- added percentage support for min / map hp on damage particles
...
- bugfixes for png support for pixmap3d (water textures)
2011-07-01 23:13:55 +00:00
Mark Vejvoda
850825695e
- added support for min / max hp associated with damage particles
2011-07-01 21:47:54 +00:00
Mark Vejvoda
4d6f39d257
- added support for multipliers in attack-boost
2011-06-26 07:06:32 +00:00
Mark Vejvoda
a3cd886b9d
- bugfix again for negative upgrade sums
2011-06-26 03:50:42 +00:00
Mark Vejvoda
4013af9447
- for multiple animations added a new xml node to tell the engine to pick a random animation ONLY x number of times (so death animation is random but not changing when completed animating):
...
<animation-random-cycle-maxcount value="1" />
2011-06-25 21:40:27 +00:00
Mark Vejvoda
1700cbba2d
- working implementation of particles for new attack-boost xml tag
2011-06-25 20:44:46 +00:00
Mark Vejvoda
14b6f195e6
- for multiple animations, now can specify a 'preferred' animation based on the units hp using:
...
<animation path="models/archer_standing.g3d" fromHp="0" toHp="10" />
2011-06-25 15:30:18 +00:00
Mark Vejvoda
86743e2718
- more bugfixes for attack-boost check (and now in debug mode if unit selected show his attack-boost radius as well as the units affected)
2011-06-25 14:18:53 +00:00
Mark Vejvoda
b0f8675a65
- small bugfix for attack-boost check
2011-06-25 09:01:31 +00:00
Mark Vejvoda
c252402e71
- initial implementation of attack-boost logic (this is in progress code which is only triggered by new xml entries). Will explain later once tested.
2011-06-25 08:53:53 +00:00
Mark Vejvoda
5dda269151
- bugfix for multiple models per skilltype (let existing model finish animating before allow next random model to be selected)
...
- started work on a new feature called 'attack-boost' that should prove VERY INTERESTING once fully implemented (shhh its a secret)
2011-06-25 07:31:01 +00:00
Titus Tscharntke
8b9d4a662a
switch for non rotatable objets in tilesets; cleaned up the way the particles were bound to tileset objects
2011-06-22 20:26:39 +00:00
Titus Tscharntke
9ce83ed21b
queued commands are displayed in a better way
2011-05-01 20:19:41 +00:00
Mark Vejvoda
f71f83d2b8
- bugfix for AI repairing fixes a long standing legacy bug where the AI never repaired units with a cell map starting with a 0 at the first x,y in the cellmap (like magic faction).
2011-05-01 05:36:04 +00:00
Mark Vejvoda
700e768b0f
- changed default command display text to be same as 3.4 but with support to override and show queued commands up to a max of: MaxQueuedCommandDisplayCount=x where x is max queued text to show
...
- added ini support on linux so it by default looks for glest.ini and glestkeys.ini in /usr/share/megaglest and /usr/local/share/megaglest first
2011-05-01 03:12:36 +00:00
Mark Vejvoda
5ef1313296
- only show queued # in text if queued commandcount > 1
2011-05-01 02:31:36 +00:00
Mark Vejvoda
d266bbb55c
- changed default displayed command queue text to 3
2011-04-29 04:13:31 +00:00
Mark Vejvoda
c747a7c037
make queued commandcount configurable
2011-04-28 00:16:26 +00:00
Mark Vejvoda
0abca7fb7a
- bugfixes for clicking outside of the map co-ordinates
...
- show up to 5 descriptions for queued items when producing
2011-04-27 22:35:45 +00:00
Mark Vejvoda
dd9b984a82
- in observer mode, show queued work for all factions
...
- when showing queues, now also show up to a max of 4 details for the first 4 items in the queue
2011-04-27 05:58:08 +00:00
Mark Vejvoda
89de9f4c8b
- fixed to handle duplicate resources in unit requirement costs without crashing
2011-04-26 22:28:37 +00:00
Mark Vejvoda
8d3a53235a
- better error message on null resource
2011-04-26 22:11:18 +00:00
Mark Vejvoda
47ef05ceed
- attempt to improve pathfinder performance and lengthen max nodes to 900
2011-04-26 21:51:18 +00:00
Mark Vejvoda
cb113514e1
- limit current resource amounts to max storage allowed at game start
2011-04-25 06:39:40 +00:00
Mark Vejvoda
16ea7881ab
- no longer allow killing self or team to update your skill levels
2011-04-20 16:46:47 +00:00
Mark Vejvoda
1b68053397
- attempt disabling threaded faction pathfinder precache
2011-04-18 06:51:10 +00:00
Mark Vejvoda
0a0ee9113c
- found a rare case where cancelling an upgrade with multiple upgrades happening and a unit dies causes a crash
2011-04-18 05:34:31 +00:00
Mark Vejvoda
734db6c7d4
- bugfix, units can now heal self if they are capable of healing own unit type
2011-04-17 06:25:08 +00:00
Mark Vejvoda
06fb3decda
- added some code for possible future use to improve pathfinder (not for this release) so disabled right now
2011-04-14 02:51:13 +00:00
Titus Tscharntke
5aa6092f1f
produce commands are not ALWAYS queued! Behaviour should be like in original glest!
2011-04-08 20:25:03 +00:00
Mark Vejvoda
a48406a592
- attempt to fix bailout pathfinding logic to have better performance
2011-04-04 04:32:01 +00:00
Mark Vejvoda
678fca2aad
- disable faction threads when user selects route planner pathfinder (fixes current crash)
2011-04-03 06:18:21 +00:00
Mark Vejvoda
0e9cf65e70
- more code cleanup (removal of dead code that is no longer used)
...
- fix the icon for wartime mechanic's heal command
2011-03-29 16:27:01 +00:00
Mark Vejvoda
c58f338d1b
- clear pathfinder precache for units when they die to free memory sooner
2011-03-29 10:01:01 +00:00