Commit Graph

91 Commits (d4d46fc60256177968c96e9653ced2f83652338e)

Author SHA1 Message Date
Miloslav Číž d71d984cfa more unused stuff cleanup 7 years ago
Miloslav Číž 525f8b4d8e get rid of special key for 360 screenshot 7 years ago
Miloslav Číž 8f32114025 segfault fix 7 years ago
Miloslav Číž 1b97a541f4 make a new action for 360 screenshot 7 years ago
scrawl 74e806d974 Additionally use movement keys (default WASD) to navigate GUI buttons 7 years ago
MiroslavR 301dd77efb Save controls state (Fixes #3598) 8 years ago
scrawl 53334d08a2 Disable Ready Magic and Cycle Weapon/Spell hotkeys for werewolves (Fixes #3100) 9 years ago
scrawl 3fe38e3556 Remove unused setting 9 years ago
scrawl 05498ad592 Refactor: InputManager no longer depends on Engine 9 years ago
scrawl d11952c48a Stop rendering when the window is minimized 9 years ago
scrawl 49df07ea7f Implement UI scaling factor 10 years ago
scrawl 5442bf23a6 Apply video mode & gamma setting changes 10 years ago
scrawl 39fb46601a Readded input & event handling 10 years ago
scrawl c31b416ba1 Move physicssystem to a new mwphysics module 10 years ago
scrawl 283b252142 Stub InputManager 10 years ago
Ivy Foster ba7fc8609c Add toggle sneak option; fix bug #2119
To enable toggle sneak mode, set "toggle sneak = true" in
the [Input] section of settings.cfg.

Outstanding issues:
    - In toggle sneak mode, holding the Sneak button causes
      rapid, repeated toggling.
    - The button in the settings menu doesn't do anything.
10 years ago
dteviot 407cd50890 fixed warning C4099:
type name first seen using 'class' now seen using 'struct'
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 a192836582 (hopefully) correct gamecontrollerdb.txt behavior 10 years ago
Digmaster e3e6190b85 Added multiple joystick support in ICS. Will fix other issues shortly 10 years ago
Digmaster 1e4a845b6f Minor code cleanup 10 years ago
scrawl 3ce22d31d8 Fix cursor issue when loading savegame from within mouselook-mode and a warning pops up 10 years ago
Digmaster c37881ead1 Joystick Support 10 years ago
scrawl ff0b4e0583 Add debug window (F10), displays Bullet's profiler output 10 years ago
scrawl 319f4e0547 Bind to scancodes instead of keycodes 10 years ago
Fil Krynicki bbb7ceab43 Merge branch 'master' into bug1196jumpdialog
Conflicts:
	apps/openmw/mwinput/inputmanagerimp.cpp
11 years ago
Fil Krynicki cd131e7f86 1196/1217 fix
Fixes an issue where inputs could be processed by both GUI and
gameplay systems. An enabled/disable has been added to OIS
channels, and OpenMW now disables player gameplay hotkeys when
a GUI element has focus. GUI hotkeys are left enabled.
11 years ago
Fil Krynicki 91f4967614 Fix for bug 1196.
This bug would cause the player to jump when jump was assigned to
Space and they closed a dialog with Space. I tested vanilla
MW for behaviour and found that Jump was the only basic input which
MW does not allow when closing dialogs (i.e. if Space is assigned to
move forward, MW will move you forward after closing the dialog).

There were two reasons for the bug:
1) OpenMW GUI does not consume UI events
2) Jump occurs so long as key is down (not only on first key down)

To minimally fix the bug, I made it so that keypress events can be
consumed by the GUI and not passed along to the player control
input manager (1). However, if the player holds space, they will still
jump (as the subsequent key held events will be captured and cause
a jump).

Unfortunately, there is no idiomatic way that I could find in the
OpenMW input manager to perform events only on key down. Instead,
I introduced a variable which tracks whether the jump key has been
pressed for the first time within the current frame (2).

Note: I was initially concerned that limiting the jump event to
KeyDown and not Key Hold would cause issues with swimming,
levitating, or variable height jumping. However, after a bunch
of testing in vanilla MW and exploration of the OpenMW codebase
I could find nothing suggesting the need to capture the jump
key being held.
11 years ago
scrawl d5dd864404 Fixes #1236: Disable all controls while playing movie 11 years ago
Thomas f90810223a Added quicksave and quickload 11 years ago
scrawl f2cd37edd0 Play company logo movie 11 years ago
scrawl 6eaa7553f8 Fixes #1181: Enable controls when loading a savegame 11 years ago
scrawl 439018e706 Get rid of useless return values 11 years ago
scrawl d01f89b153 Rewrite some awful code 11 years ago
scrawl c004fb778f Get rid of underscore defines. They are reserved by the standard. 11 years ago
scrawl 04f9f7af56 Closes #990: Add option to unlock mouse cursor when in any menu 11 years ago
scrawl bcf61331ab Bring back the option to not grab mouse. Useful if running in a mouse-controlled GUI debugger. 11 years ago
scrawl c3d9bc31bb Fix exiting OpenMW via the window close button (regression) 11 years ago
scrawl 4f35fd8184 Removed a workaround from Renderer, some cleanup 11 years ago
scrawl d3d6dfbde8 Refactored loading screen
- Add loading progress for data files, global map, terrain
 - Refactored and improved cell loading progress
12 years ago
scrawl 6164e5bae6 Restored window resizing 12 years ago
vorenon d4739a451a added ability to close container windows with the activation key 12 years ago
scrawl b16bc69479 Removed the no longer needed --debug switch 12 years ago
scrawl b16c92c2f5 Better handle SDL_TEXTINPUT events 12 years ago
scrawl 495aeb5d3b Merge branch 'master' into HEAD
Conflicts:
	CMakeLists.txt
	apps/openmw/engine.cpp
	apps/openmw/mwgui/cursorreplace.cpp
	apps/openmw/mwgui/cursorreplace.hpp
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwgui/windowmanagerimp.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	libs/openengine/ogre/renderer.cpp
12 years ago
scrawl c41f119ba6 Added new game button 12 years ago
scrawl 5b943a965f Handle always run in the inputmanager, instead of using forced stance. 12 years ago
scrawl 2d8f0949a4 Always run key (Y) 12 years ago
scrawl 268bb23590 Implemented sneaking animation 12 years ago
scrawl b1fc68d44d Merge branch 'master' into graphics 12 years ago