Paul Gilbert
a59b4cbc9d
TSAGE: Add in R2R screen border to scenes showing the user interface
2013-10-24 22:42:46 -04:00
Eugene Sandulenko
514f93b57f
FULLPIPE: Implement StaticANIObject::updateStepPos()
2013-10-25 00:34:43 +03:00
Strangerke
0b4baa6873
AVALANCHE: Fix a couple of (theoretical) out of bounds accesses (CID 1109650)
2013-10-24 07:56:32 +02:00
Eugene Sandulenko
b64e621883
FULLPIPE: Implement MessageQueue::transferExCommands()
2013-10-24 01:08:24 +03:00
Johannes Schickel
092d36f392
SDL: Reduce code duplication a bit.
...
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses
overwriting this) we simply initialize it in OSystem_SDL::init.
2013-10-23 22:59:13 +02:00
Johannes Schickel
c323dedf3c
SDL: Fix default graphics mode for switchable case.
...
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns
the index in the table returned by getSupportedGraphicsModes. Now the correct
ID is searched and then used.
2013-10-23 22:59:09 +02:00
Johannes Schickel
d34c9d5bcb
SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL.
2013-10-23 22:59:06 +02:00
Johannes Schickel
a9cb67df08
SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is used.
2013-10-23 22:59:02 +02:00
Johannes Schickel
38543f772c
SDL: Make setupGraphicsModes non-virtual.
...
The logic of switching the managers is pretty much fixed at the same level
and cannot be easily overwritten.
2013-10-23 22:58:57 +02:00
Johannes Schickel
17cb26b93c
SDL: Simplify initial graphics manager selection for OpenGL.
2013-10-23 22:58:53 +02:00
Johannes Schickel
4080a7a3f6
SDL: Get rid of _glModesCount.
2013-10-23 22:58:50 +02:00
Johannes Schickel
c5e2b5158c
SDL: Get rid of loop in OSystem_SDL::setGraphicsMode.
2013-10-23 22:58:46 +02:00
Johannes Schickel
e91300f70c
SDL: Clean up graphics mode handling for OpenGL backend.
...
Instead of custom memory management Common::Array is used now.
2013-10-23 22:58:42 +02:00
Johannes Schickel
1a56b521b5
SDL: Always initialize video subsystem in initSDL.
2013-10-23 22:58:38 +02:00
Johannes Schickel
6e46e9dfaf
SDL: Clean up graphics manager switching slighty.
...
Sadly this also requires us to extend GraphicsManager for this SDL specific
feature. However, since that's only used in the SDL backend and Tizen it
should be fine for now...
2013-10-23 22:58:34 +02:00
Eugene Sandulenko
18d2bbc228
FULLPIPE: Implement MovGraph::calcNodeDistancesAndAngles()
2013-10-23 00:49:55 +03:00
Eugene Sandulenko
1dd90e4ea9
FULLPIPE: Implement MovGraph::calcOffset()
2013-10-23 00:37:04 +03:00
Strangerke
32c52c3df7
AVALANCHE: Fix CID 1109698 - Uninitialized scalar field in Sequence
2013-10-22 11:01:28 +02:00
Strangerke
f7586343b6
AVALANCHE: last modification wasn't in previous commit, fixed.
2013-10-22 10:49:13 +02:00
Strangerke
862a46d5dd
Avalanche: Replace some British English by American English
...
pointed by clone2727
2013-10-22 06:00:00 +02:00
Paul Gilbert
bf8896f7df
TSAGE: Fix for R2R conversations playing when playing voice without subtitles
2013-10-21 22:49:10 -04:00
Eugene Sandulenko
4bcbd78909
FULLPIPE: Implement MovGraph2::getShortSide()
2013-10-22 00:41:06 +03:00
Paul Gilbert
b6bace0fa0
TSAGE: Further R2R fixes for voice playback looking at hotspots
2013-10-20 13:47:06 -04:00
Paul Gilbert
0a4a14c9c9
TSAGE: Fix for R2R player sometimes appearing black after reloading
2013-10-20 10:56:42 -04:00
Paul Gilbert
cb41847388
TSAGE: Fix for correctly setting up playing voice number
2013-10-20 10:32:53 -04:00
Johannes Schickel
f20471d962
Merge pull request #408 from lordhoto/opengl-replacement
...
OpenGL revamp
2013-10-20 06:20:46 -07:00
Eugene Sandulenko
4c3972d68a
NEVERHOOD: Fixes for museum walls in Russian version
2013-10-19 23:48:36 +03:00
Johannes Schickel
05c347fc8a
OPENGL/SDL: Add screenshot support.
2013-10-19 22:18:22 +02:00
Johannes Schickel
37f7123552
TIZEN: Add some further OpenGL related changes by Chris.
2013-10-19 22:18:22 +02:00
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
Eugene Sandulenko
a9aaca4608
FULLPIPE: Implement MovGraph2::findMinPath()
2013-10-19 00:44:10 +03: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