Commit Graph

44 Commits (openmw-35)

Author SHA1 Message Date
scrawl 60f722b0a9 Treat the first mouse motion event as non-relative
This fixes incorrect starting camera orientation when using --skip-menu or --load-savegame.
10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl 7f95e1e6c2 Don't warn about SDL_CLIPBOARDUPDATE events 10 years ago
scrawl 162549b7af Remove a wrong comment 11 years ago
scrawl fcab53b3f7 Fix locked mouse cursor due to SDL_SetRelativeMouseMode even when --no-grab was specified 11 years ago
scrawl eff648e3ab Show unhandled SDL events in hexadecimal (easier to compare with the enum) 11 years ago
scrawl e7b9b6d87a Fix a confusing variable name 11 years ago
scrawl a3dffd5d57 Add some missing SDL to MyGUI key translations.
Most importantly to allow numpad enter as alternative to return key.
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 7f735c2c4c Release and show the cursor when focus lost 11 years ago
Marc Zinnschlag b7bb7d6902 Merge remote-tracking branch 'scrawl/master'
Conflicts:
	apps/opencs/editor.cpp
11 years ago
scrawl c3d9bc31bb Fix exiting OpenMW via the window close button (regression) 11 years ago
scrawl e6960d915a Add simple Ogre widget 11 years ago
scrawl 2fb059e2fa Don't destroy the SDL window twice 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
Nikolay Kasyanov e7500b22ba Fixed listener call issue spotted by @scrawl 12 years ago
Nikolay Kasyanov 4e9ef31375 Added missing(?) break 12 years ago
Nikolay Kasyanov 98216544de screw tabs 12 years ago
Nikolay Kasyanov e552eccaa4 Fixed endless message loop after trying to resize window on OS X 12 years ago
scrawl 6164e5bae6 Restored window resizing 12 years ago
scrawl 50a0d16f8f Pass only the X11 window to Ogre, otherwise it would treat it as parentWindowHandle instead of externalWindowHandle. parentWindowHandle does not seem to play nice with SDL and occasionally crashes with a GLXBadDrawable error on startup. 12 years ago
scrawl b16c92c2f5 Better handle SDL_TEXTINPUT events 12 years ago
scrawl 03682184c6 Enable SDL_TEXTINPUT events only when a text input widget currently has key focus 12 years ago
scrawl 88acebf808 Fix an uninitalized member, and also make sure the mouse is captured when OpenMW starts 12 years ago
scrawl 5252ffa104 More cleanup 12 years ago
scrawl 6958940131 Ignore repeated keystrokes, except for text input events 12 years ago
scrawl f1ff9b69b3 Mouse grab and relative input need to be disabled when the mouse leaves the window; Disabled resolution switching / window resizing for now due to several glitches 12 years ago
scrawl 4fb32f7f05 Moved window resize messages to sdlinputwrapper 12 years ago
scrawl 403704b92a Use openmw.png for SDL_SetWindowIcon 12 years ago
scrawl 918a1655bb Restored HW cursor rotation and resolution/fullscreen switching 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
Jordan Milne 10a3caa504 more resizing fixes from scrawl, share an SDLWindow between the input wrapper and the engine 12 years ago
Jordan Milne 043e29c620 Have SDL manage the window instead of OGRE to work around SDL Windows bugs (grumble) 12 years ago
Jordan Milne b6ec64485c fix includes for Windows 12 years ago
Jordan Milne eb08f407d3 Oops, remove resource leak in the input wrapper. 12 years ago
Jordan Milne 5a6589af01 extract cursor management to a separate class, have windowmanager communicate with it. Initialize SDL during engine start 12 years ago
scrawl d71b583855 fix const cast, fix comment 12 years ago
Jordan Milne 651a654985 clean up our cursors during destruction 12 years ago
Jordan Milne eeacb04fe2 Fully working hardware cursors (if you compile SDL2 with XCursor support) 12 years ago
Jordan Milne f9b064d1bc add preliminary hardware cursor support into sdl4ogre and windowmanagerimp, handle alt-tabbing away from fullscreen gracefully 12 years ago
Jordan Milne a030c03513 support the printscreen button properly 12 years ago
Jordan Milne 403b6756f5 remove dependency on boost::locale, use system mouse position in in-game menus 12 years ago
Jordan Milne 601d79ef3f fix the mouse wheel in mygui 12 years ago
Jordan Milne ed644259ce Move SDL helpers to their own package in extern/, allow conversion from sdl to ois keycodes, (maybe) fix unicode handling 12 years ago