Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel fa90f9797c GUI: Check for screen change whenever an event is polled.
This should *hopefully* really fix all GUI crashes when resizing with OpenGL.
2013-10-19 22:18:22 +02:00
Johannes Schickel bb1d49ba9c OPENGL: Limit maximum Surface size to maximum texture size.
This is mostly aimed at old graphics chips. For example, wjp's old laptop
only supports 1024x1024 textures but has a 1280x800 screen. Switching to
fullscreen would create a bigger overlay than supported. Now it will get
limited to an smaller resolution and then scaled too.

Alternatively we could think of tiling surfaces into textures. But then
handling scaling would be more complicated since it might result in
artifacts on texture tile borders.
2013-10-19 22:18:15 +02:00
Johannes Schickel 53f9c0d69b SDL: Send EVENT_SCREEN_CHANGED after receiving SDL_VIDEORESIZE when necessary.
This fixes some ugly crashes when resizing the window in OpenGL mode.
2013-10-19 22:17:42 +02:00
Johannes Schickel ed180f6b67 BASE: Add hack to switch graphics manager in runGame.
This is a (temporary) hack to assure that when the launcher is set up as an
SurfaceSDL graphics mode and the game is using an OpenGL graphics mode
everything will work as expected.
2013-10-19 22:17:42 +02:00
Johannes Schickel 20e4a7f0ce TIZEN: Adapt to new OpenGL code.
Thanks to Chris Warren-Smith for testing this a bit.
2013-10-19 22:17:42 +02:00
Johannes Schickel decc013e53 OPENGL: Implement dirty rect handling. 2013-10-19 22:17:42 +02:00
Johannes Schickel 50a86463c1 SDL: Use OSD in OpenGL SDL backend. 2013-10-19 22:17:42 +02:00
Johannes Schickel cc9c991d77 OPENGL: Add OSD support. 2013-10-19 22:17:39 +02:00
Johannes Schickel 5ce830b976 SDL: Add a OpenGL SDL backend and hook it into the SDL backend.
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL
creation has been adapted since it uses a different constructor now.
2013-10-19 22:14:24 +02:00
Johannes Schickel 46323074e7 OPENGL: Add new generic OpenGL (ES) backend.
This backend is based on ideas of the old OpenGL backend, of the Android GL
backend and of the iPhone GL backend.
2013-10-19 22:12:01 +02:00
Eugene Sandulenko 6ec72a82d5 FULLPIPE: Fix crash in MovGraph2::buildMovInfo1SubItems() 2013-10-19 23:09:59 +03:00
Paul Gilbert 5ecfc1e48f TSAGE: Fixes for allowing selecting speech in the ScummVM options dialog 2013-10-19 16:02:51 -04:00
Eugene Sandulenko a5c7cdcc0c FULLPIPE: Implement MovGraph2::findLink() 2013-10-19 21:22:15 +03:00
Eugene Sandulenko 33c849698f FULLPIPE: Implement MovGraph2::buildMovInfo1SubItems() 2013-10-19 21:22:15 +03:00
Paul Gilbert 33e75a8718 TSAGE: Bugfixes for voice playback to work in conversations 2013-10-19 10:45:31 -04:00
Kamil Zbróg 852a963711 Merge branch 'master' into prince
Conflicts:
	engines/plugins_table.h
2013-10-19 12:40:55 +01:00
Marisa-Chan aefa58f5a4 ZVISION: Correcting TimerNode behavior. 2013-10-18 22:58:02 +00:00
Marisa-Chan 4ac2c3e93b ZVISION: Move TimerNode to SideFX-based class. 2013-10-18 22:44:33 +00:00
Eugene Sandulenko a9aaca4608 FULLPIPE: Implement MovGraph2::findMinPath() 2013-10-19 00:44:10 +03:00
Marisa-Chan 96ac92aae3 ZVISION: Added type field for SideFX 2013-10-18 20:43:04 +00:00
Marisa-Chan a6f025c74f ZVISION: Basic integration of SideFX into scriptManager. 2013-10-18 20:11:33 +00:00
Marisa-Chan 82348a74df ZVISION: New base class similar to control for handling timers, music, etc... 2013-10-18 19:48:57 +00:00
Marisa-Chan 2050987fa1 ZVISION: Detach raw stream reader from RawZorkStream for creating correct avi raw reader. 2013-10-18 19:48:57 +00:00
Marisa-Chan 7a3518d7c3 ZVISION: Streamvideo alwayas skippable. Skippable flag renamed to skipline. 2013-10-18 19:48:57 +00:00
Marisa-Chan f1c6b58a94 ZVISION: Select needed workingWindow for ZGI and Nemesis. 2013-10-18 19:48:57 +00:00
Marisa-Chan cf99a88322 ZVISION: Change platform detection of ZGI, dos->win. 2013-10-18 19:48:57 +00:00
Marisa-Chan 4baa1801fe ZVISION: Don't need to set push flag in cursorDown because it's block change cursor image. 2013-10-18 19:48:57 +00:00
Marisa-Chan b9ad7e80a5 ZVISION: screenSpaceToImageSpace return 0,0 when pointer outside working window. 2013-10-18 19:48:57 +00:00
Eugene Sandulenko 7ef9798fd4 TOUCHE: Initialize uninit variables. CID 1002423 2013-10-18 16:11:54 +03:00
Eugene Sandulenko fee20ebe31 DREAMWEB: Initialize few more class variables. CID 1003402 2013-10-18 16:04:48 +03:00
Eugene Sandulenko 6ff57db90f DRASCULA: Initialize class variables. CID 1003403 2013-10-18 16:01:10 +03:00
Eugene Sandulenko 2a6a23e88a DRACI: Initialized class variables. CID 1003405 2013-10-18 15:59:22 +03:00
Eugene Sandulenko 834ff819df DRACI: Fix negative array index read. CID 1003548 2013-10-18 15:56:50 +03:00
Eugene Sandulenko 8390e53fc0 FULLPIPE: Plug resource leak. CID 1107570 2013-10-18 15:54:59 +03:00
Matthew Hoops aba818d195 ZVISION: Attempt to fix compilation on AmigaOS4 2013-10-18 06:13:32 -04:00
Matthew Hoops 821a7430da WINTERMUTE: Remove useless __inline 2013-10-17 23:39:05 -04:00
Matthew Hoops 3c6c91a604 ZVISION: Make the line height be an int 2013-10-17 23:08:17 -04:00
Matthew Hoops 396808638d ZVISION: Consistently use the type of the state map
Should fix the AmigaOS4 build
2013-10-17 23:02:22 -04:00
Matthew Hoops e8fe506a1e BUILD: Mark ZVision as requiring freetype2/16bit 2013-10-17 22:36:26 -04:00
Willem Jan Palenstijn a532c7729f Merge branch 'zvision'
This merges pull request 395 for the ZVision engine developed during
GSoC2013.
2013-10-17 23:00:00 +02:00
Eugene Sandulenko 6b9abcc2ec NEVERHOOD: Another fix for Russian version 2013-10-17 23:54:50 +03:00
Willem Jan Palenstijn 1771162242 Merge branch 'avalanche'
This merges pull request 399 for the Avalanche engine developed during
GSoC2013.
2013-10-17 22:33:15 +02:00
Willem Jan Palenstijn 748ba2475a AVALANCHE: Fix broken xml entity in credits 2013-10-17 22:32:49 +02:00
Eugene Sandulenko 109ff80475 FULLPIPE: Implement MovGraph2::findLink2() 2013-10-17 23:19:28 +03:00
Eugene Sandulenko 2f1387bb26 FULLPIPE: Implement MovGraph2::findLink1() 2013-10-17 23:19:28 +03:00
urukgit 38b842ba71 AVALANCHE: callDialogDriver, displayText, unSkrimble, doTheBubble string cleanup
Unify callDialogDriver() and displayText(). Rework it, unSkrimble() and
doTheBubble() to use Common::String instead of a private buffer. This
fixes the bug regarding examining the money bag.
2013-10-17 22:17:10 +02:00
Strangerke 1c3fcf22a1 AVALANCHE: Some more refactoring 2013-10-17 22:17:10 +02:00
Strangerke 5f0361c03a AVALANCHE: Move Bubble pos to Dialogs, make them private 2013-10-17 22:17:10 +02:00
Strangerke 5f180a06ba AVALANCHE: Rework animation init/remove some more 2013-10-17 22:17:10 +02:00
Strangerke 06f94c1085 AVALANCHE: Remove 3 useless variables in Animation 2013-10-17 22:17:10 +02:00