Commit Graph

560 Commits (1d84cbe96351b9cd00c5ea0fadf71e7a5b1a796b)

Author SHA1 Message Date
scrawl 481f23d955 Implement framerate limit setting
The framerate limit can be used to reduce strain on the CPU and GPU, in a way similar to VSync, but without the increased input lag that is typical with VSync.
9 years ago
scrawl d11952c48a Stop rendering when the window is minimized 9 years ago
slothlife 4fd00a75d5 Merge advanceTime and advanceTimeByFrame 9 years ago
slothlife 54fa5273dc Refactor weather transitions to act more like MW
Fixed several issues:
* Waiting/jail time/training all now properly skip remaining transitions
* ChangeWeather no longer permanently sets the region's weather
* ChangeWeather being called during a transition now correctly queues up
another transition
* Corrected transition delta and factor calculations
* ModRegion settings are now saved
9 years ago
Marc Zinnschlag a52b947efe Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3' 10 years ago
scrawl af3b0cd883 Improve some error messages 10 years ago
dteviot ff5ef7055e extracted function CreatureStats::isParalyzed() 10 years ago
Jordan Ayers be7bd9529d Classes shouldn't use MWBase::Environment to access their own members. 10 years ago
scrawl b01abe4d19 Stop title music when the game starts (Fixes #2468) 10 years ago
Marc Zinnschlag b3ad983f1f Merge remote-tracking branch 'scrawl/version'
Conflicts:
	apps/openmw/mwgui/windowmanagerimp.cpp
10 years ago
slothlife f8f0380413 Fix for loading window icon on Windows 10 years ago
scrawl f09e4620b6 Move OpenMW version information to a textfile instead of compiling it in
Now we don't need to recompile 3 .cpp files and re-link whenever the current git HEAD changes.
10 years ago
scrawl 9fc2c2e8ee Don't advertise an alpha channel in GraphicsContext::traits (Bug #2677) 10 years ago
scrawl 195e1a8410 Fix the Viewer's FrameStamp not being set correctly during Engine::frame 10 years ago
scrawl 7407bbdac9 Add a function for SDL error handling 10 years ago
scrawl 800bd511f6 Set a sensible value for SDL_GL_DEPTH_SIZE (Bug #2649) 10 years ago
scrawl 700000cbca Error handling fix 10 years ago
scrawl 403ce30a35 Graceful handling for failing to create SDL window 10 years ago
scrawl e642f20a65 Restore screenshot key functionality 10 years ago
scrawl 9ee63dc3f4 Change stats viewer key to f3 10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl da24e298ee Fix -Wreorder warnings 10 years ago
scrawl 9b8e2e9db3 Port MWRender::Camera 10 years ago
scrawl 737c2114dc Change viewer stats keybinding to F9 10 years ago
scrawl b7fa645530 Don't destroy a NULL window 10 years ago
scrawl 24bb2e152c Apply texture filter setting changes 10 years ago
scrawl e3b1707bbd Pause simulationTime when the GUI is up 10 years ago
scrawl 9ea416b852 Readded HW cursor manager (no image rotation yet) 10 years ago
scrawl 39fb46601a Readded input & event handling 10 years ago
scrawl 298b3ed2ef Create the GraphicsWindowSDL2 directly 10 years ago
scrawl 0498e6e5f0 Readded window icon 10 years ago
scrawl 36e0cfbc9d Cleanup 10 years ago
scrawl 375b736e74 Use SDL to create the window
No input nor event loop handling yet, so the window will "stop responding" after a few seconds.

Thanks to KittyCat for the GraphicsWindowSDL2 code.
10 years ago
scrawl c843cfc8e2 Physics stub in preparation for rewrite 10 years ago
scrawl c8eb77c557 Move StatsHandler construction to allow profiling of loading screen 10 years ago
scrawl 77f733362c Add stats graphs for Script, Mechanics and Physics timings 10 years ago
scrawl c1edc30ad7 Dead code removal 10 years ago
scrawl e1f4a7f647 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/openmw/engine.cpp
	apps/openmw/mwgui/mainmenu.cpp
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwrender/animation.cpp
	apps/openmw/mwrender/debugging.cpp
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwrender/sky.cpp
	components/nif/nifkey.hpp
	components/nif/nifstream.hpp
	components/nifbullet/bulletnifloader.cpp
	components/nifogre/ogrenifloader.hpp
	libs/openengine/bullet/physic.cpp
	libs/openengine/gui/manager.cpp
10 years ago
scrawl 9de575ad42 Use IncrementalCompileOperation to incrementally upload OpenGL objects during the loading screen
For now, not much difference, but should result in a sizable speed up once MyGUI no longer needs the DYNAMIC flag (i.e. the loading screen truly renders in the background).
10 years ago
scrawl 283b252142 Stub InputManager 10 years ago
scrawl 1a5407af98 Reduce texture memory usage in OpenMW 10 years ago
scrawl 8817f44d63 Remove advanced FPS counter (obsoleted by the OSG stats viewer) 10 years ago
scrawl b0804734e5 Port VideoWidget 10 years ago
scrawl a59940a2c7 Move MyGUI platform to components 10 years ago
scrawl 62847f0489 Use node masks to separate Scene and GUI 10 years ago
Rohit Nirmal 997347b01e Silence -Wreorder warnings. 10 years ago
scrawl 0ff7b2ff11 MechanicsManager, frame update 10 years ago
scrawl 15164e20f7 Cleanup fix 10 years ago
scrawl 42d6c6140c Add mygui backend by chris 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 26766b8e0a Dead code removal 10 years ago
scrawl 9c4b2ea61a CreatureAnimation compiles 10 years ago
scrawl 083c41c950 Environment map for enchanted objects 10 years ago
scrawl 13a1ba0aab Moon rendering 10 years ago
scrawl 5dd1ab24fe More efficient StateSetController, beginnings of sky rendering 10 years ago
scrawl 8c7c89a4aa Port SoundManager 10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
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