Commit Graph

  • e1bde4c337 Fix tests following 945d1ba2e6 wraitii 2019-07-14 14:57:38 +00:00
  • 4f62cc3ee7 Remove the unused variable proto from the ComponentManager in e9e05f4efc. elexis 2019-07-14 14:13:15 +00:00
  • 945d1ba2e6 Fix IDLE-related infinite loops by moving stateful calls to IDLE.timer. wraitii 2019-07-14 11:40:27 +00:00
  • b43904aae1 Unit Motion - optimisations to avoid recomputing paths too often wraitii 2019-07-14 11:08:15 +00:00
  • 5c642611c4 Vertex pathfinder - fixes to quadrant optimisation to ensure units don't take detours around obstructions. wraitii 2019-07-14 10:19:18 +00:00
  • d0e6111ea1 Enable eslint rule no-floating-decimal and remove all superfluous floating decimal points. elexis 2019-07-14 10:03:10 +00:00
  • e53fb0a8d7 Make sure hunting units don't forget about the initial herd position (fix for 8a38cfb7cf) wraitii 2019-07-14 09:38:17 +00:00
  • 69f7a48dd9 Fix UB following 57362f7fa3, which could cause a crash when serialising. wraitii 2019-07-14 09:24:37 +00:00
  • 5fe08f1471 Actually use variable added in 80d9a44ab5. Refs #5501. historic_bruno 2019-07-14 05:15:51 +00:00
  • 80d9a44ab5 Fixes #5501 null pointer exception in AtlasUI on Windows. historic_bruno 2019-07-14 05:02:43 +00:00
  • 7300dd186e Cleanup MapGenerator.cpp, use VfsPath, create RegisterScriptFunctions, add header comments, register TERRAIN_TILE_SIZE directly. elexis 2019-07-13 21:41:09 +00:00
  • e06285279a Vertex pathfinder: add the domain edges back to improve behaviour (reverts c42160ec10) wraitii 2019-07-13 16:01:10 +00:00
  • 055c848c1a Unit Motion - improve PathResult/Obstructed move handling wraitii 2019-07-13 15:53:21 +00:00
  • 3823023434 Sync trader_cart_idle Animation with the horse idle animation lenght in order to work properly. Alexandermb 2019-07-13 14:37:24 +00:00
  • ac5b7fdc34 Add periods and caps to the JSDOCs in Damage.js bb 2019-07-12 19:39:18 +00:00
  • 3c2f15ee8b Fix lineendings. elexis 2019-07-12 17:40:40 +00:00
  • d5a3437882 Unify the magic number indicating the number of impassable tiles at the map edge redundant in the Pathfinder, RangeManager and MapGenerator. elexis 2019-07-12 16:38:51 +00:00
  • dcf5bad7fd Unit motion - Check the return value of ComputeGoal and handle failure cases wraitii 2019-07-12 16:16:13 +00:00
  • a573460c65 Updates library LICENSE.txt for libsodium and macOS patches historic_bruno 2019-07-12 15:25:12 +00:00
  • 57362f7fa3 UnitMotion - remove m_PathState, which is redundant with other variables. wraitii 2019-07-12 14:49:32 +00:00
  • 1ecac53a38 Fixes GnuTLS build on macOS. historic_bruno 2019-07-11 21:48:50 +00:00
  • 1918fd11d4 fixing Build atlasUI inside xcode missing libpng, libjpeg trompetin17 2019-07-11 16:13:57 +00:00
  • e674da7e5e Unit Motion - Remove m_FinalGoal in favour of recomputing when necessary. wraitii 2019-07-10 18:57:53 +00:00
  • 54f7a09a54 Unit Motion - make sure units that die while moving don't keep their obstruction wraitii 2019-07-10 18:43:21 +00:00
  • bbc2e84160 Unit Motion - combine Goal computation logic from MoveToPoint and MoveToTarget wraitii 2019-07-10 18:41:17 +00:00
  • 7d610d3412 Remove redundant checks in HandleObstructedMove performed already by PathResult wraitii 2019-07-09 19:59:43 +00:00
  • 4ca448a686 Fix Formation walking / other orders with the new UnitMotion wraitii 2019-07-09 19:58:44 +00:00
  • a1dc9cadd8 UnitMotion / AI - remove the special 'move' animation, make UnitMotion inform the visual actor directly. wraitii 2019-07-09 19:56:28 +00:00
  • 09e129bce2 Adds an tool to pick water high by terrain click in Atlas. vladislavbelov 2019-07-09 18:16:55 +00:00
  • 8a32b0b3d4 Fix some gcc 8 and gcc 9 compiler warnings that were thrown 4500 times. elexis 2019-07-09 00:18:48 +00:00
  • 7cf6244110 Formation animation refactor - use animation variants instead of special move override. wraitii 2019-07-08 18:23:44 +00:00
  • 3c3f85ce98 Unit Motion - remove m_State wraitii 2019-07-08 18:09:21 +00:00
  • 54ffd9df94 Various Unit AI fixes following UM / UAI changes wraitii 2019-07-08 18:06:37 +00:00
  • 01161e3451 Fix build without precompiled headers following the Atlas UTF8 fix in 800bf0da24 and ThreadUtil include removal in ba736916fc. elexis 2019-07-07 21:52:52 +00:00
  • 61a346e55b Add damage container also in the examples, following f4babd9b34 bb 2019-07-05 18:15:42 +00:00
  • a70374b1da Improvements to gather order when out or resources and fix 8a38cfb7cf wraitii 2019-07-04 19:55:09 +00:00
  • da2f644428 Adds a possibility to disable saving of replay in autostart mode. vladislavbelov 2019-07-03 21:36:40 +00:00
  • 99a341f379 UnitMotion - account for target's movement in ComputeTargetPosition (improve chasing behaviour). wraitii 2019-07-03 18:09:31 +00:00
  • 58018a1056 UnitMotion - rename CheckTargetMovement to PathingUpdateNeeded for clarity, and improve the logic. wraitii 2019-07-03 18:06:53 +00:00
  • f990cd2381 Ensure units do get in attacking range since that range can change over time because of elevation differences. wraitii 2019-07-03 18:05:11 +00:00
  • 8a38cfb7cf Return Gathering to A23 behaviour - Make units try to gather near the target resource's position instead of their position. wraitii 2019-07-03 17:57:16 +00:00
  • 5fef05d780 UnitMotion - make ComputeTargetPosition return a position for point goals wraitii 2019-07-02 07:29:31 +00:00
  • 5568bd4c16 UnitMotion - Explicit handling of movement errors (such as target death) in Combat.Approaching wraitii 2019-07-02 06:49:27 +00:00
  • ff9d162c8c Make sure states are exited if the movement update fails. wraitii 2019-07-01 19:51:21 +00:00
  • 44aef27b78 Adapt unitMotion to edge-edge distance checks. wraitii 2019-07-01 19:50:06 +00:00
  • d2c88acf44 Fix 3e43ddd869: s/target/this.gatheringTarget wraitii 2019-07-01 19:02:00 +00:00
  • bdb742488a Cleanup UnitAI's FaceTowardsTarget function and allow units without a unitMotion in that. bb 2019-07-01 12:32:57 +00:00
  • 3a77eb25d3 Fix ESLint semicolon-related warnings bb 2019-07-01 11:09:19 +00:00
  • b20f357764 Don't use the opposite edge in UnitAI range checks. wraitii 2019-06-30 19:05:04 +00:00
  • 69d3e76fd2 Unit Motion - Stop when targets have an invalid position. wraitii 2019-06-30 19:00:27 +00:00
  • 3e43ddd869 Fix 0b41e8ee61, make units again properly hunt animals that died in FoW. wraitii 2019-06-30 18:55:26 +00:00
  • f42d97c6f3 Fix some animals "roaming" state not working correctly (units seem stuck in place) wraitii 2019-06-30 18:53:25 +00:00
  • a7573ae911 Fix IsInjured overwrite in 56ed4c1dc8 wraitii 2019-06-29 19:42:58 +00:00
  • 56ed4c1dc8 Fix IsInjured call on miraged entities. wraitii 2019-06-29 17:17:07 +00:00
  • 445a5d8855 Clean up technologie data files: bb 2019-06-28 15:58:21 +00:00
  • 6cde90104a Update precompiled win32 libogg to 1.3.3 and libvorbis to 1.3.6, building them with VS2015, refs #5379. Itms 2019-06-27 22:36:04 +00:00
  • 8babfe2330 Refactors camera projections - makes projection functions of camera more clear. vladislavbelov 2019-06-26 22:54:05 +00:00
  • ec4d84c72f Removes unused and obsolete LightingModel. vladislavbelov 2019-06-26 22:30:23 +00:00
  • 3b77a0fba1 Update the minimap, range overlay renderer, and status bars when a player's color is changed in Atlas. vladislavbelov 2019-06-26 19:16:57 +00:00
  • da13a6c734 Fix missing slash in common-api of entity. The mistype was introduced in c1e86161b5. vladislavbelov 2019-06-26 18:04:33 +00:00
  • 352ce9b41c Add the new keyword for BigTiger's maps. Stan 2019-06-25 21:08:29 +00:00
  • fe2bb77e0f Skybox calculation - fix regression of 9376609ee8 introduced in 01a8138780 wraitii 2019-06-25 19:23:57 +00:00
  • 47256dca84 Add Krinkle to 0 A.D.'s programming credits wraitii 2019-06-25 19:22:46 +00:00
  • 844462b0c0 #5445 trompetin17 2019-06-25 05:05:06 +00:00
  • 3573c87fc8 Makes rendering helpers (culling camera, frustums) be available through the developer overlay. vladislavbelov 2019-06-23 20:17:44 +00:00
  • 98f6866814 Remove two duplicate textures and models. They were incorrectly added in 4981cdedad in the flow of new objects. Stan 2019-06-22 20:50:47 +00:00
  • abc0beb07d Teak, dragon bamboo, scaled down some baked normal and ao maps larger than the base map, minor edits to areca palm LordGood 2019-06-19 08:16:38 +00:00
  • 1c4de428cb may have forgotten an actor file, also areca palms LordGood 2019-06-18 17:57:13 +00:00
  • b77336b491 bananas and strangler figs LordGood 2019-06-18 16:04:28 +00:00
  • 6d0a91a886 Fix a little glitch on the Athenian storehouse. Stan 2019-06-18 12:14:54 +00:00
  • 44d699b432 Remove three unused capes. Stan 2019-06-18 09:34:15 +00:00
  • afca278486 Improve starting position camera for Oceanside (2) Patch by: BigTiger This was SVN commit r22387. Stan 2019-06-17 22:34:41 +00:00
  • 4ac8ea7989 3 New temperate maps by BigTiger. Stan 2019-06-17 18:24:09 +00:00
  • 0df4d130cf New particle actors by BigTiger. Stan 2019-06-17 18:23:41 +00:00
  • 1d841a71fe New terrain textures by BigTiger for the temperate biome. Stan 2019-06-17 18:23:16 +00:00
  • 4981cdedad New bushes, trees (Oaks, firs, Birch) by Big Tiger, as well as new cliffs, and decals. Stan 2019-06-17 18:22:07 +00:00
  • 4967d176b9 Define variables before mentioning them in scripted component tests, and add a linter rule for this. Itms 2019-06-16 20:48:28 +00:00
  • f4babd9b34 Wrap damage types in a Damage element in XML templates to prepare for genericizing them. wraitii 2019-06-16 17:08:27 +00:00
  • 61db02790c Fix cppformat failures on MacOS tests. wraitii 2019-06-16 15:25:17 +00:00
  • 9e8a43401e fixed anomaly in doum palm LordGood 2019-06-15 19:43:22 +00:00
  • 7a25c9e88e Holly oaks, fixing some weird normals on the atlas cedar, and a few edits to the quarry stone and texture maps I don't remember doing, but I can trust past me to have made good decisions, right? LordGood 2019-06-15 19:00:12 +00:00
  • 190f8d3566 Calculate entity limit counts correctly when SpawnUnits fails in ProductionQueue. wraitii 2019-06-15 17:27:24 +00:00
  • 5992943f43 Fix resource-returning order sometimes not working correctly (introduced by 0c20afdfda) wraitii 2019-06-15 15:07:27 +00:00
  • d1fb66d2a7 Cleanups BoundingBoxAxisAligned and fixes coding styles a bit. vladislavbelov 2019-06-12 20:23:14 +00:00
  • 3e53d05298 Fixes includes and forward declarations in CPatchRData. vladislavbelov 2019-06-12 20:03:22 +00:00
  • 2bcf4f678b Refactors Developer Overlay using an object instead of global functions. vladislavbelov 2019-06-12 19:21:44 +00:00
  • 63e1c9ff1a Fix typo in 0b41e8ee61. wraitii 2019-06-11 20:09:40 +00:00
  • 0b41e8ee61 Fix leftovers from 0c20afdfda - improve repairing, chasing and fleeing behaviour. wraitii 2019-06-11 20:06:25 +00:00
  • 98f609df1d UnitMotion - Change "Possibly At Destination" logic. wraitii 2019-06-11 19:52:40 +00:00
  • 8ac104b07a Fix 'gliding' behaviour at the end of movement by moving the PossiblyAtDestination check earlier. wraitii 2019-06-11 18:51:55 +00:00
  • f04bdd84ae UnitMotion - Split Move() into several functions wraitii 2019-06-11 17:25:59 +00:00
  • ad4594e55d UnitMotion - move TryGoingStraight before the core of the 'Move' logic wraitii 2019-06-10 19:35:02 +00:00
  • 36341b5d6c UnitMotion - Handle obstruction moving flag similarly to m_CurSpeed wraitii 2019-06-10 19:33:24 +00:00
  • 1adf9560b8 Unit Motion - update our current speed even when we have not moved. wraitii 2019-06-10 18:27:27 +00:00
  • 017cb504ee Drop an indentation level in UnitMotion. wraitii 2019-06-10 17:15:27 +00:00
  • eee977fd7d Fix wrong actor file for persian cavalry javelinist base actor when gathering meat Patch by: @Angen Differential Revision: https://code.wildfiregames.com/D1967 This was SVN commit r22359. Stan 2019-06-10 10:13:24 +00:00
  • 641a1a4b85 Remove duplication of attack variant from Kush hero 'hero_infantry_archer_amanirenas.xml'. Stan 2019-06-10 10:11:07 +00:00
  • 70e22e2923 Unit Motion - Face point when calling StopMoving() wraitii 2019-06-09 17:06:24 +00:00
  • f2db913a7d Unit Motion - remove the m_Moving variable wraitii 2019-06-09 17:04:18 +00:00
  • 6e6f7699d0 Fix repairing/garrisoning range checks following 4fda917f46 wraitii 2019-06-09 16:59:27 +00:00