Commit Graph

202 Commits (sol2-server-rewrite)

Author SHA1 Message Date
Thomas 61341d4206 Removed mLocked, kept it as "Negative lock level means unlocked" 11 years ago
Thomas 420163d35f Small changes to lock command (If no valid lockLevel exists, defaults to 100) 11 years ago
Thomas cac8e52154 Seperated locked and lock level, to allow for relocking doors to previous lock level.
The data is stored in the esm as -lockLevel if unlocked; lockLevel if locked. While not tested, it should not present any problems.
11 years ago
Marc Zinnschlag a91b386381 Merge remote-tracking branch 'jeffreyhaines/master' 11 years ago
Jeffrey Haines 6733a1541e Fixes to Crime System
Victimless crimes were removed because victims may not exist in the
case of stealing items.

Is class now uses case insensitive comparison.

Fixed issue with confiscation of stolen items.
11 years ago
Marc Zinnschlag 86e65944b8 Merge remote-tracking branch 'jeffreyhaines/master'
Conflicts:
	apps/openmw/CMakeLists.txt
11 years ago
Jeffrey Haines 940c88d2ec Cleaned up code, implemented crime ids
There is a problem with my game freezing. ToggleAi stops my character
11 years ago
Jeffrey Haines b1abef7a38 Cleaned up code 11 years ago
Jeffrey Haines 58b135a2be Crime is now checked every frame call 11 years ago
Jeffrey Haines 6f1211dd8d Moved mWitnesses into Player. resetCrime for paying fine. 11 years ago
scrawl 5906d795c0 Refactored video player (now a MyGUI widget) 11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 11 years ago
Marc Zinnschlag dde4fbd818 allow one more integer argument in RemoveSoulGem and up to 6 more in AiFollow and then throw them all away 11 years ago
Marc Zinnschlag 32860a05e3 added dummy implementations for getPcInJail and getPcTraveling 11 years ago
Marc Zinnschlag 1b5301eec0 Merge branch 'savedgame'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwbase/soundmanager.hpp
	apps/openmw/mwgui/mapwindow.hpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwsound/soundmanagerimp.hpp
	components/esm/loadcell.cpp
11 years ago
scrawl 03cf383be7 Merge branch 'master' of https://github.com/zinnschlag/openmw into savedgame
Conflicts:
	apps/openmw/mwgui/referenceinterface.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwscript/cellextensions.cpp
	apps/openmw/mwworld/cells.cpp
	apps/openmw/mwworld/cells.hpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/store.cpp
	apps/openmw/mwworld/worldimp.cpp
11 years ago
scrawl 851a7d5014 Feature #957: Handle area effects for "on touch" range 11 years ago
scrawl b8583124e0 Correction for RemoveSoulgem instruction 11 years ago
scrawl a2ba0dde31 Implemented GoToJail 11 years ago
scrawl bf6d302fba Confiscate stolen items when caught 11 years ago
scrawl 768d9f7237 Scripting: Add an optional 'required' parameter to getReference (default: true). If required=false, it will not throw an exception if there's no reference. Fixes PcExpell not working without a reference like it's supposed to, and makes the code nicer for some others (use required=false instead of catching the exception) 11 years ago
scrawl 6f9113fe88 Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions 11 years ago
scrawl 098f9712f1 Add getPlayerPtr() utility method. Reduces dependencies a lot. 11 years ago
scrawl 62774fcc4a Merge branch 'master' into HEAD
Conflicts:
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/loadtes3.cpp
11 years ago
scrawl b3764c504a Implement GetPcJumping instruction 11 years ago
scrawl 2a7d610f87 Implement GetSpellReadied instruction 11 years ago
scrawl 366801f3d5 Implement explodeSpell instruction (like Cast, with caster = target) 11 years ago
scrawl 93e1a2df73 Implement Cast script instruction (shrines work now) 11 years ago
Marc Zinnschlag b38bfe1f21 removed a redundant function for listing global variables 11 years ago
Marc Zinnschlag 030c733e2d Merge branch 'master' into savedgame
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	files/settings-default.cfg
11 years ago
Marc Zinnschlag 71436b1160 changed interface for global variable access 11 years ago
scrawl bab657fe2b Add a utility function to add items to a ContainerStore by RefID 11 years ago
Emanuel Guevel aefa54d72d Pass item count to ManualRef constructor
This remove the need to call setCount in multiple places.
11 years ago
Emanuel Guevel 8ff747fbef Move some deleteObject logic from OpDelete to MWWorld::deleteObject 11 years ago
Emanuel Guevel 10abb9d297 Call ContainerStore::remove() to remove items from inventory
Make placeObject() and dropObjectOnGround() in MWWorld to copy objects
(and indicate it clearly).

Enchanting an item now unequips it.
11 years ago
Emanuel Guevel 496f786c2a Implement Disable/EnableLevitation script functions
Totally copied on Disable/EnableTeleporting implementation.
Thanks KittyCat!
11 years ago
mckibbenta eef9df504a fiddlings 12 years ago
mckibbenta 60fa69139e minor changes 12 years ago
mckibbenta 8998b90e8b initial do-nothing implementation; registered opcode 12 years ago
vorenon 3bf3bd4b8c Silenced some warnings 12 years ago
Chris Robinson 73437dfdca GetEffect can accept an effect ID string as well 12 years ago
Chris Robinson c1dfa980bf Combine ShowVarsImplicit and ShowVarsExplicit
Also removes an unnecessary else statement
12 years ago
Chris Robinson 30973352e8 Implement ShowVars (SV) console function 12 years ago
Chris Robinson 2bac4566c0 Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/statsextensions.cpp
12 years ago
Emanuel Guevel 48d2554ac3 Auto-equip when items are added to the inventory
We limit that to armor pieces and clothing items.
No auto-equiping for the player nor werewolves.
12 years ago
Alex de1f423bd7 initial move of script opcodes and registerExtensions functions to components/compiler 12 years ago
Chris Robinson 1174b85ac8 Implement Disable/EnableTeleporting script functions 12 years ago
Chris Robinson 3298eb1b37 Implement HitOnMe script function 12 years ago
scrawl 67422c397c GetWindSpeed 12 years ago
scrawl 627c3fdb6b Added GetStandingPC, GetStandingActor; Fixed GetStartingPos 12 years ago
Chris Robinson 24e503330b Merge remote-tracking branch 'zini/master' into animations 12 years ago
scrawl 7d61459ccd Added stub implementation for 'Fall'. There is no use for this function because our physics controller applies gravity constantly anyway. 12 years ago
Chris Robinson 137017b325 Don't allow forcing vanity mode 12 years ago
scrawl 1f3df4df0f Perform a sanity check on count arguments 12 years ago
Tom Mason 8486a51535 fixed drop amounts thanks to zinnschlag 12 years ago
Tom Mason 3517635cfd added Drop and DropSoulGem functions 12 years ago
Marc Zinnschlag c6ff58d5b5 Merge remote-tracking branch 'scrawl/videoplayback'
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
12 years ago
Tom Mason 4c5ed43cc9 added removesoulgem, and fixed addsoulgem 12 years ago
Tom Mason c2901fe6cc added addsoulgem scripting function 12 years ago
scrawl f1b138d0a8 Merge branch 'master' into videoplayback
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
12 years ago
scrawl 282601d6e9 support the allowSkipping extra parameter for playBink command. 12 years ago
scrawl 5f676f9c6b Merge branch 'master' of https://github.com/zinnschlag/openmw into videoplayback
Conflicts:
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwscript/miscextensions.cpp
12 years ago
scrawl c4facc233e Merge branch 'master' into videoplayback
Conflicts:
	apps/openmw/mwrender/renderingmanager.cpp
12 years ago
scrawl 644dacf603 suggestion by Zini for SetDelete 12 years ago
scrawl d6dd212ce8 GetWerewolfKills, ModScale, SetDelete, GetSquareRoot 12 years ago
scrawl e68dc19256 GetCurrentTime, HasSoulGem 12 years ago
scrawl 0db48b29c7 GetSpellEffects, GetRace 12 years ago
scrawl 70aa7459f5 GetWeaponDrawn 12 years ago
scrawl 600ed5f38a GetAttacked 12 years ago
scrawl 50baf6dac7 moved to controlextensions 12 years ago
scrawl d7811624d5 GetEffect 12 years ago
scrawl e8ef4dba1e getPcRunning, getPcSneaking, getForceRun, getForceSneak 12 years ago
scrawl 10329c780d GetLocked 12 years ago
scrawl c8562d8442 toggleCollisionBoxes actually does something useful now 12 years ago
scrawl dc33dee22e Merge branch 'master' into videoplayback
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
	apps/openmw/mwscript/miscextensions.cpp
12 years ago
scrawl 0c6ad13364 WakeUpPc instruction 12 years ago
scrawl 73c69e8eda video playback 12 years ago
scrawl be44810623 implemented GetPCSleep 12 years ago
greye e6c3e0744e tvm update and fix 13 years ago
greye 5b2b378f25 tvm script instruction 13 years ago
Marc Zinnschlag 4c39fefd1e Issue #107: World is accessed only through the interface class from now on; some include cleanup 13 years ago
Marc Zinnschlag ff84fbbfa7 Added DontSaveObject script instruction
We are ignoring it for now and unless users protest we will probably keep it that way.
13 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
scrawl e0631dd9be Merge branch 'master' into minimap
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
13 years ago
Nikolay Kasyanov 057c2f2e2a Merge branch 'master' into pgrd-rendering
Conflicts:
	apps/openmw/mwrender/renderingmanager.cpp
13 years ago
Nikolay Kasyanov b21a6291f7 Merge branch 'master' into pgrd-rendering
Conflicts:
	apps/openmw/mwrender/renderingmanager.hpp
	apps/openmw/mwscript/docs/vmformat.txt
	apps/openmw/mwscript/miscextensions.cpp
	apps/openmw/mwworld/world.hpp
13 years ago
scrawl 79c2a2e465 implemented toggleWater (twa); formatting again 13 years ago
Nikolay Kasyanov 11f957a64d Feature #37 (In Progress) Render Path Grid
cubes for path grid points
strange crash when trying to get path grids from Debugging
13 years ago
Nikolay Kasyanov 6357adffcf Fixed typo 13 years ago
Nikolay Kasyanov 5328853445 Feature #37 (In Progress) Render Path Grid
added "togglepathgrid" script command
13 years ago
scrawl f81b615976 implemented script functions FadeIn, FadeOut, FadeTo 13 years ago
scrawl 899aa5b870 fix last commit, also reacts to ToggleWireframe and not only twf 13 years ago
scrawl 40e23fe26f added twf console command 13 years ago
Marc Zinnschlag 125319c441 splitting off console output from messageBox channel 14 years ago
Marc Zinnschlag f52e6bd5ef made toggle-type script instructions more verbose 14 years ago
Marc Zinnschlag 72a84356e2 added tcg/tcb instructions (toggle collision rendering); not fully working yet (problem in OpenEngine or MWScene) 14 years ago
Marc Zinnschlag 2ffe1206a6 merged opcode classes that came in explicit and implicit variants 14 years ago
Marc Zinnschlag 147dd57162 added Lock and Unlock instructions 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 f5a70abd4b added OnActivate 15 years ago
Marc Zinnschlag 3df5d377f2 added xbox function 15 years ago