Mike Hoffert
b9eb74d916
Percentages were wrong way around
2014-07-19 19:12:34 -06:00
Mike Hoffert
f0801b3c33
Converted floats to ints
...
As discussed with Titi, this may prevent some issues with multiplayer
getting out of sync due to different floating point calculations.
2014-07-19 19:03:33 -06:00
Mike Hoffert
191c353491
Fixing platform inconsistency
...
It appears that the issue is a Windows problem, with Windows providing
macros for min and max that interfere with using the proper ones defined
in the algorithm header file.
2014-07-19 18:07:24 -06:00
Mike Hoffert
3cae2559c7
No looting if you attack units in same faction
2014-07-19 16:44:11 -06:00
Mike Hoffert
68455a819f
Added setting to disable going into negatives
...
After all, how does one loot what the other faction does not have? Still,
could be useful for some places, by forcing the opponent to go into
"debt".
2014-07-19 16:38:33 -06:00
Mike Hoffert
df0d7aaac9
Implemented rest of resource amount/loss attrs
2014-07-19 16:13:09 -06:00
Mike Hoffert
23deb957a7
First, basic looting implementation
...
Only absolute values are obtained for now, no loss.
2014-07-19 15:37:59 -06:00
SoftCoder
b1cafabb01
- added cmake compile warning when users uses clang as clang currently does NOT support some critical GCC settings we require.
2014-02-06 19:14:14 -08:00
titiger
98234228d9
shake it baby ( camera shake effects )
...
Camera shake effects can be added via xml skill definitions.
2014-02-01 23:15:44 +01:00
SoftCoder
39696b6a65
- added ability to share resources across same teams
2014-01-27 18:55:08 -08:00
SoftCoder
2c788e074a
- fix auto loading scenario from commandline
2013-12-30 12:19:10 -08:00
SoftCoder
5b445ad388
- removed stack trace from script manager methods that create known errors to make error message smaller.
2013-12-30 07:57:51 -08:00
SoftCoder
3111b733e2
- bugfix for chrono class calcs causing group camera recall to fail (And numerous other problems)
...
- added better tracking of mutexes by assigning them location info
2013-12-24 22:27:44 -08:00
SoftCoder
3a24531ba7
- more code cleanup based on cppcheck results and valgrind
...
- added -h option to build-mg.sh to show parameter usage.
2013-12-22 22:53:26 -08:00
SoftCoder
2d3e04f413
- a few more minor code quality fixes
2013-12-22 21:03:40 -08:00
SoftCoder
f8c497f6dc
- in progress work to try to get attack boosts loading from a saved game (not working yet and commented out)
2013-12-21 21:53:27 -08:00
SoftCoder
a56eb83c91
- moved map path into config class
...
- proper render performance calc compare
2013-12-16 23:54:33 -08:00
SoftCoder
f269273f07
- round #2 of coverity bug fixes
2013-12-14 22:37:15 -08:00
SoftCoder
b8ab732b85
- cppcheck code cleanup
2013-12-14 18:07:22 -08:00
SoftCoder
b11932b92d
- cleanup from cppcheck report
2013-12-14 03:03:19 -08:00
SoftCoder
b9d6b38e8f
- coverity based bug fixes - round #1
2013-12-13 23:04:12 -08:00
SoftCoder
be3d4d300c
- bugfix for headless server mode (null pixmaps) shown by stacktrace on fakir
2013-11-28 16:20:40 -08:00
Mark Vejvoda
8414077d7a
- bugfix for headless server's reporting of winning players and team.
...
- masterserver returns proper JSON header now
2013-11-22 21:17:38 +00:00
Mark Vejvoda
ab64b9343f
- updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build.
2013-11-19 21:57:28 +00:00
Mark Vejvoda
33d87512b0
- code cleanup based on additional gcc warnings
2013-11-19 06:58:52 +00:00
Mark Vejvoda
66761ba760
- code cleanup based on additional gcc warnings
2013-11-19 06:42:32 +00:00
Mark Vejvoda
9268aaf279
- a few minor bug fixes related to code warnings
...
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda
09818dfdc1
- added a warning code comment to avoid this in the future
2013-11-16 02:12:26 +00:00
Mark Vejvoda
4c4bcd40a3
see if this helps stuttering
2013-11-16 00:28:55 +00:00
Mark Vejvoda
9080ade759
small cleanup from cppcheck
2013-11-14 23:24:17 +00:00
Mark Vejvoda
3671bd0617
- removed debug code
2013-11-14 13:17:58 +00:00
Mark Vejvoda
4e1c9be664
some memory leak cleanup
2013-11-13 21:22:56 +00:00
Mark Vejvoda
2d8f0f7430
clear cache lookups when appropriate
2013-11-13 19:00:33 +00:00
Mark Vejvoda
5e7e440c5d
attempt to see if this improves performance
2013-11-13 18:05:47 +00:00
Mark Vejvoda
feedde5f61
- streamlining fog of war unit cache
2013-11-11 22:11:13 +00:00
Mark Vejvoda
6705a346ef
attempt to squeeze a bit more performance
2013-11-11 19:33:25 +00:00
Mark Vejvoda
07ac33ec99
bugfix for performance enhancement
2013-11-11 18:34:51 +00:00
Mark Vejvoda
c98a09b905
attempt to squeeze a bit more performance
2013-11-11 18:09:00 +00:00
Mark Vejvoda
9625bd77a4
- attempt ot get fine details of performance bottlenecks
...
- attempt to improve performance a bit
2013-11-11 08:28:15 +00:00
Mark Vejvoda
f1abe148ea
- bugfix for background crc thread shutdown
...
- more performance monitoring and better output of only warnings
2013-11-11 04:46:49 +00:00
Mark Vejvoda
8ea6235495
ensure pre cache crc thread does not interfere with running game
2013-11-10 19:47:04 +00:00
Mark Vejvoda
856e6fd88e
when using team switch, AI player will now always answers YES if he already lost the game
2013-11-10 04:26:20 +00:00
Mark Vejvoda
2c452d3587
attempt to use per faction mutexes for safer pathfinding
2013-11-08 22:41:17 +00:00
Mark Vejvoda
e8a94eacfc
tracking for nig's issue
2013-11-08 19:00:47 +00:00
Mark Vejvoda
f0546df518
added more debug tracking info if win64 crashes
2013-11-07 01:55:02 +00:00
Mark Vejvoda
493981e8b3
- reverted win64 to sse2
...
- added some debug info for win64 testing
2013-11-06 02:14:49 +00:00
Mark Vejvoda
1134ad399d
- added a more graceful way to handle more serious errors during data validation commands in order to offer more detailed error analysis
2013-11-04 07:21:04 +00:00
Mark Vejvoda
9798668789
- added player platform to game stats
2013-11-02 19:05:59 +00:00
Mark Vejvoda
1d3859ff32
- windows x64 updates to get things compiling on vc2012 x64
2013-11-02 11:04:52 +00:00
Mark Vejvoda
a061289c1c
added null check in case typedef foudn a bug
2013-11-01 21:47:14 +00:00