1
0
forked from mirrors/0ad

Commit Graph

  • bebcd56a84 Leftover in fb6748d723. fatherbushido 2017-09-26 10:06:31 +00:00
  • fb6748d723 Use relative templates for unit speed. No significant value change. It makes balancing easier and will permit to change the speed of all units by changing one number. Refs #4352. fatherbushido 2017-09-25 18:27:18 +00:00
  • c6c02eb081 petra: refactor a bit the defense code to ease future changes mimo 2017-09-25 17:20:15 +00:00
  • 6b9acadda4 Match house obstructions visually and cleanup some related template data. bb 2017-09-24 16:15:13 +00:00
  • 026b04d345 Improve acoustic GUI notifications bb 2017-09-24 12:20:11 +00:00
  • b1f0bd2974 Resize storehouse so obstructions matches visually bb 2017-09-24 11:28:23 +00:00
  • 9c23af265a Align session panels bb 2017-09-24 10:13:34 +00:00
  • 12bd37f70b Revisit the random walk of animals mimo 2017-09-24 09:44:59 +00:00
  • d3301a6161 Fix division by zero in 0d0bc32736 and 25682da568 for the gulf map layout with only one player. elexis 2017-09-23 13:28:43 +00:00
  • 1f1a9ffbf1 Fix oversights in ba36f233fa (missing brace removal in latium) and 635e608776 (missing startAngle argument). elexis 2017-09-23 13:23:49 +00:00
  • 03862937a6 Removed stereo channel Pureon 2017-09-22 21:41:25 +00:00
  • 69ad6f9b97 Make corral obstruction and footprint match the actual building size. bb 2017-09-22 19:21:58 +00:00
  • 3fa38fe480 petra: some fixes in attacks (choice of target and withdrawal) mimo 2017-09-22 17:53:01 +00:00
  • 4e62ad38fe Remove some wrong references in root templates. fatherbushido 2017-09-22 16:58:31 +00:00
  • da03e1a528 Get rid of special_units templates for packable siege units. Refs #1718. fatherbushido 2017-09-22 16:11:45 +00:00
  • 3d95c43430 Add footprint and obstruction sizes in skirmish farmstead fixing 2e02c88d2c bb 2017-09-22 15:34:03 +00:00
  • 6c5b67e890 Some new siege projectile impact sounds Pureon 2017-09-21 22:40:39 +00:00
  • c1684ccd5f ConquestCritical consistency mimo 2017-09-20 18:00:20 +00:00
  • 11009c56b7 petra: do not try to defend some structures in blinking territories that the AI has no chance to defend. mimo 2017-09-20 17:54:53 +00:00
  • 2a46552c2e Fix a wrong sound file reference. fatherbushido 2017-09-20 13:04:16 +00:00
  • 123f732a15 petra: fix a bug when choosing the best unit for a given task, and cleanup a bit that function from unused stuff mimo 2017-09-19 20:30:10 +00:00
  • 7992277692 Delayed damage. When a projectile hits the ground, it makes its damage (or its splash damage) a specified time later. It can be use for grenades. Refs #1911. fatherbushido 2017-09-18 17:00:36 +00:00
  • 725aa8a686 Move damage types definition to a new helper similar to how resources are handled. leper 2017-09-18 16:33:56 +00:00
  • 2e02c88d2c Cleanup farmstead size related template data. bb 2017-09-18 12:21:02 +00:00
  • 1c47c5ad44 Rename cmpPosition's IsFloating to CanFloat. leper 2017-09-18 09:54:54 +00:00
  • b49ca424c7 Remove some leftovers in wonders templates. fatherbushido 2017-09-18 09:33:14 +00:00
  • 6ecba5025b Add test for height and water logic in Position component. Refs 38cca12ec6. fatherbushido 2017-09-18 08:46:11 +00:00
  • 38cca12ec6 Add float depth support to cmpPosition. leper 2017-09-18 03:55:33 +00:00
  • fd034c9bcd Use white text in the mod selection screen. Patch by Nescio. leper 2017-09-18 03:08:25 +00:00
  • b3db71aa63 Fix an issue with tests. Allow to mock several components for the system entity. Reviewed by leper. fatherbushido 2017-09-17 07:06:09 +00:00
  • 6f8dddef5a Tag exhausted resource as not available in ResourceSupply component. Fix #4507. Reviewed by leper. fatherbushido 2017-09-17 05:40:33 +00:00
  • 015f9bbf33 Remove a Brit fortress bonus. Agreed by scythetwirler. fatherbushido 2017-09-17 05:21:14 +00:00
  • e8ff10620b Add a generic healer hero template and make the mauryan healer hero inherit from it. Follow discussion with elexis. fatherbushido 2017-09-16 15:53:47 +00:00
  • 455ab4b9e2 Fix some format specifiers in debug strings. Reviewed by leper. fatherbushido 2017-09-16 15:28:01 +00:00
  • d970c5019a Remove some more recursive duplication in the rmgen library (painting terrain based on height). elexis 2017-09-16 10:28:49 +00:00
  • 0353b9ff49 Change comment for the MatchesClassList function so we can use it for other things aswell bb 2017-09-15 16:07:04 +00:00
  • bf5370ac02 Unify 34 copies of the civic center tile class setting of random map scripts. elexis 2017-09-15 03:52:50 +00:00
  • 7d0cc59136 Reverse engineer and unify the 14 copies of the river drawing random mapgen code. elexis 2017-09-15 03:24:35 +00:00
  • a507fe1101 petra: remove some unused code + some minor tunings mimo 2017-09-14 18:57:33 +00:00
  • e55c8bda07 Move placeable templates out of special/. leper 2017-09-13 01:35:20 +00:00
  • f6683fcbce Fix SpiderMonkey build on FreeBSD 12. Fixes #4765. leper 2017-09-13 00:10:27 +00:00
  • 189da09a7e Make FromJSProperty actually part of ScriptInterface. leper 2017-09-12 22:52:15 +00:00
  • 66bdc460f4 Cleanup damage type related code in cmpDamageReceiver and cmpDamage. leper 2017-09-12 22:18:45 +00:00
  • 2534010d0f Fix build without precompiled headers. leper 2017-09-12 22:18:39 +00:00
  • 3312a83f82 Don't overwrite invalid input in numeric fields of the options page following 7a157faf3c. elexis 2017-09-12 19:32:50 +00:00
  • a5b4dd3744 petra: take field diminishingReturns into account mimo 2017-09-12 17:26:23 +00:00
  • 96219942d2 petra: fix cases where UnitAI (because of autocontinue) would make the AI build some field foundations while it was not needed mimo 2017-09-12 16:47:30 +00:00
  • 486aec18d4 Move Main ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 03:11:33 +00:00
  • d6cb9c845b Move Debugging ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 02:25:28 +00:00
  • 921c5515a6 Move Simulation GUI ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 01:53:46 +00:00
  • 5f8be8e0c6 Move Game ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 01:38:46 +00:00
  • fa54a8cd65 Move GUI Manager ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 00:54:49 +00:00
  • 21f69ef574 Move networking ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-12 00:29:10 +00:00
  • 0e3a6d811c Move SavedGame ScriptFunctions to a new JS Interface, refs #4772. elexis 2017-09-11 23:22:28 +00:00
  • f1cc54cc18 Move GameView ScriptFunctions to its JS Interface, refs #4772. elexis 2017-09-11 23:03:27 +00:00
  • 4d931b57e9 Move ReadJSONFile and WriteJSONFile GUI ScriptFunctions that only handle VFS paths to the VFS JS Interface. elexis 2017-09-11 22:21:34 +00:00
  • e69a0fb9db Remove unused clumsy JS GUI ScriptFunctions debug timer from ed7b4b5fca. elexis 2017-09-11 22:08:54 +00:00
  • 8f05358b5e Template loading from the AI mimo 2017-09-11 16:23:54 +00:00
  • 57c8473783 Add ResourceSupply component unit tests. fatherbushido 2017-09-11 13:00:01 +00:00
  • ac0e6fd0d0 Pick the closest match for SimRates like 0.10000000149011612 in the session gamespeed dropdown and warn next time a value can't be displayed. elexis 2017-09-11 10:16:12 +00:00
  • 4541543f0e petra: another fix in foundation properties in view of https://code.wildfiregames.com/D639 mimo 2017-09-10 17:55:50 +00:00
  • 32d8283be1 Move the 12MB heightmap data from the JS code of _kali's 9 alpha 21 realworld maps to separate JSON files (following the new JSON function in 871ed04521). elexis 2017-09-10 15:54:26 +00:00
  • 97e1d002f1 Add two missing checks in the EndgameManager for players who already had won or were defeated in d2d43ab46f as reported by fatherbushido, refs #4382. elexis 2017-09-10 15:30:53 +00:00
  • 8e78a2ba0b Petra: fix in foundation properties when using https://code.wildfiregames.com/D639 mimo 2017-09-10 12:15:14 +00:00
  • 921630408d Create arrays with [], not new Array in random map scripts, as stated by the Coding_Conventions, elexis 2017-09-10 01:58:04 +00:00
  • 9750d09032 Fix oversight in 757b6efa43 (don't pick the "random" biome by chance when launching the game with a random biome), refs D852. elexis 2017-09-10 01:52:11 +00:00
  • f1e352927c Merge the 14 copies of the player placement code on river maps. elexis 2017-09-10 01:04:11 +00:00
  • 9119b663d8 Fix wrong comma in cc0d4f25da and a mismatched brace in ba36f233fa (hidden by the wrong indentation of a9b963c3a5). elexis 2017-09-09 22:57:46 +00:00
  • 635e608776 Unify 36 copies of the radial playerplacement loop of random mapscripts. elexis 2017-09-09 19:12:28 +00:00
  • 4477bcfb7e Replace 55 playerarray sorting loops copies with calls to two random mapgen helper functions. elexis 2017-09-09 16:49:35 +00:00
  • 7bc941cf62 Add Heal component unit tests. fatherbushido 2017-09-09 16:24:28 +00:00
  • 45bb3d2a43 Remove 23 copies of the random mapgen terrain init loop (including 16 copies of unused x and z vars). elexis 2017-09-09 15:30:44 +00:00
  • 4d22667ac9 petra cleanup mimo 2017-09-09 15:01:35 +00:00
  • ba36f233fa Remove 1400 useless random map script comments. elexis 2017-09-09 14:41:50 +00:00
  • 25282a5552 Petra: fix population bonus of foundation when using https://code.wildfiregames.com/D639 mimo 2017-09-09 14:38:40 +00:00
  • 5e019b5818 Don't use the default metal/stone mines of the random biome system in the independent heightmap library (following 7471a0db63) that is only used by a map that doesn't use the random biome system, revealed by cc0d4f25da. elexis 2017-09-09 14:34:15 +00:00
  • ab7089ad61 Command line option for pid+timestamp in OOS dump, mainlog and interestinglog Imarok 2017-09-09 13:16:05 +00:00
  • 84d2b89fef Fix missing conversion of biome environment constants in 871ed04521 as reported by fatherbushido, fixes #4766. elexis 2017-09-09 12:30:35 +00:00
  • 74bfe5fd55 Add biome descriptions. elexis 2017-09-09 00:10:08 +00:00
  • 339c1f2210 Add missing and remove redundant phase required technology entries from templates bb 2017-09-08 21:23:51 +00:00
  • 76a2cd43d0 Fix broken Autogarrison in 1638727c23 mimo 2017-09-08 18:04:19 +00:00
  • 1cdc8f1356 Mark simulation component template and entity properties as read-only in simulation tests (as they are in actual games). elexis 2017-09-08 04:22:53 +00:00
  • eb4e66aab3 Move VFS GUI script function registration to its interface file. elexis 2017-09-08 04:01:26 +00:00
  • 47ac189e62 Remove unnecessary, terribly named random biome getter functions. elexis 2017-09-08 03:26:06 +00:00
  • dcba05e881 Remove biome constants, so that mods can remove biomes without triggering reference errors, refs 871ed04521. elexis 2017-09-08 02:49:49 +00:00
  • a7d1cba47b Fix compulsory JSON syntax error. elexis 2017-09-08 02:44:23 +00:00
  • 871ed04521 Move biome definitions to JSON and JS files, so that mods can easily remove or add new biomes, refs cc0d4f25da. elexis 2017-09-08 02:15:54 +00:00
  • b4cf5d0a73 petra: further improve performance in structure placement mimo 2017-09-07 17:21:24 +00:00
  • cc0d4f25da Move random biome system to a separate mapgen library. elexis 2017-09-07 15:34:15 +00:00
  • e95f4e9744 Unify deepcopy and clone. elexis 2017-09-06 20:58:27 +00:00
  • e1bf09977c Fix the "Thermistocles" typo in the helmet prop file name. Refs 4d31ff14eb. Itms 2017-09-06 20:56:13 +00:00
  • f42205b2d7 Improve wolve target-finder performance bb 2017-09-06 08:59:56 +00:00
  • 63ca7ad672 Split VictoryDuration in RelicDuration and WonderDuration bb 2017-09-06 08:44:26 +00:00
  • a46b44e4dc Allow specifying the gravity affecting projectiles. leper 2017-09-06 00:23:13 +00:00
  • 154ff3c517 Factor out resource generation in cmpTrader. leper 2017-09-06 00:18:05 +00:00
  • 757b6efa43 Fix missing harbor and wild lake random biome implementation. elexis 2017-09-05 22:34:57 +00:00
  • 2c5a6052ea Allow selecting the biome on all maps that support the random biome system, refs D852. elexis 2017-09-05 16:16:25 +00:00
  • deba66c376 Allow arbitrary order between dropdowns and checkboxes in gamesetup bb 2017-09-05 15:58:21 +00:00
  • f2550705d3 Select the biome of the random map in the gamesetup. elexis 2017-09-05 12:57:22 +00:00
  • 38865845d3 Stop using postfix increment in a few places. leper 2017-09-04 22:00:04 +00:00