Marc Zinnschlag
|
a8c974d2e7
|
added set/get/mod instructions for skills
|
14 years ago |
Marc Zinnschlag
|
1c4db82a0e
|
added --script-all switch
|
14 years ago |
Marc Zinnschlag
|
9a0618fbb8
|
fixed a comment
|
14 years ago |
Jan Borsodi
|
1907aeb6c6
|
The game mode is now properly restored once a dialog is finished. Previously the game mode was only set in the window manager but it has to go through the input manager firs to get correct input state. Also updated the gui script commands to also use the input manager and not the window manager.
At some point the gui mode code should be moved to a class that handles all game mode (engine?).
|
15 years ago |
Marc Zinnschlag
|
db2b238328
|
adjusted coordinates for coc/coe for exteriors (place player in the middle of the cell instead of at the border)
|
15 years ago |
Marc Zinnschlag
|
5f84b680af
|
implemented exterior coc
|
15 years ago |
Marc Zinnschlag
|
7ea6a75a26
|
another merge fix
|
15 years ago |
Marc Zinnschlag
|
1dc805d0d4
|
Merge branch 'master' into exterior
Conflicts:
apps/openmw/mwscript/docs/vmformat.txt
|
15 years ago |
Marc Zinnschlag
|
6c4c90ef2d
|
Merge branch 'script'
|
15 years ago |
Marc Zinnschlag
|
147dd57162
|
added Lock and Unlock instructions
|
15 years ago |
Marc Zinnschlag
|
a899a290c0
|
modified code to avoid a warning on MSVC
|
15 years ago |
Marc Zinnschlag
|
9e8251e6b4
|
finally got rid of the nasty coordinates bug
|
15 years ago |
Marc Zinnschlag
|
f3bf46f1a9
|
fixed AiTravel and changed GetAiPackageDone to return 0 (returning one would interfere with character creation testing at this point)
|
15 years ago |
Marc Zinnschlag
|
68a788b2c8
|
added instructions for enabling/disabling player controls (they don't do anything yet)
|
15 years ago |
Marc Zinnschlag
|
14cf007a3f
|
added first batch of AI-related instructions and functions (they don't do anything at this point)
|
15 years ago |
Marc Zinnschlag
|
b3cc3073a3
|
changed encoding of segment 3 opcodes (increasing the number of opcodes, while reducing the width of the argument)
|
15 years ago |
Marc Zinnschlag
|
17135a6403
|
routed message box output through window manager
|
15 years ago |
Marc Zinnschlag
|
c6f4bcbf68
|
another coordinate system fix; still not working properly
|
15 years ago |
Marc Zinnschlag
|
0111631ee9
|
very early implementation of exterior rendering
|
15 years ago |
Nicolay Korslund
|
7516e4ca53
|
Added music playing as a test
|
15 years ago |
Nicolay Korslund
|
8067d62800
|
Decoupled SoundManager from Interpreter::Context
|
15 years ago |
Marc Zinnschlag
|
aa637cb9d4
|
added RemoveItem
|
15 years ago |
Marc Zinnschlag
|
db24a55e36
|
added sanity check for AddItem arguments
|
15 years ago |
Marc Zinnschlag
|
589f8b5ede
|
added GetItemCount
|
15 years ago |
Marc Zinnschlag
|
3ea85b4619
|
added AddItem instruction
|
15 years ago |
Marc Zinnschlag
|
1902dfb7b2
|
added activate instruction
|
15 years ago |
Marc Zinnschlag
|
7ba6bdb56c
|
prepared InterpreterContext for activation implementation
|
15 years ago |
Marc Zinnschlag
|
bfc282779b
|
added item health interface
|
15 years ago |
Marc Zinnschlag
|
93754b2851
|
moved some includes around
|
15 years ago |
Marc Zinnschlag
|
ca842d1b4d
|
reimplemented access to creature stats via new class interface
|
15 years ago |
Marc Zinnschlag
|
ebedef49c9
|
removed a special case, that wasn't a special case (MW Scripting for Dummies seems to be wrong here)
|
15 years ago |
Marc Zinnschlag
|
6e3fdc5816
|
added special case implementation for GetHealth (max weapon and armor health)
|
15 years ago |
Marc Zinnschlag
|
913d55a44e
|
added GetHealthGetRatio
|
15 years ago |
Marc Zinnschlag
|
a542ca22fd
|
added ModCurrentHealth, ModCurrentMagicka, ModCurrentFatigue
|
15 years ago |
Marc Zinnschlag
|
455bcf3b01
|
added get, set and mod instructions for health, magicka and fatigue
|
15 years ago |
Marc Zinnschlag
|
77a0215d53
|
added get-, set- and mod-instructions for attributes
|
15 years ago |
Marc Zinnschlag
|
aa4e79c0de
|
fixed a reclist bug induced a couple of commits ago
|
15 years ago |
Marc Zinnschlag
|
0e641f1246
|
implemented coc instruction
|
15 years ago |
Marc Zinnschlag
|
2d8fbc6e55
|
implemented month variable and fixed some day/gamehour bugs
|
15 years ago |
Marc Zinnschlag
|
77e03f0f31
|
fixed global variable search to properly handle injected variables (DaysPassed)
|
15 years ago |
Nicolay Korslund
|
c61212202b
|
Moved mwgui/ back to apps/openmw/. Fixed mouse position bug.
|
15 years ago |
Marc Zinnschlag
|
a9825f92ee
|
moved installOpcodes function from scriptmanager to extensions
|
15 years ago |
Marc Zinnschlag
|
f3b70e05a9
|
added sky-related script functions and instructions
|
15 years ago |
Marc Zinnschlag
|
d27c548710
|
implemented passing of time
|
15 years ago |
Marc Zinnschlag
|
083b11c740
|
moved global variable handling into a separate class
|
15 years ago |
Nicolay Korslund
|
c84672a560
|
Added MyGUI to OpenMW, fully working (with events and script hooks)
|
15 years ago |
Nicolay Korslund
|
4d74f85ae0
|
Moved mwgui manager to components, ready for testing
|
15 years ago |
Marc Zinnschlag
|
c9a6335918
|
replaced flat Type_Data stack with a union
|
15 years ago |
Marc Zinnschlag
|
8134c5b760
|
integrated CellStore pointer into Ptr class
|
15 years ago |
Marc Zinnschlag
|
7f48c64efe
|
implemented sound related script instructions and functions with explicit references
|
15 years ago |
Marc Zinnschlag
|
31b4d83fac
|
moved sound extensions from mwsound to mwscript (reduces coupling between openmw components)
|
15 years ago |
Marc Zinnschlag
|
69e607e140
|
implemented getdistance with explicit references
|
15 years ago |
Marc Zinnschlag
|
c37b007be0
|
added verification for explicit references (check if the given ID exists)
|
15 years ago |
Marc Zinnschlag
|
d4ac3b506e
|
implemented enable, disable and getdisabled with explicit references
|
15 years ago |
Marc Zinnschlag
|
592fa84e2d
|
added Enable, Disable, GetDisabled
|
15 years ago |
Marc Zinnschlag
|
6b3ff8a516
|
constness fixes
|
15 years ago |
Marc Zinnschlag
|
0efe4742a6
|
added script-gui interface and gui-related script instructions
|
15 years ago |
Nicolay Korslund
|
359f2903d7
|
Merged athile and zinnschlag
|
15 years ago |
Marc Zinnschlag
|
9d73718ec1
|
added GetSecondsPassed
|
15 years ago |
Marc Zinnschlag
|
f5a70abd4b
|
added OnActivate
|
15 years ago |
Marc Zinnschlag
|
3df5d377f2
|
added xbox function
|
15 years ago |
Marc Zinnschlag
|
34b824cb70
|
implemented GetDistance function
|
15 years ago |
athile
|
5fe4313b95
|
Various Windows fixes to CMake, compile errors, and a few warnings. Also made the command server optional and disabled by default since it is not currently working correctly on Linux.
|
15 years ago |
Marc Zinnschlag
|
a61b2c39f0
|
added scriptrunning/startscript/stopscript; sorted out more case problems
|
15 years ago |
Marc Zinnschlag
|
185f8bd56d
|
added random function; global variable fix
|
15 years ago |
Marc Zinnschlag
|
df8f8a315c
|
added missing part of global variable implementation (storage and interpreter context)
|
15 years ago |
Marc Zinnschlag
|
d57e67e722
|
added global variable handling to compiler context (not working yet because of case problems)
|
15 years ago |
Marc Zinnschlag
|
f9c1548f80
|
added menumode script function; added global variable handling in compiler and interpreter (openmw context still ignores global variables)
|
15 years ago |
Marc Zinnschlag
|
cdcc244fc5
|
automatically start start scripts at startup
|
15 years ago |
Marc Zinnschlag
|
4482884eb5
|
implemented global script execution
|
15 years ago |
Marc Zinnschlag
|
530caac39b
|
merged CompilerScriptContext into base class
|
15 years ago |
Marc Zinnschlag
|
5174679864
|
another bug-fix and missing documentation added
|
15 years ago |
Marc Zinnschlag
|
5d46fc869c
|
added missing sound script functionality; various script-related bug-fixes
|
15 years ago |
Marc Zinnschlag
|
eeeb9b09f8
|
identify LiveCellRefs by ptr instead of render handle
|
15 years ago |
Marc Zinnschlag
|
3fae68b403
|
added unifying LiveCellRef pointer class
|
15 years ago |
Marc Zinnschlag
|
d51e6fb7c4
|
second part of refactoring
|
15 years ago |
Marc Zinnschlag
|
f8cb4c2502
|
moved sound manager from world to engine (first step of another round of refactoring)
|
15 years ago |
Marc Zinnschlag
|
c12752df4d
|
added sound manager skeleton and sound script functions
|
15 years ago |
Marc Zinnschlag
|
f0c492ae22
|
added CellChanged script function
|
15 years ago |
Marc Zinnschlag
|
474b412b47
|
implemented local script execution
|
15 years ago |
Marc Zinnschlag
|
076b01559f
|
added local script compiling
|
15 years ago |
Marc Zinnschlag
|
2064c43d89
|
added script manager (doesn't do anything yet); local scriptes for active cells are passed on to the script manager
|
15 years ago |
Marc Zinnschlag
|
a06b84ac86
|
added local variables to ref data
|
15 years ago |