dteviot
3f28634d1f
consolidate random number logic
...
Note, I suspect Rng::rollClosedProbability() is not needed. The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
scrawl
457c135097
Remove old workaround
10 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
2b7287cbd2
Merge branch 'master' of https://github.com/OpenMW/openmw into joystick
...
Conflicts:
CMakeLists.txt
10 years ago
Digmaster
84ff11d0ab
check if v2 exists before attemping to copy it
10 years ago
Digmaster
464bbe4d6f
if v2 doesn't exist, don't erroneously set keyboardUserExists to true.
10 years ago
Digmaster
5d77ebdc60
If v3 doesn't exist, copy from v2
10 years ago
scrawl
97cc2522c0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
apps/openmw/mwgui/settingswindow.cpp
extern/oics/ICSInputControlSystem_joystick.cpp
files/mygui/openmw_settings_window.layout
10 years ago
Digmaster
df5513da7c
uses v3 input bindings, not v2
10 years ago
Digmaster
a192836582
(hopefully) correct gamecontrollerdb.txt behavior
10 years ago
scrawl
3ccf4642b4
Implement ToggleScripts
10 years ago
scrawl
c27c20a859
Merge remote-tracking branch 'upstream/openmw-35' into HEAD
...
Conflicts:
files/materials/water.shader
10 years ago
scrawl
dbd4abd6fe
Fix ripples for D3D - added simpler effect ( Fixes #1649 )
10 years ago
scrawl
955505c167
Remove unused function
10 years ago
scrawl
27dc49a135
Rewrite game settings manager
...
Removes the abhorrent dependency on Ogre for this code and improves the error handling.
10 years ago
Marc Zinnschlag
38a413a483
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
4e92f6ab48
Add commandline option to load a save game on startup
10 years ago
scrawl
157438460b
Fix being able to activate objects when paralyzed
10 years ago
scrawl
de12c96a46
Fix crash on exit if the window wasn't created ( Fixes #2249 )
10 years ago
Marc Zinnschlag
ec1df719fe
Merge remote-tracking branch 'mrcheko/master'
10 years ago
mrcheko
60a74d5eb8
increase robustness for gamma to persist in the system;
...
use GMST strings for gamma interface
10 years ago
scrawl
363d1f9207
Merge remote-tracking branch 'upstream/master'
10 years ago
mrcheko
04d95810d1
gamma/contrast system reworked
10 years ago
scrawl
e73e975291
Fix player being able to activate objects when knocked out
10 years ago
Sebastian Wick
e85df00158
change setting "borderless" to "window border"
...
set window border on setting changes
disable window border checkbox in the launcher if fullscreen is enabled
10 years ago
Sebastian Wick
639fbfad0b
make borderless setting available to the UI
10 years ago
Marc Zinnschlag
057d0913d6
Merge branch 'scriptfixes'
10 years ago
Marc Zinnschlag
a6d30bc2e3
consider --script-warn when running with --script-all-dialogue
10 years ago
Nik Dyonin
80c92789c2
Fix issue when killed NPC cannot be looted if it was in combat mode before killing.
10 years ago
Marc Zinnschlag
1f74d8cca5
Merge remote-tracking branch 'scrawl/scripttest'
10 years ago
scrawl
ba65c6cc7f
Add --script-all-dialogue switch to compile all dialogue scripts ( Fixes #1659 )
10 years ago
scrawl
ed6face4aa
Disable activation scripts for actors in combat
10 years ago
Digmaster
c37881ead1
Joystick Support
10 years ago
scrawl
d36dfbe779
Apply the frame time cap to Ogre's ControllerManager ( Fixes #2154 )
...
This fixes particle systems getting out of whack due to a particularly long frame time, e.g. after a loading screen.
10 years ago
Jordan Ayers
aac2de270e
Cleanup: Don't call <environment obj>.get().
...
mEnvironment.get() is redundant. Switch the call to resemble the
surrounding environment get() calls, instead.
10 years ago
scrawl
9c0649c11d
Add basic framework to retrieve font colors from fallback settings (Feature #704 )
10 years ago
scrawl
54dac1460c
Run global scripts after running local scripts
...
Turns out to be a compatibility problem with Calvus Horatius contract scripts. The local script needs to be run first, otherwise the cleanup when he quits as result of negative profit does not work properly.
10 years ago
Marc Zinnschlag
19f469c7db
Merge remote-tracking branch 'scrawl/master'
10 years ago
Marc Zinnschlag
d1d861e1be
Merge branch 'run'
...
Conflicts:
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/data.cpp
components/CMakeLists.txt
10 years ago
scrawl
4426b03fa4
Remove some garbage
10 years ago
scrawl
0c273568f2
Increment version number for input configuration
...
Old files are broken by keycode->scancode switch (319f4e0547
)
10 years ago
scrawl
36a90198e2
Add option to change screenshot image format
10 years ago
scrawl
2379c0ada7
Pause frame updates when the window is minimized ( Fixes #1868 )
10 years ago
Marc Zinnschlag
a9df3b53fd
restored --new-game switch
10 years ago
scrawl
2b407a9995
Refactor NIF cache
...
- Remove broken cache locking mechanism
This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.
- Decouple cache from NIFFile (now a new nifcache component)
- Add API for future background loading
- Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
scrawl
63cb91db2e
Add --export-fonts command line option
11 years ago
Marc Zinnschlag
d0654f3ade
move starting of startup scripts from engine startup to new game start; also restart all startup scripts on saved game load
11 years ago
Marc Zinnschlag
a3c4000198
moved call to Globalscripts::addStartup out of the constructor because at the time of construction the environment may not be set up yet to perform this operation
11 years ago
Marc Zinnschlag
d87630b41a
blacklisting for scripts in OpenMW
11 years ago
scrawl
326c747508
Don't run scripts when in pause menu ( Fixes #1495 )
11 years ago