37369 Commits

Author SHA1 Message Date
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Vladimir Menshakov
8f30fa1a6c marked all methods with virtual
svn-id: r48309
2010-03-20 12:18:56 +00:00
Vladimir Menshakov
a5c66b64f5 do not read last dummy entry in pack
svn-id: r48308
2010-03-20 12:18:13 +00:00
Johannes Schickel
a0f90fd603 Add common/util.h include to common/algorithm.h for SWAP.
This should fix the compilation with clang++, see bug report
 #2971226 "COMMON: Compile error - SWAP undeclared in algorithm.h".

svn-id: r48307
2010-03-20 12:13:37 +00:00
Max Horn
9015be8165 Also remove Win32PluginProvider::addCustomDirectories, as it obviously isn't being used
svn-id: r48304
2010-03-19 13:55:25 +00:00
Max Horn
23547d6041 DC: Removing unneeded DCPluginProvider::addCustomDirectories
svn-id: r48301
2010-03-19 13:46:59 +00:00
Yotam Barnoy
b9d876e23a PSP: removed unneeded overload of addCustomDirectories()
svn-id: r48299
2010-03-19 11:55:18 +00:00
Paul Gilbert
b2b7a08cc2 Beginnings of hooking up the new logic for current action display
svn-id: r48298
2010-03-19 09:19:23 +00:00
Vladimir Menshakov
412e63123e code convention fixes mentioned by Max Horn
svn-id: r48296
2010-03-18 23:30:29 +00:00
Vladimir Menshakov
e245de962a removed 'varia.res' from the resident pack files
svn-id: r48295
2010-03-18 23:24:32 +00:00
Vladimir Menshakov
062ac9f6f2 do not seek for the empty assets
svn-id: r48293
2010-03-18 22:37:07 +00:00
Vladimir Menshakov
77411ff0f9 added abstract Pack class, moved code into FilePack and MemoryPack
svn-id: r48292
2010-03-18 22:35:58 +00:00
Johannes Schickel
3f2057226f Commit salty-horse's patch for VectorRendererSpec.cpp, which fixes the use of invalid C++.
svn-id: r48291
2010-03-18 21:45:27 +00:00
Max Horn
ad8584d25c One more try to make DC & PSP compile again
svn-id: r48290
2010-03-18 20:19:58 +00:00
Max Horn
156a106ebc Trying to fix compilation (porters should review these changes, seems I uncovered some lurking old breakage)
svn-id: r48289
2010-03-18 16:53:20 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00
Max Horn
75de0ebccb TINSEL: Change SaveSceneSsData from char* to SAVED_DATA*
svn-id: r48285
2010-03-18 15:39:56 +00:00
Max Horn
4e7dddadbc SCUMM: Add WORKAROUND comment
svn-id: r48284
2010-03-18 15:10:07 +00:00
Max Horn
8db54382bb ENGINES: Move SaveStateDescriptor etc. to engine/savestate.*
svn-id: r48283
2010-03-18 15:09:48 +00:00
Max Horn
c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
30c84d2cff COMMON: Move tag2str from util.h to str.h
svn-id: r48281
2010-03-18 15:07:48 +00:00
Max Horn
3e63df5415 COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cpp
svn-id: r48280
2010-03-18 15:07:30 +00:00
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