Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
ef93d6921e
Make keymapper compilable again
...
svn-id: r48278
2010-03-18 15:05:14 +00:00
Max Horn
0e0e11e641
Fix warnings
...
svn-id: r48277
2010-03-18 15:04:57 +00:00
Max Horn
4e99cfc549
Switch from Common::tag2string(foo).c_str() to tag2str(foo)
...
svn-id: r48276
2010-03-18 15:04:38 +00:00
Max Horn
a17bbf3c2e
GUI: Make GuiObject::_name const, init all members in constructor
...
svn-id: r48275
2010-03-18 15:04:15 +00:00
Arnaud Boutonné
80a8111193
Use resSize instead of computing its value again.
...
svn-id: r48274
2010-03-17 20:29:26 +00:00
Arnaud Boutonné
072e3806f1
Add detection for Adiboo 2.14. Specify the exact version of a Adi 4.0
...
svn-id: r48273
2010-03-16 19:59:12 +00:00
Johannes Schickel
1242a4eb8c
Some style fixes.
...
svn-id: r48272
2010-03-16 14:34:25 +00:00
Martin Kiewitz
2624b72513
SCI: fix assert in sound code when fadeout is done (lsl1 bug #2970301 )
...
svn-id: r48271
2010-03-16 14:13:52 +00:00
Travis Howell
b968a69468
Add patch #2970176 - V0: MM Verb + Anim Fix.
...
svn-id: r48269
2010-03-16 08:59:48 +00:00
Travis Howell
a7e6397fa4
Add patch #2971126 - MM V0: Ed(na) walk fix.
...
svn-id: r48268
2010-03-16 08:43:46 +00:00
Travis Howell
2035cdbba8
Add patch #2970899 - MM V0: flipped limbs drawing fix.
...
svn-id: r48267
2010-03-16 08:38:06 +00:00
Paul Gilbert
730405f975
Further code implemented for the current action display
...
svn-id: r48266
2010-03-16 08:26:08 +00:00
Sven Hesse
a1f1cdf820
Changing Imd::renderFrame() and Vmd::renderFrame() to properly clip the drawing area to prevent overdrawing without producing garbage output
...
svn-id: r48264
2010-03-15 22:24:11 +00:00
Sven Hesse
a9b7722df3
The frame coordinate cropping for IMDs is wrong, and should be unnecessary anyway, since Imd::renderFrame() should already check for overblitting. This fixes bug #2969904 ("GOB3: Graphical Glitch in finished cutscene")
...
svn-id: r48262
2010-03-15 17:44:59 +00:00
Paweł Kołodziejski
77c033aca7
fixed terminate line
...
svn-id: r48260
2010-03-14 09:28:35 +00:00
Paweł Kołodziejski
92aafad6c9
add meta file for samsung tv 2008
...
svn-id: r48258
2010-03-14 09:24:59 +00:00
Paul Gilbert
404088f58b
Further separation of MADS and M4 scene logic
...
svn-id: r48257
2010-03-14 05:47:33 +00:00
Paul Gilbert
77c821249e
Further work on separating M4 specific scene code into the m4_scene.cpp file
...
svn-id: r48256
2010-03-14 05:39:47 +00:00
Paul Gilbert
f4bf67cd21
Increased the default Discworld 2 double-click time from 0.33 seconds to 0.55 seconds (from 6 to 10 frames)
...
svn-id: r48255
2010-03-14 03:40:16 +00:00
Johannes Schickel
40562798d6
Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
...
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.
svn-id: r48254
2010-03-13 21:55:49 +00:00
Paweł Kołodziejski
958fa8d5cb
cleanup samsungtv sdl-config
...
svn-id: r48251
2010-03-13 19:30:12 +00:00
Paweł Kołodziejski
124d1cacac
rename samygo to cl
...
svn-id: r48250
2010-03-13 18:19:43 +00:00
Max Horn
75a3f4a3ec
Fix from LordHoto for bug #2859401 : GUI: GMM crashes when running in 320x200 and 320x240
...
svn-id: r48248
2010-03-12 23:02:24 +00:00
Max Horn
79662919c6
Fix bug #2969282 : DW2: Weird "PC SPEAKER-like" sound distortion.
...
svn-id: r48246
2010-03-12 22:34:54 +00:00
Johannes Schickel
bee3321ec4
This hopefully fixes building on win64.
...
svn-id: r48245
2010-03-12 13:10:37 +00:00
Max Horn
314a119b9d
GP2x: Oops, forgot to checkin this file
...
svn-id: r48244
2010-03-12 10:31:58 +00:00
Max Horn
d3c29a62ae
GP2X: Try to fix compile error
...
svn-id: r48243
2010-03-12 00:46:54 +00:00
Max Horn
8f560e5aaf
Fix typos
...
svn-id: r48242
2010-03-12 00:37:25 +00:00
Max Horn
4fc8ebab01
GUI: Remove GuiObject::getMillis()
...
svn-id: r48241
2010-03-11 23:41:28 +00:00
Max Horn
6e78fdc161
cleanup
...
svn-id: r48240
2010-03-11 23:40:40 +00:00
Max Horn
77fc15ce82
MIXER: Change MixerImpl::playInputStream to error out when mixer is not ready
...
My previous commit which tried to support this does not work correctly when
using QueuingAudioStream; it then just leads to nasty crashes. Hence I am
removing this again for now, until I get around to implement one of the
better alternatives.
svn-id: r48239
2010-03-11 23:40:19 +00:00
Max Horn
9b837d66d4
Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
...
svn-id: r48238
2010-03-11 23:39:51 +00:00
Sven Hesse
5886a0cc77
Removing a debug warning() and adding some comments
...
svn-id: r48236
2010-03-11 19:47:59 +00:00
Sven Hesse
8191092c18
Loading the intro videos tira.imd and tirb.imd as early PreIMD
...
svn-id: r48235
2010-03-11 06:15:51 +00:00
Sven Hesse
c8d5f21010
Adding support for the early Fascination IMD format
...
svn-id: r48234
2010-03-11 06:15:23 +00:00
Sven Hesse
31f980ffde
Adding support for the very primitive and simply early IMD format used in Fascination
...
svn-id: r48233
2010-03-11 06:14:52 +00:00
Andrew Kurushin
802ed6eb40
Fix bug #2963556 : SAGA: Memory leaks #2
...
isomap-malloc to Common::Array conversation
svn-id: r48232
2010-03-10 21:44:58 +00:00
Max Horn
05b8c5b9c5
Replace mutex_up/mutex_down methods by Common::StackLock
...
svn-id: r48231
2010-03-10 21:05:48 +00:00
Max Horn
43abd0e019
cleanup
...
svn-id: r48230
2010-03-10 21:03:50 +00:00
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01:44 +00:00
Max Horn
5af51ba9a1
N64: code formatting
...
svn-id: r48228
2010-03-10 20:58:09 +00:00
Max Horn
8d1431a5ab
AGOS: cleanup
...
svn-id: r48227
2010-03-10 20:56:54 +00:00
Johannes Schickel
80fae481b0
Fix a valgrind warning.
...
It is *not* a good idea to pass a reference to a list entry to List::remove.
Since List::remove will remove *all* occurances of that list entry, it will
also invaldiate the reference, resulting in invalid memory reads after the
entry has been removed from the list, when List::remove will continue to
search the rest of the list for more occurances of the same entry.
svn-id: r48225
2010-03-10 20:33:38 +00:00
Andrew Kurushin
91e7d27468
Fix bug #2963556 : SAGA: Memory leaks
...
svn-id: r48224
2010-03-10 17:05:25 +00:00
Paul Gilbert
ca64698408
Split up the SceneResources class into a generic common set, with specific versions each for M4 and Mads, and merged the MadsSceneInfo data into it
...
svn-id: r48223
2010-03-10 11:43:48 +00:00
Max Horn
77592b5690
Fix warning
...
svn-id: r48222
2010-03-10 11:26:27 +00:00
Max Horn
ae3cf39763
Patch #2967256 : Bashisms in configure break build on Solaris
...
svn-id: r48219
2010-03-10 10:57:03 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
fc50408ce3
DRASCULA: Simplify playFLI and its subroutines
...
svn-id: r48217
2010-03-09 23:36:18 +00:00