1
0
forked from mirrors/0ad

Commit Graph

  • 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
  • 11c94cd92b Use stones instead of arrows for quinqueremes. Noticed by Edwarf. Stan 2020-10-12 16:37:52 +00:00
  • 62a86fe15f Improved patrol icon. Much less like the recycling logo Stan 2020-10-10 16:22:50 +00:00
  • c93bd91ef6 Do not hardcode attacktypes in the engine/Atlas bb 2020-10-10 15:12:17 +00:00
  • 76ebb66241 Moves textures samples and calculations in the water shader to related parts of the code. vladislavbelov 2020-10-07 19:03:40 +00:00
  • 5dd0d7752e Refactors water shader to move reflection in a separate function. vladislavbelov 2020-10-07 18:38:56 +00:00
  • d8c7f6da62 Remove a bunch of unused/duplicated textures. The duplicated ones might have an impact on performance for older machines. Script by @vladislavbelov. Stan 2020-10-04 21:01:06 +00:00
  • 0bfaedb78d Do not allow upgrading when entity is producing and vice versa. Angen 2020-10-04 10:20:20 +00:00
  • acfd466c32 Fixes crash with mod packing on a wrong path. vladislavbelov 2020-10-04 10:17:34 +00:00
  • fd4635e423 New Texture: Brasidas (Sparta) wackyserious 2020-10-03 13:53:25 +00:00
  • ef71863613 Texture and actor file fix: Gauls and Britons (Plus new textures for Briton units) wackyserious 2020-10-03 13:32:55 +00:00
  • 3e372ccd34 Remove Babylonian lion from Persian barracks. Stan 2020-10-02 18:28:00 +00:00
  • bfa95074e2 Texture Update: Gaul actor file and texture update (including Briton elite spearman texture) wackyserious 2020-10-02 12:11:55 +00:00
  • 61f82bdb5f Texture Update: Celtic linothorax (Minor detail fix) wackyserious 2020-10-02 08:51:16 +00:00
  • de44d6c9d4 Fix missing and incorrect garrison flag. Stan 2020-10-02 07:48:49 +00:00
  • 1273307b58 Don't detect audio card when audio is disabled, Fix compilation with --without-audio, fix a few warnings. Stan 2020-10-02 07:35:59 +00:00
  • e18c305ba2 Do not reset compatibilty filter when deleting replays Angen 2020-10-01 16:06:15 +00:00
  • b0093a43e6 Redo the previous commit by actually parsing the comments in the revision: use getTextSize. This allows some nukes in the OverlayCounterManager. bb 2020-09-28 16:20:52 +00:00
  • f09083c04d Let the Overlay width depend on the longest string in it bb 2020-09-28 16:00:06 +00:00
  • 69a13c2be5 Refactor UpdateMessageSubscriptions in CCmpRangeOverlayRenderer Angen 2020-09-27 13:12:30 +00:00
  • fbc570674f Show correct trade info for observers bb 2020-09-25 21:34:24 +00:00
  • adca4ba1f4 Introduce subfolders for geology templates. Freagarach 2020-09-25 08:37:04 +00:00
  • 162b9e2f6b Introduce subfolders for flora templates. Freagarach 2020-09-25 08:29:10 +00:00
  • 44b8e87f43 Don't use GetPopulationCount() in Player.js, but use the value it returns directly refs: 74f08a5083 Proposed By: Freagarach This was SVN commit r24067. bb 2020-09-24 17:07:45 +00:00
  • 446b71e71e Remove comment added in 5b314fc0ac, but obselete since 026ce76e3f. bb 2020-09-24 16:59:25 +00:00
  • 74f08a5083 Clean simulation/components/Player.js bb 2020-09-23 17:42:36 +00:00
  • bb5776c079 Disallow gaia to change state, i.e., gaia can't be defeated or win bb 2020-09-23 15:40:48 +00:00
  • 840cc18277 Do not process commands sent by observers. Freagarach 2020-09-22 18:28:21 +00:00
  • ac57eae596 Make fauna names consistent bb 2020-09-21 21:14:24 +00:00
  • c2b97cdba0 Safeguard QueryPlayerIDInterface calls Similar to 31df44673a bb 2020-09-21 18:54:32 +00:00
  • 4a4a768af6 Add missing credit in 3D work. I missed the fact he was in 2D Stan 2020-09-21 09:05:15 +00:00