Commit Graph

  • 5a1da77ce4 Use IGUIObject::GetSettingPointer and SetSetting instead of accessing the member m_pSetting directly following fd91563f42. elexis 2019-08-04 00:02:56 +00:00
  • cd82b62e25 Fix JSInterface_IGUITextOwner build on VS2015 following 3d07327837 (which works on gcc, clang and Jenkins), reported by minohaka. elexis 2019-08-03 17:52:56 +00:00
  • 11dc5e3901 Texture Update: Judean Slinger wackyserious 2019-08-03 06:18:37 +00:00
  • f64a39c123 Better texture for shield_props (bosses and spinas) Alexandermb 2019-08-03 02:52:40 +00:00
  • 674d60e830 Texture Update: Gallic Naked Fanatic wackyserious 2019-08-02 23:19:39 +00:00
  • 1a388ff401 Texture Update: Scythian Archer wackyserious 2019-08-02 23:07:19 +00:00
  • 8f314fb653 Texture Update: Thracian Peltast wackyserious 2019-08-02 21:38:31 +00:00
  • 3d07327837 Introduce a JSInterface_IGUITextOwner to encapsulate JSI_IGUIObject::getTextSize from 9c5062147a / D844. elexis 2019-08-02 16:55:15 +00:00
  • a1963b8ec2 Separate texture variants in bryastovets helmet as requested by @wackyserious. Alexandermb 2019-08-02 14:21:56 +00:00
  • 007f271a67 Remove unused horse sele_crest and straps_kush_base.xml from wrong folder. Alexandermb 2019-08-02 14:20:12 +00:00
  • df489f2500 Add virtual CreateJSObject to IGUIObject, split from GetJSObject, so that inheriting classes can extend the JS object upon construction, refs #5442, D2136. elexis 2019-08-02 12:18:30 +00:00
  • 2510e1b82e Fix concern raised by checkref mentioned by @elexis Alexandermb 2019-08-02 02:36:01 +00:00
  • 52f2bfae2b Add virtual base initialization missing in 2c47fbd66a. elexis 2019-08-01 23:55:10 +00:00
  • 69ac0b9656 Move CGUIManager::LoadPage to CGUIManager::SGUIPage::LoadPage, because it only operates only on that struct. elexis 2019-08-01 20:48:05 +00:00
  • 2c47fbd66a Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. elexis 2019-08-01 20:20:24 +00:00
  • eab4f9fdde Replace {gender} by {phenotype} and support this tag in VisualActor. wraitii 2019-08-01 19:14:40 +00:00
  • d7a93c3b35 Update some actors outdated helmets Alexandermb 2019-08-01 17:54:15 +00:00
  • 29b72212fe Update some hero helmets Alexandermb 2019-08-01 17:39:26 +00:00
  • d51adb2674 Fix for broken catafalque_two_wheel.dae following 6d332c0822 Alexandermb 2019-08-01 12:59:24 +00:00
  • 9e1c53c2ff Update athen/cavalry_javelinist_e_r.xml helmet. Alexandermb 2019-08-01 12:34:49 +00:00
  • 12797e14d7 Remove now unused corinthians actors due to new meshes. Alexandermb 2019-07-31 23:00:22 +00:00
  • 8f979756fd Add two missing corinthians after update. Alexandermb 2019-07-31 19:15:16 +00:00
  • 0257f1ca79 Big hellenic helmets update Alexandermb 2019-07-31 18:40:21 +00:00
  • 8d4d70add9 entity template for the juniper tree LordGood 2019-07-29 19:14:08 +00:00
  • a21a21c443 Junipers, grasses, and some flora material edits for broken parallax. Black pines lightened a bit LordGood 2019-07-29 19:04:39 +00:00
  • fee7dba38f Fix Capture oversight in GetBestAttackAgainst in 9fcfdb0324 wraitii 2019-07-29 18:51:50 +00:00
  • 82f1d2718b Remove both copies of the 15-fold copies of the JSI_IGUIObject::getProperty and setProperty setting case handlers following the FromJSVal / ToJSVal template specializations implemented in * JSI_GUIColor in 9be8a560a9 * bool in eec179a9a8 * CGUISeries and CGUIList in 26ae9d430a * primitives in 636c719110 * EAlign and EVAlign in 0834d07462 * ClientArea in b9f3c8557b * CColor in 415939b59b * CGUISpriteInstance 0a7d0ecdde * CPos in d6b93b3be6 elexis 2019-07-29 14:46:29 +00:00
  • d6b93b3be6 Add missing CPos FromJSVal, ToJSVal following 659a9ea57a. elexis 2019-07-29 11:56:11 +00:00
  • 0a7d0ecdde CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. elexis 2019-07-28 22:40:58 +00:00
  • 9fcfdb0324 Improve Attack's GetBestAttackAgainst by only considering attack types that actually can attack the target. wraitii 2019-07-28 14:58:24 +00:00
  • c03abd1e92 UnitMotion cleanup - remove dead code, add a common path for MoveTo functions, rename BeginPathing, move functions around for better readability. wraitii 2019-07-28 10:51:12 +00:00
  • d9c6879450 Fix units ignoring range when attacking in one case, and fix targeting formations wraitii 2019-07-28 10:39:27 +00:00
  • 1e2f511a09 UnitMotion - reject paths that would not take the unit closer to the goal than it is now. wraitii 2019-07-28 10:29:28 +00:00
  • 103d89f026 GatherNearPositiion when the target remains invisible on our second try, instead of going idle. wraitii 2019-07-28 09:48:23 +00:00
  • ad4de3d3be Delete CInternalCGUIAccessorBase class from c2a71e41bf. elexis 2019-07-28 02:39:52 +00:00
  • 3e4d339b51 Add a missing undefined to booelan conversion for the diplomacy dialog in eec179a9a8, fixes #5542. elexis 2019-07-27 21:18:16 +00:00
  • 6b052bab08 Fix 415939b59b - clang-specific error at compilation time wraitii 2019-07-27 15:12:59 +00:00
  • b7d1ea671f Update Errors definition file following: elexis 2019-07-26 19:27:10 +00:00
  • 415939b59b Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. elexis 2019-07-26 18:57:28 +00:00
  • b9f3c8557b Move CClientArea ToJSVal / FromJSVal conversion from JSI_IGUIObject (since that should be agnostic of the conversion) to CClientArea (since that defines the properties). elexis 2019-07-26 14:47:27 +00:00
  • 0834d07462 Make JS changed horizontal / vertical actually take effect, finishing 156ff7cf56, refs f4b410ff82. elexis 2019-07-26 13:45:14 +00:00
  • 52d58d9845 Wipe MaybeGC/ForceGC declaration leftover from 9f0484e5ce / D1073. elexis 2019-07-26 12:41:22 +00:00
  • b9544a2eaa New Ptolemy IV (Hero) Texture wackyserious 2019-07-26 11:10:43 +00:00
  • 8d293db6eb Removes clipboard debug logging on X11, fixes #5535 historic_bruno 2019-07-25 05:34:04 +00:00
  • 1e9cc3d43e Fixes missing Engine.DisplayErrorDialog in hwdetect.js (lost in 4b1297b328). historic_bruno 2019-07-25 05:21:25 +00:00
  • 4ced2182b2 Fixes compiler warning about unused variable introduced in 09e129bce2. vladislavbelov 2019-07-24 23:25:45 +00:00
  • 50f70b7be3 Refactors Camera aspect ratio and calculation of plane points. vladislavbelov 2019-07-24 23:08:02 +00:00
  • 3532dd64ac Fix patrol order and make the relaxed range check into a constant. wraitii 2019-07-24 19:05:12 +00:00
  • 2cc071f306 Fix memory leak introduced by 3a839517ce in SparseGrid wraitii 2019-07-24 17:11:22 +00:00
  • ae7e43ff19 Alt+tab fix for ca9109be75 - call sound IdleTask in Atlas and swap buffers only once in Atlas. wraitii 2019-07-24 16:40:34 +00:00
  • a783f430d5 Update the gather LastPos alongside the combat LastPos when hunting to more efficiently hunt. wraitii 2019-07-24 15:55:07 +00:00
  • 7c2985bbe1 New Roman Units Texture wackyserious 2019-07-24 06:53:04 +00:00
  • 636c719110 Use FromJSVal ToJSVal for primitive types to remove the duplicate logic and make JSInterface_IGUIObject case handling more equal. elexis 2019-07-24 02:58:50 +00:00
  • 26ae9d430a CGUISeries and CGUIList specializations for ToJSVal / FromJSVal to make the JSI_IGUIObject case handling agnostic of implementation specifics, refs 4d367109c3, 977a5c7ca2, 2bae30c454. elexis 2019-07-24 01:40:30 +00:00
  • eec179a9a8 Use FromJSVal and ToJSVal for GUI boolean conversions. elexis 2019-07-23 21:46:32 +00:00
  • 62f83eb673 Use ToJSVal for JS_NewStringCopyZ to improve encapsulation and consistency and remove a snprintf call. elexis 2019-07-23 15:17:35 +00:00
  • cbcd1bbde0 There is nothing to see here following 9be8a560a9. elexis 2019-07-23 14:50:09 +00:00
  • 9be8a560a9 Delete JSClass JSI_GUIColor / GUIColor from af9c336b43, refs #5387, D1699. elexis 2019-07-23 14:22:27 +00:00
  • 7a823ca671 UnitMotion - Fix a rare pathfinding issues where units tried going straight through walls, and make sure a long path is computed even when the target is within short path or direct path range. wraitii 2019-07-23 06:18:07 +00:00
  • 8734efca94 Delete JSI_GUIMouse from af9c336b43 obsoleted by 64bd264fc0. elexis 2019-07-23 01:36:13 +00:00
  • 227957cd99 Delete unused broken JSI_IGUIObject::construct. elexis 2019-07-23 01:24:49 +00:00
  • b04a8d4793 Disable eslint curly rule, because none of its configurable enforcement reflects the curly brace convention of this repository, refs #5524. elexis 2019-07-22 19:55:52 +00:00
  • b4626359f5 Provide ScriptInterface CreateObject and CreateArray functions to replace Eval calls following 7c2e9027c2, 1c0536bf08 and later. elexis 2019-07-22 19:35:14 +00:00
  • 6643613b54 Easier introduction of new damage types. wraitii 2019-07-22 18:37:18 +00:00
  • 32e8ed51aa UnitMotion - Send messages to UnitAI when obstructed, to allow stopping early when walking and avoiding pathfinding lag. wraitii 2019-07-22 18:07:24 +00:00
  • 09315fdc6b Update Britons blacksmith_armorstand_armor.xml to use new @wackyserious chainmail textures Alexandermb 2019-07-22 00:55:23 +00:00
  • 1a3ba39900 Trader linting, refs D2106. elexis 2019-07-21 20:19:39 +00:00
  • 51419d7092 Correct uncaught MapReader and MapGenerator throw statements following 2b138f47db and 2180862d40. elexis 2019-07-21 01:35:39 +00:00
  • 41ee485e68 Remove unused GUIManager SGUIPage members from 7c2e9027c2 and 4b1297b328. elexis 2019-07-21 01:29:08 +00:00
  • 13209c3183 Revert 09916ce6cb which broken jenkins build. wraitii 2019-07-20 13:10:53 +00:00
  • 09916ce6cb Fix incorrect use of setlocale() in cppformat CStr tests following 61db02790c wraitii 2019-07-20 12:57:03 +00:00
  • cca7627d88 Improvements to simulation hotloading before the SM upgrade, refs #4893. Itms 2019-07-19 21:58:58 +00:00
  • feb88a337a Pass arbitrary arguments to GUI events / SendEventToAll and remove loading screen progess workaround, refs D1716, 6d792365aa, bd3bd084c0, 4b1297b328, db5d4bb5f1. elexis 2019-07-19 21:15:04 +00:00
  • 498d58e24d Fix reported memory leaks in the glooxwrapper following 61261d14fc JoshuaJB 2019-07-19 19:46:48 +00:00
  • 6230bbea24 Update of the scripting tests. Test some modding features and update JS::Value integer limits. Itms 2019-07-19 15:41:27 +00:00
  • 6d332c0822 Fix for unsync siege weapons unpacked with horses idle animations Alexandermb 2019-07-19 15:30:49 +00:00
  • 3a839517ce Fix the -Wclass-memaccess compiler warning in the pathfinders Grid.h, refs #5294. elexis 2019-07-19 12:52:10 +00:00
  • e6f960bca6 Makes wxWidgets 3.0 dependency explicit in the game build. historic_bruno 2019-07-19 04:52:03 +00:00
  • 6fc2114b58 Unit Motion - Improve handling of obstructed paths. wraitii 2019-07-18 20:00:38 +00:00
  • b807c39e6a Restore previous formation behaviour of targeting nearby enemies when idle / aborting orders wraitii 2019-07-18 19:59:37 +00:00
  • bac777cb29 Correctly face towards target when repairing, gathering, guarding. wraitii 2019-07-18 19:56:09 +00:00
  • 114dcbf655 Clean Gaia's Selectable bb 2019-07-18 10:04:04 +00:00
  • 9f8fb83a89 Removes deprecated 'register' storage class from mongoose. Refs #3068 historic_bruno 2019-07-18 06:28:51 +00:00
  • fc32e28c0a Fixes some ambiguous calls of abs(). historic_bruno 2019-07-17 22:39:30 +00:00
  • 213c56e3e6 Improvements to the translators credits script. Itms 2019-07-17 21:32:11 +00:00
  • e381fa393a Standardize formation tooltips bb 2019-07-17 20:20:48 +00:00
  • 332e59bdbe Add skirmish templates for range, stable, wonder and workshop While at it clean some obstruction and footprint sizes in stables and workshops Add a specific name for some workshops bb 2019-07-17 19:40:50 +00:00
  • 81cd2f1cdf Fix walk-to-target and other movements with max-range "0" for target entities wraitii 2019-07-17 18:11:15 +00:00
  • dbebe0a39a Fix max-range approach when treating a target as a circle. wraitii 2019-07-17 18:08:47 +00:00
  • 7d73af990d Disables GnuTLS Native Language Support in build-osx-libs.sh, refs #5503 historic_bruno 2019-07-17 14:51:57 +00:00
  • 7f453a2bd0 Fixes silent download errors in build-osx-libs.sh. Fixes #5490. historic_bruno 2019-07-17 14:32:26 +00:00
  • 01fd8a3654 Cleans up build-osx-libs.sh whitespace. Fixes #5486. historic_bruno 2019-07-17 14:20:40 +00:00
  • ecae8469ba Move domestic wolf from templates/trigger/ to templates/gaia/, refs cd6c31e76e, 79fb493da3, D176. elexis 2019-07-17 14:14:53 +00:00
  • e8f4ae36a7 MapGenerator to delete its ScriptInterface directly after last use, refs 64efbfeae3, D2085. elexis 2019-07-17 00:07:10 +00:00
  • f41e4082d9 Fix missing return in previous (65b02395b3), use underscore as recommended by Vladislav. elexis 2019-07-17 00:00:05 +00:00
  • 65b02395b3 Remove Vector2D/Vector3D prototype workaround from EngineScriptConversions. elexis 2019-07-16 21:52:49 +00:00
  • 29a8852ea4 Rename "CauseSplashDamage" to the more generic "CauseDamageOverArea" bb 2019-07-16 15:14:49 +00:00
  • 7e2512a739 Fix undefined behaviour introduced in 5c642611c4 wraitii 2019-07-15 18:05:03 +00:00
  • a6f30c14d5 Provide microsecond precision in the RandomMapLogger too, refs 7a91d330d3. elexis 2019-07-15 14:44:53 +00:00
  • 3e8205d7bf Moar lineendings. elexis 2019-07-15 02:18:51 +00:00