Mark Vejvoda
3a6544a257
attempt for big cleanup of out of synch issues, please test!
2013-09-23 17:16:34 +00:00
Titus Tscharntke
3de7740120
copy visible from current particle instead of setting it hard to true.
...
fixes: https://forum.megaglest.org/index.php?topic=9216.0
2013-09-19 22:04:18 +00:00
Mark Vejvoda
3126a10966
- added code to be able to properly render attack particles when unit is not visible (turned off for now due to questions)
2013-09-19 20:03:36 +00:00
Mark Vejvoda
d46479df95
- bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
...
- converted asserts to exceptions
2013-06-23 04:17:25 +00:00
Mark Vejvoda
8408526b12
code cleanup based on cppcheck results
2013-05-17 03:59:34 +00:00
Mark Vejvoda
8916a86b8c
- bugfixes for load / save game for in progress joining
2013-02-19 06:41:56 +00:00
Mark Vejvoda
8dc637527a
- tighten up code.. ensure pointers set to null after delete, etc
2013-02-01 17:25:49 +00:00
Mark Vejvoda
64058b17e7
- code cleanup from cppcheck
...
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
011e0263b0
- lots more code cleanup, using safe buffer size code to avoid buffer overflows
2012-10-19 01:31:20 +00:00
Mark Vejvoda
1c211e4ce6
- lots of code cleanup from the cppcheck
2012-09-22 20:13:57 +00:00
Mark Vejvoda
c8fdc9269f
- fix win32 build
...
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Titus Tscharntke
fe59fe8703
Bugfix: particles are also colored with daylight effect if they are created. ( if isDaylightAffected is set )
2012-04-15 22:38:41 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
83d2474ded
- bugfix animated particle model logic
2012-04-04 23:43:31 +00:00
Mark Vejvoda
b481fbcbb5
- proper save and restore for particles
2012-03-19 21:35:54 +00:00
Titus Tscharntke
d738dddab6
particles are no longer saved ( just particle systems ) because they made the savegame huge.
2012-03-17 22:26:50 +00:00
Mark Vejvoda
8d5de12d42
- added some particles to load game logic
2012-03-14 07:23:41 +00:00
Mark Vejvoda
d1a0eeca2e
- check for null for particles
2012-03-13 22:37:47 +00:00
Mark Vejvoda
917adc8c98
- bugfix for game save and load (string buffer was too small for one item)
2012-03-13 21:58:31 +00:00
Mark Vejvoda
c5331b7e8a
- initial work to save game state to XML. Current only saves when out of synch or game end occurs and saves to same folder as log files and file is called: megaglest-saved.xml
...
(Currently we store way too much info but this is a starting point)
2012-03-10 03:27:25 +00:00
Mark Vejvoda
4ad42518c0
- updated for better handling of streflop on different platforms
...
- attempt for bugfix on windows when socket send buffer is continuously full
2012-02-10 06:21:06 +00:00
Titus Tscharntke
15537e059a
missing initialisation of "emissionRateFade" made damage smoke particles from objects disappear or much too strong
2012-01-07 23:53:08 +00:00
Titus Tscharntke
e05984d527
- daylight effects for unit particles ( best use with mode "black" )
...
- meadow has good looking mist in night now
- startdelay for particles
2012-01-07 20:24:54 +00:00
Mark Vejvoda
9852325da6
- fixed Martiño Figueroa's name in all copyrights in source code
...
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
62a7186216
- updated build files to auto generate manpages for debian
...
- fixed spelling mistakes and broken links
2011-12-14 06:27:35 +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
ef125238e8
- continue trying to fix network issues
2011-11-25 22:38:25 +00:00
Mark Vejvoda
c751c1a2cf
- a few minor bugfixes
2011-11-17 21:36:29 +00:00
Mark Vejvoda
77a2fa7d48
- getting fanatical about memory cleanup so that valgrind output is more useful
2011-09-30 23:55:07 +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
7e16873efd
- bugfix for team switching validation should be skipped
...
- commented printf for tween debugging
2011-09-22 05:14:20 +00:00
Mark Vejvoda
cd321c0c77
- fix the tween bug by truncating after 6 decimals
2011-09-10 03:57:51 +00:00
Mark Vejvoda
57afc2d715
- phase 2 of cppcheck verbose fixes
2011-09-01 01:11:23 +00:00
Mark Vejvoda
f542ce36e4
- commented assert and added more debug info when tween is invalid
2011-08-31 16:12:02 +00:00
Mark Vejvoda
b2fc331876
- added more debug info for font error mentioend in forums by james123
2011-08-31 00:06:50 +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
ee2c7bbe98
- try to see if this helps with the tween bug
2011-07-19 01:25:38 +00:00
Mark Vejvoda
ae6b085d7a
- try to see if this helps with the tween bug
2011-07-19 00:17:32 +00:00
Mark Vejvoda
732b44833b
- add debug statement to track tween bug
2011-07-18 23:46:11 +00:00
Mark Vejvoda
1b2d4fddea
- merged in willvarfar's particle patch
2011-07-06 22:23:51 +00:00
Mark Vejvoda
15488ddb31
- bugfixes related to attack-boost memory leaks
2011-07-06 05:16:25 +00:00
Mark Vejvoda
1700cbba2d
- working implementation of particles for new attack-boost xml tag
2011-06-25 20:44:46 +00:00
Titus Tscharntke
a282cfe4e6
model cycle needs to be initialized with 0 ( said willvarfar )
2011-06-14 22:39:31 +00:00
Titus Tscharntke
86b926df1a
fix for shots( magic summoner and so on ). Not shure if I broke something with the new animated shot models. Willvarfar please look at it .
2011-06-13 23:43:47 +00:00
Mark Vejvoda
4aca4af404
- updated patch from willvarfar for animated models in particles
2011-06-11 00:26:26 +00:00
Mark Vejvoda
3efde1d31b
- added will's patch for splash particle animation support
2011-06-10 19:44:34 +00:00
Mark Vejvoda
7c43628643
- included patch from willvarfar for animated attack particles (thanks will)
2011-06-10 17:33:09 +00:00
Titus Tscharntke
7863212a94
fixes a memory problem with very small emission rates which might happen when a particle system has no more living particle.
2011-05-01 21:46:04 +00:00
Mark Vejvoda
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Titus Tscharntke
c54174061f
particles have more switches: day/night visibility , alternating value , radiusBasedStartenergy ( can be disabled now! )
2011-03-13 23:16:07 +00:00