mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-13 02:39:34 +00:00
Merge with develop
This commit is contained in:
parent
d82f7de732
commit
11f2f1e3e1
3 changed files with 4 additions and 3 deletions
|
@ -215,7 +215,7 @@ inline std::string toString(const size_t &val) { return toString("%u", val); }
|
||||||
|
|
||||||
inline std::string toString(const float &val) { return toString("%f", val); }
|
inline std::string toString(const float &val) { return toString("%f", val); }
|
||||||
inline std::string toString(const double &val) { return toString("%lf", val); }
|
inline std::string toString(const double &val) { return toString("%lf", val); }
|
||||||
inline std::string toString(const bool &val) { return toString("%u", val?1:0); }
|
inline std::string toString(const bool &val) { return val ? "1":"0"; }
|
||||||
inline std::string toString(const std::string &val) { return val; }
|
inline std::string toString(const std::string &val) { return val; }
|
||||||
|
|
||||||
// stl vectors of bool use bit reference and not real bools, so define the operator for bit reference
|
// stl vectors of bool use bit reference and not real bools, so define the operator for bit reference
|
||||||
|
|
|
@ -90,6 +90,8 @@ public:
|
||||||
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
|
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Q_IMPORT_PLUGIN(QIcoPlugin)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
|
|
@ -219,7 +219,6 @@ end
|
||||||
function game:updateTargetConsiderUI()
|
function game:updateTargetConsiderUI()
|
||||||
--debugInfo("Updating consider widget")
|
--debugInfo("Updating consider widget")
|
||||||
|
|
||||||
|
|
||||||
local targetWindow = getUI("ui:interface:target")
|
local targetWindow = getUI("ui:interface:target")
|
||||||
--
|
--
|
||||||
local wgTargetSlotForce = targetWindow:find("slot_force")
|
local wgTargetSlotForce = targetWindow:find("slot_force")
|
||||||
|
@ -229,7 +228,7 @@ function game:updateTargetConsiderUI()
|
||||||
local wgToolTip = targetWindow:find("target_tooltip")
|
local wgToolTip = targetWindow:find("target_tooltip")
|
||||||
local wgPvPTag = targetWindow:find("pvp_tags")
|
local wgPvPTag = targetWindow:find("pvp_tags")
|
||||||
local wgHeader = targetWindow:find("header_opened")
|
local wgHeader = targetWindow:find("header_opened")
|
||||||
|
|
||||||
wgTargetSlotForce.active = true
|
wgTargetSlotForce.active = true
|
||||||
wgImpossible.active = true
|
wgImpossible.active = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue