Commit Graph

  • 7c04ea0211 Make JS GUI Objects Proxy objects. wraitii 2020-11-21 17:49:06 +00:00
  • 8a1b3d6769 Allow registering hooks that trigger on config changes. wraitii 2020-11-21 11:57:14 +00:00
  • f6348b9617 Clean up header includes, add new forward declarations. wraitii 2020-11-21 11:20:29 +00:00
  • 8726a2abbf [gameplay] tweak human training times to make them feel less "spammy" Stan 2020-11-21 11:13:15 +00:00
  • 560127a5c8 [gameplay] Remove structure <Loot/xp> as most builings are destroyed by siege. Stan 2020-11-21 11:08:37 +00:00
  • 95dbb8be25 Fix broken assertion in d0fc8ff67d wraitii 2020-11-20 15:30:55 +00:00
  • ff924aaffc Fix no-PCH builds and checkrefs following a4852c4c01 wraitii 2020-11-20 11:41:56 +00:00
  • eef9e9517b Fix .dae files with Windows paths inside. wraitii 2020-11-20 08:26:46 +00:00
  • 640efa557e Add a hashing function for CStr8 & CStrW Stan 2020-11-19 15:25:27 +00:00
  • d0fc8ff67d Update range queries to account for entity size. wraitii 2020-11-19 14:07:24 +00:00
  • b57abe806c Move civ-specific templates to subfolders. Freagarach 2020-11-19 10:20:25 +00:00
  • a4852c4c01 Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific. wraitii 2020-11-19 09:27:26 +00:00
  • e6adfd01bf Deactivate RTTI (except in AtlasUI) on all platforms. wraitii 2020-11-19 08:36:25 +00:00
  • f1881a0ccd Missed a rebase when committing 0cdd69e8e5. Freagarach 2020-11-19 07:05:57 +00:00
  • 0cdd69e8e5 Separate elephant archer from cavalry templates. Freagarach 2020-11-19 06:42:29 +00:00
  • 5faf62d9ee Allow affecting garrison list via tech and auras Stan 2020-11-18 21:39:22 +00:00
  • 85c9a48db0 Generalize to arbitrary translatable attacknames in the GUI bb 2020-11-18 21:34:33 +00:00
  • 2dd223af29 Rename nuba -> noba. Freagarach 2020-11-18 20:13:30 +00:00
  • 0cbd07b455 [SM52 3/2] Revert static linking change on linux - other fixes. wraitii 2020-11-18 19:08:15 +00:00
  • fd8f5abd2e [SM52 2/2] Update to Spidermonkey 52 APIs. wraitii 2020-11-18 14:39:04 +00:00
  • 6bb08fb424 [SM52 1/2] Upgrade Spidermonkey build system and binaries to 52.9.1 wraitii 2020-11-18 14:34:17 +00:00
  • 935af751b9 Fix building without precompiled headers. wraitii 2020-11-18 11:35:36 +00:00
  • 0f2b00326f Notify players with a sound when a player is defeated Stan 2020-11-18 09:14:08 +00:00
  • 28c11ab6f2 Lets not break tests in 029751c135 bb 2020-11-18 08:31:03 +00:00
  • 029751c135 Don't uselessly traffic constant statuseffect translatable strings and icons through the guiinterface. bb 2020-11-18 08:25:43 +00:00
  • 841b381607 Correct a few weapon prop names. Stan 2020-11-17 10:06:09 +00:00
  • 4f897d7151 Napatan voices for the Kushites. Audio fixes (reverb, background noises) and equalization by @Samulis Stan 2020-11-16 22:36:39 +00:00
  • d0c1d119dc Using same value for unit and terrain ambient colors for random maps. vladislavbelov 2020-11-16 20:40:31 +00:00
  • 61eb93d0f7 Move entities from other/ to structures/. Freagarach 2020-11-16 20:06:01 +00:00
  • 3a4a7ee5f9 Make cheering moddable Stan 2020-11-16 14:47:41 +00:00
  • bd43bdca69 Cancel packing orders by Stop command Angen 2020-11-16 09:33:09 +00:00
  • 9937116f2b Adds MSAA to anti-aliasing techniques. vladislavbelov 2020-11-15 20:07:48 +00:00
  • 25490bfec3 Improve JS Exception handling. wraitii 2020-11-15 18:29:17 +00:00
  • 88bc973530 Delete useless JS::Value forward declaration. wraitii 2020-11-15 07:51:15 +00:00
  • 768c84aa46 Optimize the GUI event broadcast bb 2020-11-14 21:54:17 +00:00
  • 10c3bcbf5f Allow right-click on disabled buttons. Stan 2020-11-14 18:16:24 +00:00
  • 6b5fe442c7 Remove unused function that triggers warnings on Windows. Stan 2020-11-14 18:11:58 +00:00
  • 2f29b81027 Fix JS OOM in tests following aae417bd29 wraitii 2020-11-14 15:13:56 +00:00
  • aa15066c69 Rename ScriptRuntime to ScriptContext wraitii 2020-11-14 10:57:50 +00:00
  • aae417bd29 Explicitly make ScriptInterface a Compartment wrapper. wraitii 2020-11-14 08:46:32 +00:00
  • 0046783e73 Unify sling actors and simplify templates. Stan 2020-11-14 00:10:56 +00:00
  • ab5616b4c4 Mass rename CxPrivate to CmptPrivate. wraitii 2020-11-13 16:44:15 +00:00
  • ee0d204bf6 Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. wraitii 2020-11-13 13:18:22 +00:00
  • 6a029d2a84 Fix incorrect README.txt following 849cbc13ee. Stan 2020-11-13 10:50:48 +00:00
  • 6d187f2145 Do not attempt to gather when full on that resource. Stan 2020-11-12 11:01:42 +00:00
  • 66cc595c53 Encapsulate runtime creation. wraitii 2020-11-12 09:34:40 +00:00
  • 90367cdc53 Remove DefPersistentRooted and unneeded includes. wraitii 2020-11-12 08:24:30 +00:00
  • ace639f96f Use JS::Trace over CallXTracer wraitii 2020-11-12 08:04:24 +00:00
  • dad2857538 Use Symbols to store JS object references when serialising and delete ObjectIDCache wraitii 2020-11-12 06:40:19 +00:00
  • d5bbf900bc Missing attack ranged archer variants fromr P24164 Alexandermb 2020-11-11 23:10:28 +00:00
  • 26f233028b Elephant asian size adjustment as requested months ago. Alexandermb 2020-11-11 22:14:32 +00:00
  • 7a4b20e964 Bow Sync animation sync between prop and infantry (stil shoots earlier due to repeat time) Alexandermb 2020-11-11 22:08:43 +00:00
  • a5481897eb Clean up structure vision. Freagarach 2020-11-11 20:27:24 +00:00
  • 876b035336 Allow resistances to StatusEffects. Freagarach 2020-11-11 20:07:30 +00:00
  • b5df81af76 Store turret positions in map files. Freagarach 2020-11-11 19:40:44 +00:00
  • 9669b5f1a9 Removes additional depth texture copying and reusing existing refraction depth. vladislavbelov 2020-11-11 18:46:52 +00:00
  • 3392330ee9 Play a sound on invalid building placement. Stan 2020-11-11 17:38:59 +00:00
  • 38ce7c44a6 Remove useless arguments from colorFades.js, update comments, and remove useless return. Also remove redundant check. Stan 2020-11-11 10:58:09 +00:00
  • f22449bf24 Remove serializablePrototype code wraitii 2020-11-11 08:43:13 +00:00
  • 9c46062319 Optimize arrows in quivers (reducing their polycount) Do not use props , to reduce drastically the number of drawcalls. Those should only be used for uneven terrain. Do not load the kart struct for every arrow use prop_weap like all the other weapons. Do not use basic_trans where not necessary Stan 2020-11-11 01:06:19 +00:00
  • e038f7844b Fixes terrain overlays by removing fixed pipeline dependency. vladislavbelov 2020-11-09 18:50:40 +00:00
  • c1eb728ffa Add a generic preview for mainland, so that it doesn't pick one randomly. Stan 2020-11-09 18:07:01 +00:00
  • bb8456691b Avoid overflow in UnitMotion. wraitii 2020-11-09 13:25:50 +00:00
  • 055a659685 Observe proper naming conventions for changeset 4704ac6e03 wackyserious 2020-11-09 11:44:49 +00:00
  • 4704ac6e03 New Texture: Thracian thureos shield wackyserious 2020-11-09 10:27:39 +00:00
  • b97d251322 Move the controllability of an entity to cmpIdentity. Freagarach 2020-11-09 08:38:09 +00:00
  • 41570a2dc1 Fix tower classes in maps. Freagarach 2020-11-09 08:02:30 +00:00
  • 61c6da91e8 Moves foam calculation into a separate function and fixes its lighting. vladislavbelov 2020-11-08 22:17:58 +00:00
  • 8c77c4b2b6 Refactors coordinates of SOverlayTexturedLine, replaces array of floats by array of CVector2D. vladislavbelov 2020-11-08 14:47:25 +00:00
  • 4b52e87934 Adds wireframe mode to overlays and replace the private m_TerrainRenderMode usages by related getter. vladislavbelov 2020-11-08 11:31:32 +00:00
  • ad7ac8d595 Fix UpdateComponents logic for pathfinding following d592bf9cb6 wraitii 2020-11-08 08:58:19 +00:00
  • 9d53bed0bd Adds a LOS mask to Minimap. vladislavbelov 2020-11-08 08:51:54 +00:00
  • 212f1bdec4 Calculates LOS texture coordinates in shaders for overlay lines only if needed. vladislavbelov 2020-11-07 21:34:35 +00:00
  • 627ed773df Always update preview in biome and landscape Angen 2020-11-07 15:26:37 +00:00
  • ada16439ab Fix the random slowdowns and speedups on AMD CPUs for Windows Remove the MAHAF code and binaries, which doesn't work on anything more recent than Windows XP due to the usage of an unsigned driver. Remove the custom timer (PMT, TSC...) code to use the Windows recommended way aka, QueryPerformanceCounter (QPC) Remove the deprecated functions in wpthread relating to this. Some further cleanup will be needed, but this patch is already big enough. Stan 2020-11-06 23:18:16 +00:00
  • 429d190fd2 Fix Athenian Long Walls technology following 70c71bff0f. wraitii 2020-11-06 08:14:54 +00:00
  • c3843d018f Refactors water shader and move normal and specular calculations into separate functions. vladislavbelov 2020-11-05 17:47:14 +00:00
  • 352defd399 Take civ code into account when determining base template name in the Reference Suite s0600204 2020-11-05 14:30:19 +00:00
  • b7cbfecd19 Replacing losMap usages by existed and more consistent losTex. vladislavbelov 2020-11-04 22:55:34 +00:00
  • ad965e167d Moves simple water from fixed pipeline to shader pipelines (ARB/GLSL). vladislavbelov 2020-11-04 22:25:08 +00:00
  • e98fce58a6 Move some position-related functions to PositionHelper. Freagarach 2020-11-04 18:56:45 +00:00
  • 0addd691d1 Remove some unneeded comments in UnitAI.js. Freagarach 2020-11-04 17:50:20 +00:00
  • 2d54653bc3 Little cleanup of PatchRData by reordering includes and correctly formats some loops. vladislavbelov 2020-11-04 15:53:33 +00:00
  • c64f8824d7 Fixes wireframe mode for terrain, continuing remove fixed pipeline dependencies. vladislavbelov 2020-11-04 15:52:26 +00:00
  • d7d02a4740 Moves terrain lighting calculation to GPU. vladislavbelov 2020-11-04 12:54:17 +00:00
  • 770280436b Removes FFP option from Atlas and adds ARB/GLSL selection. vladislavbelov 2020-11-04 12:21:55 +00:00
  • 6e3db3d84c Removes remaining fixed program used in shader pipelines and adds check on FFP create. vladislavbelov 2020-11-03 18:59:27 +00:00
  • 8e547cdce5 Add num pad hotkey equivalents. Freagarach 2020-11-03 18:16:19 +00:00
  • 478f96d0fd Fix Atlas crash in RangeManager following 939002f0dc wraitii 2020-10-31 10:21:08 +00:00
  • 413003fe4f Fix a compartment mismatch in XmppClient, causing crashes in MP games. wraitii 2020-10-31 10:13:33 +00:00
  • 726d59a995 Make PlayerHasMarket event-based. Itms 2020-10-29 09:22:48 +00:00
  • 03f9522ff4 Remove useless SDL debug message introduced in 5593f573f4. Stan 2020-10-27 21:19:33 +00:00
  • acc254533b Refactors water shader to move refraction in a separate function. vladislavbelov 2020-10-25 21:00:52 +00:00
  • a7b4d42032 Fix handling of fixed ai defined by map after 5ca68a38ef Angen 2020-10-24 12:11:24 +00:00
  • ba1bd070bc New Texture: Oscan Tunics (Carthaginian) wackyserious 2020-10-22 06:37:33 +00:00
  • c9a61c7c4a New Texture: 1.) Thracian Mercenary (Seleucid and Macedonian) 2.) Rhodian Slinger (Macedonian) wackyserious 2020-10-22 06:10:11 +00:00
  • 1582e80ccf Clean up structure templates. Freagarach 2020-10-15 11:07:35 +00:00
  • 93ecc1af4c Fix texture mismatch noticed by wowgetoffyourcellphone. Ptolemies were using black Pharaohs instead of white ones. Unify textures for kushites and ptolemies. Add back the kush_struct_02.png file with a proper name this time Some textures fixes from delenda est. Delete the old textures and use correctly desaturated version of those. Stan 2020-10-15 07:14:11 +00:00
  • dcdc17b2dd Do not use GPUSkinning without glsl [Crash fix] Angen 2020-10-13 16:48:04 +00:00
  • 4eb13e620a Refactors water shader to move refraction in a separate function. vladislavbelov 2020-10-12 19:37:45 +00:00