1
0
forked from mirrors/0ad

Commit Graph

  • 0c058d7d05 AddSpy should always return something Reviewed By: fatherbushido Differential Revision: https://code.wildfiregames.com/D175 This was SVN commit r19253. mimo 2017-02-28 19:53:24 +00:00
  • e07b02980b Merge player caption and label in replay menu Imarok 2017-02-28 12:25:48 +00:00
  • cd1b190938 Some small replaymenu gui fixes Imarok 2017-02-28 12:06:37 +00:00
  • 39fcd1d031 Implement clientside kick/ban support for the lobby. elexis 2017-02-28 11:16:46 +00:00
  • e14ad3c771 Focus camera on the spy after bribing it. elexis 2017-02-27 21:14:47 +00:00
  • 52d5c62f61 Fix oversight in 5f8f7bae20 Imarok 2017-02-27 20:36:04 +00:00
  • d9d1f1bbeb Add spying to the game Summary: With c2d0327af9 we can now add spying into the game: you have first to research a tech (available in phase 3, espionage), and then you can bribe a random unit (defined as Bribable in its template) from a chosen player and share its vision during 15s. There is also an option in the gamesetup to disable this feature, analoguous to the treasure disabling option. In the current version, only traders (land and naval ones) are bribables. Reviewed By: Itms, elexis Differential Revision: https://code.wildfiregames.com/D117 This was SVN commit r19247. mimo 2017-02-27 18:17:40 +00:00
  • f3e4e619bc RangeManager returns Gaia entities in GetNonGaiaEntities refs #4495 Reviewed By: leper, elexis Differential Revision: https://code.wildfiregames.com/D164 This was SVN commit r19245. mimo 2017-02-26 10:26:35 +00:00
  • b6e9514029 Remove the (only) inconsistent UnitMotion walk speed entry in the civ specific unit templates (cavalry) and an unneeded one (ship). elexis 2017-02-26 07:27:16 +00:00
  • b062fbef17 Stop relying on the internal structure of the current Trader component. leper 2017-02-24 21:59:23 +00:00
  • 360ba27865 Cleanup of CCmprangeManager mimo 2017-02-24 19:15:54 +00:00
  • b6d2fad596 Petra: assign guards to the hero in regicide games Summary: Petra will assign military units as guards to the hero in the regicide victory condition, preferring any available Champion units. mimo 2017-02-24 18:26:53 +00:00
  • a0a0895a12 Pass some strings and a vector as const refs. leper 2017-02-24 17:02:10 +00:00
  • 1aa5ecb8a7 Remove entity if spawning fails. leper 2017-02-24 15:41:19 +00:00
  • b2c3fc83da Nuke session/utility_functions.js since the file is much shorter than the others and since the functions are not logically related. elexis 2017-02-23 23:34:35 +00:00
  • fb6e694fdd Show the tribute chat notification if a team member sends to another and if teams are locked. Fixes #4308. elexis 2017-02-23 19:35:55 +00:00
  • 2c86b54838 Remove non-functional shallow generation code from the Unknown random maps. elexis 2017-02-22 22:49:21 +00:00
  • 5e5b5be656 Improve component cache lookup performance slightly. leper 2017-02-22 19:27:58 +00:00
  • e1e4ef0370 Add UpdateAutoScroll calls to some events where they were missing. For example when deleting, cutting, pasting, autocompleting or doubleclicking text. Patch by Vladislav, fixes #4401. elexis 2017-02-22 15:28:09 +00:00
  • baea68def2 Copy the victory and defeat icons, so that they can be replaced easily by artists without changing the code or even looking at it. elexis 2017-02-22 03:50:05 +00:00
  • 3894902bec Check the capturePoint state when diplomacyChanged, fixes #4491 Reviewed by elexis mimo 2017-02-21 20:42:28 +00:00
  • 7536afe2ee Fix lineendings of new files added in recent months. elexis 2017-02-21 01:26:12 +00:00
  • fa257c285b Petra: cleanup of the gameTypeManager (follow up of a443bcfa65) Patch by Sandarac Differential Revision: https://code.wildfiregames.com/D149 This was SVN commit r19230. mimo 2017-02-20 18:13:04 +00:00
  • ef46059796 Splash Damage shape tooltip Imarok 2017-02-20 15:39:36 +00:00
  • d0224c913e petra: finetuning of builder number mimo 2017-02-19 16:06:07 +00:00
  • 997d0fb6ee petra: fix a bug preventing petra to build additionnal markets if its second market was destroyed while still a foundation mimo 2017-02-14 17:36:58 +00:00
  • a443bcfa65 Petra: assign guards to wonders in wonder games Patch by Sandarac Differential Revision: https://code.wildfiregames.com/D140 This was SVN commit r19226. mimo 2017-02-14 17:21:54 +00:00
  • e0f7578fbe Ensure unique client GUIDs. Patch by sbirmi, fixes #3949. elexis 2017-02-14 16:54:34 +00:00
  • e436af56ce Different description for African Plains by Hannibal Baraq. elexis 2017-02-14 10:51:16 +00:00
  • 0baf6d350a petra: be more incline to help an ally when getAlliedVictory and deposit resources (if any) before starting to build mimo 2017-02-13 16:19:12 +00:00
  • 9dea08d179 petra: improve the use of garrisoning Reviewed By: Sandarac Differential Revision: https://code.wildfiregames.com/D141 This was SVN commit r19222. mimo 2017-02-13 16:03:50 +00:00
  • 1179b6298c African Plains random map script by Hannibal Baraq (a.k.a. Hannibal Barca). elexis 2017-02-13 02:24:54 +00:00
  • 4d00643ee3 Allow Romans to build the sentry tower, revealing the new model from 5d4604e767. elexis 2017-02-12 19:04:20 +00:00
  • 50b5e4317f petra: fix a rare deserialization bug, when a dropsite change ownership between the last AI turn and the turn where serialization occurs (each AI is currently run only every 8 turns) mimo 2017-02-11 16:06:00 +00:00
  • 92164c8622 petra: remove a left over, used only for debug mimo 2017-02-11 16:00:08 +00:00
  • cc8f991e2a Reset the RallyPoint in case the building changes Ownership to Gaia, so as to prevent the execution of commands like gathering resources or attacking someone if the garrisoned building becomes destroyed. elexis 2017-02-10 18:47:25 +00:00
  • 5f8f7bae20 Stay ready button Imarok 2017-02-10 16:09:10 +00:00
  • 94b0e5c0f3 Reset ready state when non-observers join in gamesetup Imarok 2017-02-10 15:52:04 +00:00
  • 821657eff6 Correct siege wall icon Imarok 2017-02-10 14:29:15 +00:00
  • b20b8250a5 Fix three tech tree bugs, relevant for mods like Delenda Est. elexis 2017-02-10 14:04:55 +00:00
  • c53c2edbed Remove the second, confusing and non-promotable skirmisher cavalry template from the Seleucid faction (which was a duplicate from the persian template). elexis 2017-02-10 07:55:53 +00:00
  • 8a99e0d639 Rename wooden tower template to sentry tower. elexis 2017-02-10 07:02:45 +00:00
  • ecde67c19a Cleanup of GetBonusAttack function and use it inside petra simulation part reviewed by fatherbushido Differential Revision: https://code.wildfiregames.com/D138 This was SVN commit r19210. mimo 2017-02-09 20:20:59 +00:00
  • 689d5ed562 petra: improve the switch between attack and capture Differential Revision: https://code.wildfiregames.com/D133 This was SVN commit r19209. mimo 2017-02-09 18:41:03 +00:00
  • a82fe62747 Fix an ambiguity in the ai info text. mimo 2017-02-08 18:10:50 +00:00
  • f185817a1c This was SVN commit r19207. LordGood 2017-02-08 03:55:26 +00:00
  • d1e6205b70 Spy tech icon Pureon 2017-02-07 21:44:18 +00:00
  • 0e2d2610c9 Display a nice error message when trying to register too many lobby accounts (This is a workaround that will be removed when gloox has fixed the issue.) Imarok 2017-02-07 15:05:26 +00:00
  • 2fabe80b20 Increase catapult and bolt shooter health by factor 2.5 and 2 (as rams have 4 times that health and still vanish quickly enough when encountering sword units). elexis 2017-02-07 13:18:04 +00:00
  • 7487d27467 Fix infinite loop detection when placing players randomly on the newer random map scripts (and prevent them surely, not only almost surely). elexis 2017-02-06 23:21:39 +00:00
  • 20d34d4a97 Properly sort selected entities by owner Imarok 2017-02-06 22:17:21 +00:00
  • 5130bb69d3 Use std::time_t in the replay menu (as 64bit integer conversion are implemented now) and remove the unused filemoddate fallback. elexis 2017-02-05 02:18:33 +00:00
  • 39bb057ec5 Show the defeat/active state of players in the diplomacy window Patch by javiergodas, rebased and negative review by elexis. Fixes #4237. Imarok 2017-02-03 15:08:32 +00:00
  • 863b8da240 Fix GarrisonHolder wich doesn't start to heal garrisoned units when the related technology is researched. fatherbushido 2017-02-02 09:15:05 +00:00
  • 17b8e60cc7 Fix ProjectileSpeed entry in Attack schema fatherbushido 2017-02-02 08:32:57 +00:00
  • 223da5216b Don't increase entity limit counter when we upgrade to an entity with the same restriction category. fatherbushido 2017-02-01 16:35:08 +00:00
  • b052831529 Improve AI chat messages Gallaecio 2017-01-31 18:03:36 +00:00
  • 67b00a7232 Add a linear splash damage for boltshooters. Reviewed by elexis. fatherbushido 2017-01-31 14:46:57 +00:00
  • 79da98aa75 Remove all out-of-scope usages in binaries/data/mods/public/gui/common/functions_utility.js Imarok 2017-01-30 16:30:59 +00:00
  • 83a2e810da Remove all occurrences of for each in JS scripts. Itms 2017-01-30 12:47:08 +00:00
  • c0ca70efd2 Fix 64-bit integer script conversions by removing the discrepancy between Windows and Linux. Itms 2017-01-30 10:21:08 +00:00
  • 73bda917bb Cleanup of NASM. It has been unused for ages (153357f640) and we still have legacy code lines in our premake scripts. We also carry an unused binary for Windows. Itms 2017-01-30 09:19:59 +00:00
  • d183d1913d Nerf slingers, since infantry should not be able to destroy buildings easily, in particular in village phase. elexis 2017-01-29 19:01:01 +00:00
  • d2b9236388 Colorize the playername with rating in the lobby user profile Imarok 2017-01-29 17:31:18 +00:00
  • 584ccd690e Remove lib/pointer_typedefs.h. Patch by echotangoecho. leper 2017-01-29 00:06:28 +00:00
  • 6ae2db53db Employ some variadic macros to make some of the C++ -> JS function calling code nicer. leper 2017-01-28 23:37:15 +00:00
  • fd5bd8e301 Fix 9964bee5bb. elexis 2017-01-28 20:47:26 +00:00
  • 9a6c5eac60 Colorize playernames in the wonder victory time notification. elexis 2017-01-28 20:30:30 +00:00
  • a74fcdcb35 Durations over 1 hour aren't displayed correctly Imarok 2017-01-28 10:59:53 +00:00
  • 9b819645f5 fix typo in 82faae8637 mimo 2017-01-28 10:22:03 +00:00
  • c2d0327af9 Implement shared vision at the entity level mimo 2017-01-26 21:10:46 +00:00
  • ff743bc928 Reshuffling of AI management of territory maps Reviewed By: Sandarac Differential Revision: https://code.wildfiregames.com/D96 This was SVN commit r19174. mimo 2017-01-26 18:17:31 +00:00
  • 7b04c74043 Fix inconsistent disabled resign and pause button elexis 2017-01-26 00:22:38 +00:00
  • 9964bee5bb Change the NetServer Broadcast function to send the given message to clients that are in one of the states specified by the caller. elexis 2017-01-25 19:04:17 +00:00
  • f958c6a168 The rest of the structure icons upgrade by wowgetoffyourcellphone. Thanks! Enrique 2017-01-25 16:31:32 +00:00
  • 49d86dcd9f Fix a portrait icon reference. Accepted by Enrique. fatherbushido 2017-01-25 15:24:53 +00:00
  • d10f84a157 Improved structure icons by wowgetoffyourcellphone. Thanks! Enrique 2017-01-24 22:47:52 +00:00
  • 528f38f4dd Fixed ptolemaic skirmisher portrait as mercenary Fixed mauritarian archer portrait as citizen soldier Fixed judean slingers portrait as citizen soldier Thanks wowgetoffyourcellphone for the portraits! Enrique 2017-01-24 22:03:49 +00:00
  • 90e876f328 Some changes for Ptolemies. Allow training their new champion pikeman in the fortress. Train their heros in civic center instead of fortress. Replace the Nubian archer with the more historically accurate Cretan one. Train mercenary skirmisher at the civic center and the archer at the barrack. Accepted by scythetwirler and elexis. fatherbushido 2017-01-24 15:51:00 +00:00
  • 4f01db4831 Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. elexis 2017-01-24 02:04:50 +00:00
  • 43c7551202 fix a typo in 8adc6b0a04, noticed by Sandarac mimo 2017-01-23 22:33:21 +00:00
  • 8adc6b0a04 petra: cleanup and improve regicide support, patch by Sandarac, refs #4142 mimo 2017-01-23 20:36:12 +00:00
  • 5725542fc4 petra: respond to neutral requests from enemies, patch by Sandarac, refs #4431 mimo 2017-01-21 10:59:18 +00:00
  • 8fec942e8a Fix Atlas under macOS Sierra. wraitii 2017-01-21 09:54:08 +00:00
  • 8813888fe0 Color the garrison panel buttons more nicely Imarok 2017-01-20 11:16:20 +00:00
  • 0901167349 Remove an unused duplicated unit. Accepted by Itms. fatherbushido 2017-01-20 10:16:12 +00:00
  • be1a205f91 Add support for const methods in components and make those that can be const const. leper 2017-01-20 02:25:19 +00:00
  • 678e082230 Remove the "quit" simulation command and restrict the "set-shading-color" simulation command to AIs, elexis 2017-01-19 14:45:32 +00:00
  • 13529b04a3 Fix 03ecf8508f. Bug noticed by mimo. Some objects are not instance of Vector3D after deserialization. fatherbushido 2017-01-18 13:25:38 +00:00
  • 5c2495db52 Small improvement in Carthaginian normal map. Enrique 2017-01-18 00:51:07 +00:00
  • 3448a98d1f Remove three unused AI helper functions, likely remains of the AEGIS bot removed in 3f1db1ef01. elexis 2017-01-17 20:45:16 +00:00
  • c791b9ade3 Add the confirm hotkey to the prelobby window Imarok 2017-01-17 14:33:26 +00:00
  • 42204dce46 Cleanup of Batch training Imarok 2017-01-17 10:41:32 +00:00
  • b3b47c1718 Avoid recreating the dirtiness grid every turn by swapping. Significantly reduces the number of allocations, and slight speedup (particularly on larger maps). Reviewed by Leper. wraitii 2017-01-17 07:24:41 +00:00
  • 5f859c5784 Don't send MT_Attacked message when an ally help capturing back. fatherbushido 2017-01-16 14:17:38 +00:00
  • 03ecf8508f Remove a useless function in AttackDetection. Accepted by wraitii. fatherbushido 2017-01-16 12:19:38 +00:00
  • 0a6a42321d Improve cache efficiency of CcmpPathfinder::UpdateGrid substantially. On very large maps, this can be a very substantial improvement (I have measured up to 30ms) wraitii 2017-01-16 10:41:35 +00:00
  • ad76352cef Prevent the AI manager from copying the pathfindinder dirtiness grid every turn. wraitii 2017-01-16 08:38:31 +00:00
  • df1b542c5a CLeanup the nickNotify in gamesetup Imarok 2017-01-15 22:40:59 +00:00
  • 3a85d0b3fa Remove unused parameter from template loading code leper 2017-01-15 18:41:53 +00:00