1
0
forked from mirrors/0ad

Commit Graph

  • 722578fdcd Cleanup the conquest code bb 2017-11-17 11:38:51 +00:00
  • b0bd645fbb Unify the other axis of the 8 remaining playerPlacementRiver calls following f1e352927c, refs #4805. elexis 2017-11-17 03:11:12 +00:00
  • eb96b61954 Add rotateAround Vector2D function. elexis 2017-11-17 00:10:29 +00:00
  • a2f7dba96c Move simulation test for approximate equality from e18598cd62 to the test setup, so that it can be reused. elexis 2017-11-16 23:54:38 +00:00
  • 05ea4c84d8 Unify 7 variants of the rmgen player line-positioning code, refs #4805. elexis 2017-11-16 17:54:38 +00:00
  • db9a52b94a Fix some unintended obliteration in efd9b3e212. elexis 2017-11-16 17:33:59 +00:00
  • 5cfd4382dd Delete unused "blank" random map script from 0e0ed94926 which doesn't have an accompanying json file either. elexis 2017-11-16 13:51:58 +00:00
  • 5256d8497e Survival Of The Fittest cleanup: elexis 2017-11-16 13:11:03 +00:00
  • 0a6d78ddd5 Allow loot to be modified by technologies and auras bb 2017-11-15 22:56:04 +00:00
  • 446889bc52 workshop repair aura mimo 2017-11-15 22:33:27 +00:00
  • 34d7477b5b petra cleanup following 77a2f484a2 mimo 2017-11-15 22:31:25 +00:00
  • 77a2f484a2 Rearrange tower templates bb 2017-11-15 21:16:17 +00:00
  • 013a93293b New bows and arrows for every civ ! Blendfiles are in the repo. Stan 2017-11-15 20:56:56 +00:00
  • 1447bfbd7c Workshop templates reorganization mimo 2017-11-15 18:44:23 +00:00
  • f5f094602f Fix typo in e596ef6011, fixes #4851. elexis 2017-11-15 18:38:18 +00:00
  • 93be4091cc petra: look for initial treasures at start game, sometimes needed on nomad maps to build the first cc mimo 2017-11-15 18:27:50 +00:00
  • 57e547bd32 Split vector test scopes to make it easier to add tests in between, refs 99494251a1. elexis 2017-11-15 12:47:48 +00:00
  • 260c78cc1a Fix an issue with the woman basket having a hole at the bottom. Use a different actor for gathering, as the previous basket was tilted on the wrong side. Slightly tweak the tip of the basket to look like there is a hole in it. Fix indent in the file. Stan 2017-11-14 20:31:25 +00:00
  • 62c8403eab Fix some SelectionGroupNames bb 2017-11-14 19:21:58 +00:00
  • 72e2d0440e Remove ram from fortress to let people in charge of balancing make the call on whether it should be added to the civ or not. Stan 2017-11-14 18:48:13 +00:00
  • 6b4d73f6df ai cleanup: move some functions from Entity to template where they should have been mimo 2017-11-14 17:38:05 +00:00
  • 15ff2f0ca9 unitActions is a global variable (unitActions --> g_UnitActions) Imarok 2017-11-14 13:43:14 +00:00
  • fb8aa3ef19 Not so small input.js (originally been batch training) cleanup Imarok 2017-11-14 13:30:01 +00:00
  • 3e9b7fa5fa New ram for Mauryans, by AlexanderMB, with a new icon. This mechanical unit is now trainable in the fortress. Stan 2017-11-14 12:53:45 +00:00
  • 72e2cbeb3a Fix Ptolemy catapult packing entity mimo 2017-11-13 17:55:24 +00:00
  • d53cde2c8c New Brittonic workshop + compressed blendfile with packed textures Reviewed by LordGood Stan 2017-11-12 21:28:31 +00:00
  • 68996d5749 Remove some specific useless specific names from my previous commits Stan 2017-11-12 21:25:43 +00:00
  • 62f07098ea Introduce a new hotkey to order only one unit from the current selection. wraitii 2017-11-11 17:20:37 +00:00
  • 82d6256171 Silence build output with third-party libs on Unix during Jenkins builds. Itms 2017-11-11 16:21:30 +00:00
  • a39aae833b Tidy up rmgen point location randomization and retry loops. elexis 2017-11-11 14:54:10 +00:00
  • f60f58d3d6 Use the rangeManager's subdivisions in the obstruction manager shape tests wraitii 2017-11-11 11:14:39 +00:00
  • c56f0976bd Unify rmgen modifyTilesBasedOnHeight (d970c5019a) with the HeightPlacer (24f02d97eb). elexis 2017-11-10 22:29:04 +00:00
  • 8eb7aa368b petra: remove an old hack against rabbits as its template was modified some time ago mimo 2017-11-10 17:37:30 +00:00
  • db1d94bad0 Further clarify geometric meaning of the river painting in a9b963c3a5 and e596ef6011. elexis 2017-11-10 17:17:59 +00:00
  • d33130d8d6 Prevent the mountains on the Unknown map variant "Passes" from becoming passable to only one player. Fixes #4060. elexis 2017-11-10 15:37:21 +00:00
  • 54460e926b Fix straggler trees on Phoenician Levant following ac8f4f49fc and remove two unused variables. elexis 2017-11-10 13:19:53 +00:00
  • ae74075a22 Rename TriggerHelper.EntityHasClass to TriggerHelper.EntityMatchesClassList bb 2017-11-10 12:14:16 +00:00
  • ea404a8825 Credit mmayfield45 for the Ardennes Forest map from 9272153ee7 after the JS note was removed in 62b7c07353. elexis 2017-11-09 22:19:53 +00:00
  • e596ef6011 Extend the random map river algorithm (7d0cc59136) to allow arbitrary start and end points. elexis 2017-11-09 19:08:31 +00:00
  • b3dbcc457b Add Vector3D crossproduct and Vector2D perpendicular function. elexis 2017-11-09 19:04:39 +00:00
  • 8ee600b979 Carthaginian range, workshop, elephant stable, mauryan stable, babylonian defense tower LordGood 2017-11-08 22:24:51 +00:00
  • a35da35c33 "Remove History string wrongly re-added in previous commit and height tag, which is inherited from the parent template" Stan 2017-11-08 22:00:11 +00:00
  • 28b2bd9d03 New Brittonic storehouse + compressed blendfile with packed textures Reviewed by LordGood & Enrique Stan 2017-11-08 21:31:54 +00:00
  • aa6617f431 Removes a buffer_zone from the game speed dropdown, introduced in 16de5c75ac vladislavbelov 2017-11-07 23:13:42 +00:00
  • 34557b5bb8 petra: few tunings mimo 2017-11-07 19:11:06 +00:00
  • dcdc89056f remove town_phase from crannog techs as this tech is required to build the crannog, and that gives a weird structree mimo 2017-11-07 17:36:45 +00:00
  • efd9b3e212 Obliterate Unknown (0d0bc32736), Unknown Land (25682da568) and Unknown Nomad (7f8adcf8cb) triplication of doom, fixes #4317. elexis 2017-11-07 17:11:51 +00:00
  • 280a797620 Fix reference error in cfdd37f6d9 by computing that value independent from prior code. elexis 2017-11-07 16:20:43 +00:00
  • 680186478e New Brittonic range + compressed blendfile with packed textures Reviewed by LordGood Stan 2017-11-06 22:40:03 +00:00
  • 75c479d3cb Unify Caledonian Meadows and Wild Lake player location duplication from ca654e3f79 / 8d4af29faf, refs #4805. elexis 2017-11-06 13:51:43 +00:00
  • 6fb6a65fc5 Move rmgen player location functions from library.js to player.js, refs #4804. elexis 2017-11-06 13:40:10 +00:00
  • df14c914e6 Move starting player entity rmgen functions from misc.js to a new player.js, refs #4804. elexis 2017-11-06 12:17:56 +00:00
  • a10b8e16c2 New Brittonic stable + compressed blendfile with packed textures Reviewed by LordGood Stan 2017-11-05 22:51:58 +00:00
  • 567c485d92 petra: fix 86b9159609 (typo and deserialization) mimo 2017-11-05 21:08:37 +00:00
  • b1e8036f35 Cleanup gate locking GUI code of 013ab4bda7. elexis 2017-11-05 16:59:09 +00:00
  • 6a890127f6 Unify 5 copies of the tributary river placement code, refs #4805. elexis 2017-11-05 15:51:40 +00:00
  • cfdd37f6d9 Move landscape generation functions from misc.js to gaia_terrain.js, refs #4804. elexis 2017-11-05 13:56:21 +00:00
  • 86b9159609 petra: revisit the management of constructions for better performances and cleaner implementation mimo 2017-11-05 13:56:16 +00:00
  • 4562bc998c Fix wrong dock owner (off-by-1) in Migration in 376d8b3d1e, fixes #4837. elexis 2017-11-05 11:06:26 +00:00
  • ac8f4f49fc Delete the remains of rmgen/utilityfunctions.js, refs #4804 by cleaning up the createForests function. elexis 2017-11-04 13:04:54 +00:00
  • 822e37f70c Remove references from the random mapgen library to terrain globals of maps. elexis 2017-11-04 11:17:23 +00:00
  • 17b50a2aa7 Remove duplicated builder list. fatherbushido 2017-11-03 17:23:44 +00:00
  • 22d1481cf5 Template organization: move some structures from other/ to structures/ Patch By: Nescio Differential Revision: https://code.wildfiregames.com/D1002 This was SVN commit r20403. fatherbushido 2017-11-03 11:00:07 +00:00
  • 4104bf6ce0 Fix a typo. fatherbushido 2017-11-03 10:22:27 +00:00
  • 886096e215 Use @file JSDoc tag for the rmgen library, so that these comments are distinguished from block tags about globals, refs #4831. elexis 2017-11-02 17:35:19 +00:00
  • 2ead236afe petra: allow elephant stables for all civs, and some internal cleanups mimo 2017-11-02 16:16:11 +00:00
  • bff1f33bfd template organization: elephant stables mimo 2017-11-02 15:58:19 +00:00
  • 63e77de94e Use only one coordinate system for locations in the rmgen system. elexis 2017-11-01 22:59:27 +00:00
  • 1f36686e6c Move checkIfIntersect and distanceOfPointFromLine from misc.js to math.js (because the latter should only contain terrain and entity placement utilities), refs #4804. elexis 2017-11-01 22:30:03 +00:00
  • c7fee7f04f Remove wrong tension comment from a482f7bc1e and mention that this functon can compute a cardinal spline. elexis 2017-11-01 16:02:08 +00:00
  • de1bb8a766 Move out of world promoted, packed and upgraded entity as they are not destroyed immediately. So they don't interact with the 'physical' world. Refs #4595. fatherbushido 2017-11-01 14:55:18 +00:00
  • 502ebdbe42 Adapt trade gain normalization to map size (increased on small maps and decreased on large maps), and slow down the increase of the gain at very large distances. mimo 2017-10-31 17:52:08 +00:00
  • bbac905de8 petra cleanup mimo 2017-10-31 17:43:28 +00:00
  • 4b0709c00c petra: allows stables and siege workshops build orders for all civs mimo 2017-10-31 17:24:56 +00:00
  • f41a9bb2c4 rmgen cleanup. elexis 2017-10-31 14:11:09 +00:00
  • cdb8bd2100 rmgen cleanup. elexis 2017-10-31 13:42:56 +00:00
  • cba0022560 rmgen cleanup. elexis 2017-10-31 13:06:15 +00:00
  • a19aaed550 Move catafalque relic templates from the "other" directory to the regular units directory. elexis 2017-10-31 11:44:24 +00:00
  • a482f7bc1e Extend the cubicInterpolation function to consume a tension argument allowing to modulate the smoothness of the interpolation. elexis 2017-10-30 20:43:01 +00:00
  • 71a5ebe1c9 Adds a missed initialisation in 7e239f38a3. vladislavbelov 2017-10-30 19:32:16 +00:00
  • 7d1f56e617 Migrate to premake5, fixes #3729. Itms 2017-10-30 13:52:05 +00:00
  • 7e239f38a3 Adds a wireframe mode to the water rendering. vladislavbelov 2017-10-30 00:02:29 +00:00
  • 38d09ce35c Adds a perspective matrix, refracts a matrix projection setup to prepare for an isometric view. vladislavbelov 2017-10-29 23:41:59 +00:00
  • cd1b40f295 Consistently use utf8 instead of iso-8859-1 encoding in XML files. elexis 2017-10-29 17:18:32 +00:00
  • 2374c0bc10 New unit selection textures for the healer and mods/future usage. elexis 2017-10-29 14:10:38 +00:00
  • c4cf9efad0 Add a unit test to EntityLimits component. Refs 1f10d2a711. fatherbushido 2017-10-29 08:06:45 +00:00
  • 1f10d2a711 Fix an issue with upgrade and entity limits. fatherbushido 2017-10-29 08:03:43 +00:00
  • f5b978f5c2 Document the rmgen Map class, refs #4831 (excluding the height handling which needs revision and functions that should be relocated). elexis 2017-10-29 06:25:06 +00:00
  • 5c0c11b20a Construct the final object containing the random map data in ExportMap passed to the engine in place instead of scattering that in multiple functions of multiple files. elexis 2017-10-29 05:29:04 +00:00
  • 7b93690c76 Fix few typos found with the Debian lintian tool. elexis 2017-10-28 22:34:57 +00:00
  • 3647200e8f Remove min/max mapsize constants from the rmgen library, refs #4034. elexis 2017-10-28 17:37:09 +00:00
  • c72d2b6dc0 Allow attack and attack_impact sounds for multiple attacks bb 2017-10-28 16:52:37 +00:00
  • b856281197 Alpha 12 version of Premake 5, including prebuilt binary for Windows. Itms 2017-10-28 16:10:49 +00:00
  • e87517be69 Add our script for building patches with Jenkins to version control. Itms 2017-10-28 15:54:44 +00:00
  • 7e0d19cd7a Linting with Coala. Itms 2017-10-28 15:30:37 +00:00
  • 1033e105f0 Tweak a bit citizen cavalry costs. Follow the same infantry vs cavalry policy as for champs and heros. Motivations are: infantry vs cavalry consistency (from the abstract unit role point of view), preventing some unbalances, enforcing a more realistic infantry vs cavalry ratio in game. fatherbushido 2017-10-28 10:33:01 +00:00
  • f5375cbcb9 Delete _kali's Alpha 21 maps since it is not certain that they are not derived works, refs D957, 33e3e6c2ab, 34c26767ca, f61f051d74, c70975b116, a68881dd0f, 64b1da0ddf, 127ca4e177, #4226. elexis 2017-10-27 19:26:46 +00:00
  • 24f02d97eb Move the HeightPlacer from the Schwarzwald map (49194819f6) to the placer library, refs #4804. elexis 2017-10-27 15:32:22 +00:00
  • 6677f2bfe1 Rename placer.js to placer_centered.js and pathplacer.js to placer_noncentered.js, refs #4804. elexis 2017-10-27 12:40:30 +00:00
  • 93b2211d17 Move SimpleObject and RandomObject from placers.js to a new file, because they aren't Placers, refs #4804. elexis 2017-10-26 23:51:54 +00:00