1
0
forked from mirrors/0ad

Commit Graph

  • c136848b74 Fix lineendings of new files and the ones in source/ that didn't receive the eol property yet. elexis 2017-10-26 17:03:29 +00:00
  • f6c2ea6b0e Move SimpleGroup and RandomGroup from placers.js to a new file, because they aren't Placers, refs #4804. elexis 2017-10-26 16:47:07 +00:00
  • 77f28c5a56 Remove SemiRandomElevationPainter from Pyrenean Sierra, which is a painful straight copy of the SmoothElevationPainter introduced in a796800bb1, refs #4805. elexis 2017-10-26 13:50:28 +00:00
  • 8d49497671 Replace SmoothElevationPainter 8/9 weights with 1, so that the elevation of a heightmap grid vertex is exactly the average of the new elevation and the average of the existing elevation of the 9 vertices that are the current vertex or adjacent to it. elexis 2017-10-26 13:25:51 +00:00
  • 40289e4a1a band-aid for a couple spartan building's garrison points. actual fixes still needed LordGood 2017-10-26 13:16:50 +00:00
  • 21ea4c3173 Do not use the spread operator in the AI euclidian distance helper function which made it 200 times slower, as reported. elexis 2017-10-26 12:56:51 +00:00
  • ed0fb223b2 Unify duplicate Breadth-First-Search traversing of the LayeredPainter and SmoothElevationPainter in a new helper function, refs #4805, making it much more comprehensible what each part does. elexis 2017-10-26 12:37:02 +00:00
  • 007748d9b3 Move ElevationPainter and SmoothElevationPainter constants above the SmoothElevationPainter, refs #4804 and define them, refs #4831. elexis 2017-10-26 11:51:54 +00:00
  • cb6c571c2d Fix bottom corners alignment in Modern dialog vladislavbelov 2017-10-25 20:53:40 +00:00
  • 7c89acc2ed Add rmgen Painter definitions, refs #4831. elexis 2017-10-25 13:56:46 +00:00
  • 6c9c9f728f Missing added files in 266ddfa8da. Noticed by Imarok. fatherbushido 2017-10-25 09:30:05 +00:00
  • 266ddfa8da Display fruit tree as fruit and not as wood on the minimap. Rework a bit inheritence of fruit tree and of wood bushes. The noticeable change is that fruit tree block movement as other trees. fatherbushido 2017-10-25 08:05:53 +00:00
  • c5ccdccfc4 seleucid elephant stable and carthaginian regular stable. fixed persian hay cart LordGood 2017-10-24 23:40:30 +00:00
  • 66a357f286 The server should choose the guid Imarok 2017-10-24 22:05:24 +00:00
  • 4e2866baeb seleucid,persian, and stan's iberian models, actors, and templates. persian ballista tower in there for a goof. little seleucid house edit LordGood 2017-10-24 13:49:39 +00:00
  • 5cc9e998e0 Remove abstract rmgen Terrain class that was inherited by SimpleTerrain and RandomTerrain. elexis 2017-10-24 03:24:05 +00:00
  • ba65661f3e Define rmgen Entity class, refs #4831. elexis 2017-10-24 03:09:42 +00:00
  • 86d3cdf2d5 Define rmgen Constraints, refs #4831. elexis 2017-10-24 03:06:05 +00:00
  • 0c9205e5b8 Fix missing [] to undefined replacement in b4503bb61e that was never noticeable because Terrain.place overwrites it on every tile of every map. elexis 2017-10-23 14:45:26 +00:00
  • 0ddfe51b55 Tweak a bit Scipio's aura radius. Patch by temple. Reviewed by Grugnas. fatherbushido 2017-10-23 14:05:07 +00:00
  • f55aac2521 Make the biome setting visible for mp clients. bb 2017-10-23 12:34:13 +00:00
  • 1a896f531a Add diskArea rmgen helper function and use it instead of Math.PI * Math.pow(radius, 2). elexis 2017-10-23 10:39:32 +00:00
  • 1dee1eced9 Remove rmgen euclidian distance helper function, refs 6590f301c2 / D969. elexis 2017-10-23 10:13:49 +00:00
  • 32812f0974 Add unit tests to the EntityLimits component. fatherbushido 2017-10-23 06:27:00 +00:00
  • 6590f301c2 Add Math.square to compute the square of a number without the need to repeat the term, without using the slower Math.pow. elexis 2017-10-22 20:46:41 +00:00
  • 67e27ed7ea Atlas: Cleanup horizontal alignment flags being ignored, fix warnings on a start. vladislavbelov 2017-10-22 20:09:28 +00:00
  • ad7d7ec1e9 Fix a disabled template manager test. fatherbushido 2017-10-22 15:39:50 +00:00
  • aeaf3d1f43 Persian range and Stan's Iberian stables. Template edited for Iberian range. LordGood 2017-10-21 21:12:23 +00:00
  • 56ba3e4416 Show stacktrace too in case custom JS exceptions are thrown. elexis 2017-10-21 20:38:10 +00:00
  • 3c2f5ca5a6 rework a bit D964 mimo 2017-10-21 19:05:52 +00:00
  • 6c5a8269f3 Fix some style issues noticed by our linter Imarok 2017-10-21 17:31:05 +00:00
  • 5f0a0fbbef Add id for IQ stanzas Imarok 2017-10-21 14:11:25 +00:00
  • 23893415d1 Unify trade gain computation between simulation and ai mimo 2017-10-21 08:40:11 +00:00
  • e5ec6d0bff petra: allow gatherers to switch to a nearer resource when slots become available mimo 2017-10-20 18:06:12 +00:00
  • 00ce80a1b8 Gamesetup unification variable renaming Imarok 2017-10-20 16:04:24 +00:00
  • 7e0b54a36b Fix collisions of random resources and starting base resources on the Corinthian Isthmus random map script, refs #4600. elexis 2017-10-19 22:52:23 +00:00
  • 11c52a255f few minor edits to the spartan range and workshop, added template tree for future ranges, stables, and workshops and assigned new actors to them LordGood 2017-10-19 21:41:25 +00:00
  • 2beea46de7 Revert a naked fanatic armor nerf done in 2e5138bad9. It has now the same armor as other champions but don't have the armor bonus of spearmen. Requested by Feldfeld, borg-, Grugnas. fatherbushido 2017-10-19 18:04:07 +00:00
  • b389c9f846 whoops! coulda sworn i had these checked. missing .dae files restored LordGood 2017-10-18 19:32:39 +00:00
  • fe1401ec3d Last of the Spartan buildings, wow's normal fix, and Stan's archery range LordGood 2017-10-18 18:34:11 +00:00
  • a37d8807f6 petra: some performance optimizations mimo 2017-10-18 17:45:04 +00:00
  • dc40f711db ai: remove some unused filter stuff + cleanup mimo 2017-10-18 17:00:38 +00:00
  • 99066df0c5 Unify beyond ridiculous Snowflake Searocks duplication gore, refs a9b963c3a5. elexis 2017-10-17 10:23:54 +00:00
  • d79fdd75df Unify duplicate Corsica & Sardinia island generation, refs 9016b8d866. elexis 2017-10-17 00:21:38 +00:00
  • 5b72870745 Enlarge default sidebar size, so everything is visible by default bb 2017-10-16 13:07:07 +00:00
  • 442e9a9184 corral and possible theatron fix? LordGood 2017-10-16 02:14:00 +00:00
  • dd03ec801f Fix wrong forest type replacement in the prior commit (376d8b3d1e). elexis 2017-10-15 19:27:24 +00:00
  • 376d8b3d1e Cleanup most createArea and some createObjectGroup calls in random map scripts. elexis 2017-10-15 17:53:12 +00:00
  • e396ff170e No need to create aura's rangequery when the aura is not applied mimo 2017-10-15 15:14:11 +00:00
  • 2cf88d79a4 Ranged auras not enabled (because of a tech requirement for example) should not be visualized mimo 2017-10-15 09:28:18 +00:00
  • 3242d5dae7 Spartan buildings LordGood 2017-10-15 04:00:27 +00:00
  • 8062b7fa6d Unify Cycladic Archipelago Island duplication in a helper function createCycladicArchipelagoIsland, refs #4805, ac4e25e17f. elexis 2017-10-15 01:18:59 +00:00
  • 6273d111fe Corsica & Sardinia cleanup. elexis 2017-10-14 21:04:29 +00:00
  • 4256744e26 Replace hardcoded trigonometry magic numbers on Corinthian Isthmus with a rotateCoordinates computation, allowing to change the river angle arbitrarily. elexis 2017-10-14 15:55:04 +00:00
  • 6656ec6de6 Remove about 360 unused variables in random map scripts, refs #4805. elexis 2017-10-14 14:25:53 +00:00
  • 8dc6ed427d Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). elexis 2017-10-13 21:56:45 +00:00
  • b8e9dbca0c petra: tune requirements when building defenses mimo 2017-10-13 17:59:30 +00:00
  • dcc7b1b056 Fix collisions of random forests and mines with starting resources on Cycladic Archipelago and the Lion's Den. Refs #4600. elexis 2017-10-13 14:56:44 +00:00
  • c965a7c723 Only close the diplomacy window on succesfull bribe Imarok 2017-10-13 10:58:29 +00:00
  • 3c285a5c54 Wrong FSM state when a unit is captured while unpacking during an attack mimo 2017-10-11 16:33:31 +00:00
  • b7bf55f054 Fix incorrectly replaced unrelated magic number in 3a1c5669f8, refs #4814. elexis 2017-10-11 15:04:22 +00:00
  • 024d0e8f34 Fix rmgen2 bug in 6d52a71d4a revealed by the 1* removal in a1949d0b86. elexis 2017-10-11 14:42:56 +00:00
  • 3a1c5669f8 Fix rmgen2 SimpleObject and RandomObject ignoring the 3 invalid map border tiles. elexis 2017-10-11 01:48:12 +00:00
  • 13b2858259 petra: remove a useless arbitrary historical classes separation mimo 2017-10-10 17:35:40 +00:00
  • a1949d0b86 Remove rmgen2 defautls that are and should always be given (that could have been inlined in the function header). elexis 2017-10-10 10:43:19 +00:00
  • 0517c34bc8 Delete an unneeded initForestFloor found by leper in 9e931b6fbe. elexis 2017-10-10 10:32:02 +00:00
  • 9e931b6fbe Remove confusing rmgen2 g_MapInfo and initMapSettings, fixes #4813. elexis 2017-10-09 21:21:35 +00:00
  • 87ff880445 fixed a few errors and complaints regarding new spartan structures LordGood 2017-10-09 19:42:10 +00:00
  • 6db2590858 Cache a list of TerritoryDecay components in the TerritoryDecayManager instead of retrieving it each time mimo 2017-10-09 19:38:56 +00:00
  • 49b7d6fb95 Test integer validation. fatherbushido 2017-10-09 07:00:31 +00:00
  • e63a938529 first commit for Spartan buildings LordGood 2017-10-08 17:06:31 +00:00
  • e18598cd62 Fix Vector.js rotate oversight in 7778a7b436 (this.x may not be modified before reading again and sin/cos should not be computed twice). elexis 2017-10-08 15:25:21 +00:00
  • 8bbe94c926 Add spies to the summary screen Imarok 2017-10-08 11:35:55 +00:00
  • 9885cc5b79 petra: tune the proportion of support workers mimo 2017-10-07 08:50:31 +00:00
  • b5e3b83c9e Add a TerritoryDecayManager component to update territoryMap with the blinking state when territories are recomputed. That's needed by the AI which was up to now not aware of blinking cells. mimo 2017-10-07 08:42:39 +00:00
  • af9c25f879 Fix option page tabs xml style. bb 2017-10-06 20:50:00 +00:00
  • 1fcdc3d7f4 Deepfreeze the map settings object (created from g_GameAttributes.settings by the gamesetup extending the map JSON data) to prevent random map scripts from unintentionally modifying that, refs #4257. elexis 2017-10-06 18:53:24 +00:00
  • a8b8a33c8e Remove unneeded waterheight init loop from River Archipelago (refs #4354, D467). elexis 2017-10-06 18:49:09 +00:00
  • 7778a7b436 Readability improvements of globalscripts vector.js. elexis 2017-10-06 18:20:57 +00:00
  • 99494251a1 Add test for globalscripts vector, refs #4427. elexis 2017-10-06 18:15:09 +00:00
  • 2f24006afb petra: rework the management of siege units in attacks, to remove some civ hardcodings + some cleanup mimo 2017-10-04 16:29:25 +00:00
  • 862fd197d9 some cleanups of ai and petra mimo 2017-10-02 17:49:27 +00:00
  • 35af7390c0 Fix Hierarchical Pathfinder out of bounds bug mimo 2017-10-02 17:44:23 +00:00
  • 10277d4ee6 Equal siege status bar sizes bb 2017-10-01 16:50:08 +00:00
  • 365dea222d petra: try to make a better use of ranged siege units mimo 2017-10-01 09:26:07 +00:00
  • fca5022f9b Tweak the decay special filter: decay time is set in the rubble template. Refs D938. fatherbushido 2017-10-01 05:38:45 +00:00
  • 0da0eaea3b Fix repair hotkey and remove build command Imarok 2017-09-30 22:04:24 +00:00
  • 7a5c5100c0 Allow command line options to start with - or -- Imarok 2017-09-30 16:12:18 +00:00
  • 9d232fd39a Domesticated animals shouldn't be visible in FOW Imarok 2017-09-30 16:10:13 +00:00
  • 8629b83ed9 Remove unneeded include. leper 2017-09-30 15:29:13 +00:00
  • 84674911cc Switch back to an unplaceable filter for templates. leper 2017-09-30 15:22:51 +00:00
  • 40cafe5049 Remove unneeded Vision and UnitMotion properties from gaia templates. fatherbushido 2017-09-30 14:57:12 +00:00
  • b78896dfa6 Make rubble non-decaying by default. leper 2017-09-30 13:50:39 +00:00
  • ff7511d9fc Move special_filter/ templates to special/filter/. leper 2017-09-30 07:14:35 +00:00
  • a85c532f8f Move formations/ templates to special/formations/. leper 2017-09-30 06:51:56 +00:00
  • 8c15a81c58 Removed health leftover from Seleucid wonder. fatherbushido 2017-09-29 18:52:05 +00:00
  • a9f95feb42 fix missing parenthese in 49758c8337 and some other minor changes" mimo 2017-09-29 16:58:25 +00:00
  • b1d71bfb43 Add a new function to emit a sound from a position not attached to an entity. Use it to improve the attack impact sound code and allow to emit that sound even if the attacker died meanwhile. Use the sound provided by Pureon for catapult. Fix #4779. fatherbushido 2017-09-28 19:26:07 +00:00
  • 49758c8337 petra: various minor fixes mimo 2017-09-27 18:58:51 +00:00
  • 995f9b5975 Northern lights river cleanup following 7d0cc59136. elexis 2017-09-27 14:35:46 +00:00