mathusummut
c15488a212
Full transparency support is now added
2018-06-21 19:57:44 +02:00
mathusummut
28636b07b9
Added getFactionName and translate LUA functions
2018-06-10 16:06:12 +02:00
mathusummut
1ea031b08e
Added isBuilding and setUnitProperty functions to LUA
2018-05-14 01:38:48 +02:00
mathusummut
d1acd87423
Now Lua can be used in scripts tag in faction tag in XML
2018-05-06 12:45:25 +02:00
mathusummut
35b7b1f1a6
Fixed the god-awful indentation
2018-05-06 00:01:36 +02:00
andy5995
31d91e8544
observers don't use a slot on maps [wip #13 ]
...
* This reverts part of 42541caab7d457d0c73f63ec6dc1e8816ceff704
* This fixes the bug from 42541caab7d457d0c73f63ec6dc1e8816ceff704
where if there 4 slots being used on a 4 player map, the game will crash
if an observer is in the 5th slot.
* The menu needs to be altered to accomodate the extra lines of text.
* There needs to be checks put in place so people in the extra slots can
only choose "observer" mode. If they choose a different faction, the
game will crash.
2018-01-24 02:40:44 -06:00
SoftCoder
26581a77d2
- first round of cleanup from cppcheck report
2017-10-09 19:09:36 -07:00
SoftCoder
102ca8f651
- Fixed issue# 135
2016-10-31 13:56:33 -07:00
SoftCoder
56494f3cd2
- finally fixing issue #102 (bad cell visible handling when fog of war turned off)
2016-05-27 16:15:27 -07:00
filux
bcb8d197d3
fixed some typos [ci skip]
...
https://lintian.debian.org/full/pkg-games-devel@lists.alioth.debian.org.html#megaglest
2016-02-19 21:17:31 +01:00
titiger
e4c2683e1d
fixed missing food for shared resource games on startup
...
To claculate limitResourcesToStore() we need to first load all factions.
Else we get wrong results for limitResourcesToStore(), and by this sometimes
no food on startup, depending on the setup.
2015-01-12 01:46:12 +01:00
titiger
bceb4286f8
render only resources of selected faction
...
When playing with shared team units but not with shared resources, only
the resources of the selected faction is shown now. With shared resources all
resources of the team are shown like before.
Rendering ressources with two lines stays like before showing all resources in
team mode!
2015-01-10 22:49:31 +01:00
titison
00d367b725
Resource Storage calculated on team basis
...
fixing a debt-bug with sharedResources:
https://forum.megaglest.org/index.php?topic=9616.0
2015-01-02 02:45:44 +01:00
SoftCoder
efa7cb0346
- bugfix for shared team resources
...
- added some new internal feature code to test auto updates for a future release
2014-12-30 12:16:35 -08:00
titiger
55a27b4c6b
every game initialized with a frame count>1 is a somehwo loaded game
...
This means the Fow needs to be set like it is inside a match.
2014-11-19 23:34:18 +01:00
titiger
5791f64829
Scenarios that pause the game in the beginning get no more black screen
2014-11-19 23:29:51 +01:00
titiger
25a8f44ee1
This fixes black background for loaded games which are paused
2014-11-19 22:43:45 +01:00
SoftCoder
39696b6a65
- added ability to share resources across same teams
2014-01-27 18:55:08 -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
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
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
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
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
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
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
1d3859ff32
- windows x64 updates to get things compiling on vc2012 x64
2013-11-02 11:04:52 +00:00
Mark Vejvoda
d2ba7b163b
a little refactoring of function names in language class
2013-10-29 06:13:38 +00:00
Mark Vejvoda
ad0fb1d6f7
cleaned up code based on feedback from cppcheck
2013-10-25 05:45:54 +00:00
Mark Vejvoda
83055456d2
- added more crc capture data to track down oos
2013-10-17 06:36:28 +00:00
Mark Vejvoda
9e60723296
revert most doubles back to float and truncate at 6 decimals
2013-10-03 00:17:51 +00:00
Mark Vejvoda
939e88ce38
- attempt to fix additional oos issues
2013-09-28 07:10:25 +00:00
Mark Vejvoda
3a6544a257
attempt for big cleanup of out of synch issues, please test!
2013-09-23 17:16:34 +00:00
Mark Vejvoda
0ead6a36dc
full support for translated techtrees
2013-06-13 08:55:48 +00:00
Titus Tscharntke
1f96dae8c7
tilesets can set default air unit heights
2013-06-13 07:34:32 +00:00
Mark Vejvoda
a8662c8b31
updated menus to display translated tech name
2013-06-13 01:37:15 +00:00
Mark Vejvoda
1e1676a34a
more render improvements
2013-06-12 06:14:55 +00:00
Mark Vejvoda
668b34db8e
more mad attempts to squeeze better performance
2013-06-11 06:44:26 +00:00