Commit Graph

15 Commits (coverity_scan)

Author SHA1 Message Date
scrawl e0f613661e Fix char -> int, fix shadowing warning 8 years ago
Allofich 125e94ef0e Fix shadowing warnings 8 years ago
scrawl 3a2dccad4b Implement 'Show' script instruction 9 years ago
Marc Zinnschlag 2a981a5272 make sure local variables are loaded when trying to access them from outside of a script (Fixes #2659) 9 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 2346c3528d Remove NpcStats::mProfit and store it in the script instead
Also use the Profit label when the "minimumProfit" script variable exists, rather than hardcoding to NPCs.
10 years ago
scrawl b1bd236345 ESSImport: convert script local variables
Had to add special reading code to openmw, because the variable names are not stored.
10 years ago
Marc Zinnschlag 1ca0cc4988 rewrote MWScript::Locals::configure to be independent of precompiled script data 11 years ago
Marc Zinnschlag 87c54adb24 some cleanup 11 years ago
scrawl 1de406cb6d Catch exception from invalid scripts during save&load (Fixes #1590) 11 years ago
scrawl 15b486e149 Don't trigger changed flag if a script with no locals is configured 11 years ago
Marc Zinnschlag 3590fa40bd store global script state in saved game files 11 years ago
Marc Zinnschlag 111ebf84bb replaced an include with a forward declaration 12 years ago
scrawl b0199c703c Companion UI 12 years ago
Tom Mason ac112ef972 refactored special variable code 12 years ago