Commit graph

16064 commits

Author SHA1 Message Date
cybermind
7383712a0d [-] Fixed compilation for metaserver and in release mode 2013-04-30 17:33:12 +06:00
cybermind
b45c081b0b [+] Added information in help for new command line parameters 2013-04-29 19:31:19 +06:00
cybermind
9c15e7939b [+] Allow user to dump unit info in log using "-i" command line parameter 2013-04-29 19:22:59 +06:00
cybermind
befeb12084 [-] Correctly handle RegenerationRate modify in CclSetUnitVariable 2013-04-29 18:49:22 +06:00
cybermind
9a1f64f00e [+] Player can enable and disable asserts or debug messages. Use -a or -p command line options.
[-] Replaced RefsAssert by Assert
2013-04-29 18:46:12 +06:00
cybermind
2e5a50d7e4 [-] Fixed incorrect in-game screenshots in software mode 2013-04-29 16:29:27 +06:00
cybermind
75bf724a78 [+] Added Opponents field in CServerSetup 2013-04-29 16:26:50 +06:00
joris
d06e4a584a Replace CMap::ClearTile by Clear{Wood,Rock}Tile
Move MapField flags from tile.h to tileset.h
Add accessor for some CMapField members.
2013-04-26 15:04:33 +02:00
joris
be4b634e72 Clean up: Add const
Replace some code by more concise code.
2013-04-25 16:27:24 +02:00
joris
a1c9b4cebf Add helpers in script.cpp to get value inside table directly. 2013-04-25 15:57:02 +02:00
joris
c89449df41 Fix previous commits. 2013-04-24 14:17:40 +02:00
joris
8610491675 Rename some arguments of CTileset methods.
Change some methods of CTileset as private.
Move hardcoded getDefaultTileIndex into CTileset.
2013-04-23 22:49:57 +02:00
joris
69246a0896 Add class CTile : regroups CTileset::NumTiles Table, FlagsTable, Tiles into CTileset::tiles.
Remove useless code.
Fix minimap of Editor.
2013-04-23 15:45:52 +02:00
joris
41969f7e94 Remove duplicated test.
Some factorisation in map_wall.cpp
2013-04-23 10:36:10 +02:00
cybermind
4a37c36524 [+] Added particle drawing check 2013-04-22 19:40:31 +06:00
joris
4b744633a1 Some clean up and renaming of tileset.
Fix docu.
2013-04-22 14:34:27 +02:00
joris
afe6b7e8cc Move CMapField code into its own file. (and so remove map_save file) 2013-04-21 15:35:48 +02:00
joris
888fe50184 Remove dead code.
Fix docu.
Replace unsigned short *VisibleTable by std::vector..
2013-04-21 15:34:33 +02:00
joris
805ee08cdf Fix compilation under MSVC. 2013-04-21 10:35:10 +02:00
joris
4795c9570e Move more related stuff of tiliset into tileset.cpp
Remove CleanTileset since it is done in Map::Clean()
2013-04-21 10:09:30 +02:00
joris
c971512ce6 Fix crash when GameFont is not defined (f.e in main-menu). 2013-04-20 15:52:35 +02:00
joris
e8451ddea9 Remove unused growingTree.
make more CTileset member private
2013-04-20 09:33:37 +02:00
joris
5003649f64 Fix typo (case5) in QuadFromTile.
Fix CTileset::getTileNumber.
2013-04-19 19:25:02 +02:00
joris
2773438529 Add CTileset::getTileNumber and fillSolidTiles
cleanup editloop.cpp
Use loop.
2013-04-19 12:49:04 +02:00
joris
c348a93f61 Add CTileset::findTileIndex{,ByTile}.
Redisplay terrain names in editor in debug.
2013-04-18 20:00:32 +02:00
joris
cc5e73a31f Clean up tileset. 2013-04-18 12:01:21 +02:00
joris
8f06b9bf13 Clean up tileset. 2013-04-17 20:43:16 +02:00
joris
0a96f73811 Replace some raw arrays by std::vector. 2013-04-17 12:33:18 +02:00
joris
f48eb02fa5 Clean up tileset. 2013-04-16 19:55:29 +02:00
joris
ac760fba42 Fix warning for gcc.
Use a more generic way to choose colorIndex.
Add some comment.
2013-04-16 16:34:32 +02:00
cybermind
b7ee246ab8 [-] Fixed new UI colors drawing (to-do: need more generic way to specify colors) 2013-04-15 20:41:57 +06:00
cybermind
a4b526c42c [+] Added teleport spell 2013-04-15 20:39:16 +06:00
cybermind
87d7fa5a87 [*] Increased in-game notify message size fron 64 to 128
[-] Fixed bug with transparent 32bpp images in software mode
2013-04-15 19:39:36 +06:00
cybermind
ef2755a4e3 [+] Added SmokePrecision in MissileType to make smoke trails much smoother
[+] Added OnImpact lua callback in MissileType to make custom effects on missile impact
2013-04-15 19:36:06 +06:00
joris
b5028c1174 Remove Unit::Rs 2013-04-14 10:42:37 +02:00
joris
4cf60a5607 Add possibility to specify userDirectory via commandLine. 2013-04-14 10:42:04 +02:00
joris
c9d9d1723e Clean up: Remove unused arg from some functions.
Remove some useless cast.
2013-04-13 15:19:19 +02:00
joris
537acf8f38 Fix warning in release. 2013-04-13 15:19:01 +02:00
Kyran Jackson
35f512285b UI improvements. 2013-04-13 10:57:39 +10:00
joris
2c67ccb304 ReturnGoods without depot works in network too. 2013-04-12 18:12:26 +02:00
joris
53c91f39bb Fix compilation on x64 2013-04-12 17:18:31 +02:00
joris
4ae820929a All (de)serializations return size_t instead of unsigned int (Should fix compilation on x64)
Commit missing unit test file.
2013-04-12 15:58:50 +02:00
joris
b9b8ad8c82 Some renaming into network.cpp
Reordering some functions in network.cpp
Create some sub fonctions.
2013-04-12 15:38:58 +02:00
joris
a4a7241558 Fix warnings encountered by Julio (artofwar). 2013-04-11 13:14:29 +02:00
joris
e63f45b60a Move generic network statistic into CUDPSocket (and add more). (remove statistic not set).
Move NetworkTimeout into CNetworkParameter.
2013-04-11 12:19:16 +02:00
joris
a42cfaecab Rework InGame network messages.
Remove 'adjust' parameter of ChangeTeamSelectedUnits (always called with 0)
2013-04-10 19:39:52 +02:00
joris
39dec1df00 Remove CNetworkCommandQueue custom allocator.
use deque<T> instead of list<T*> for (Msg)CommandsIn.
2013-04-09 19:58:01 +02:00
joris
6b56c67135 Use GameNetCycle (GameCycle / NetworkUpdates) instead of GameCycle as index of NetworkIn, NetworkSyncSeeds, NetworkSyncHashs.
NetworkInSync is bool instead of int.
NetworkLags vlaue has been divided by NetworkUpdates.
2013-04-09 13:59:34 +02:00
joris
128c42210b Fix HandleSuicideClick over network. 2013-04-08 16:36:28 +02:00
joris
cdb606fae6 Move some network globals into a singleton.
Remove configuration from the command line of NetworkLag, NetworkUpdates.
2013-04-07 16:40:32 +02:00