Commit Graph

968 Commits

Author SHA1 Message Date
Eugene Sandulenko
78ee0bfdaf Mouse part of big patch #1013937 (OSystem layer with bigger resolution)
svn-id: r16800
2005-02-17 23:01:00 +00:00
Max Horn
4e66139a4e Added String::hasSuffix and hasPrefix
svn-id: r16744
2005-02-06 19:00:59 +00:00
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +00:00
Andrew Kurushin
dcbe77c579 fix VC7.1 compilation
svn-id: r16664
2005-01-28 14:46:12 +00:00
Paweł Kołodziejski
c0c9a68fe5 emsvc4 need public access, hmmm...
svn-id: r16650
2005-01-27 21:29:29 +00:00
Max Horn
aa9debccec Forgot to commit this
svn-id: r16567
2005-01-15 23:08:12 +00:00
Max Horn
541076d8db Added a convenience class 'Mutex'
svn-id: r16566
2005-01-15 22:41:23 +00:00
Max Horn
fcad363886 Get rid of the ConstString class
svn-id: r16564
2005-01-15 21:42:59 +00:00
Andrew Kurushin
f17f5e3cae last wjp suggested patch - helps reenable "no definition for inline function" warning
svn-id: r16543
2005-01-11 20:02:12 +00:00
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
MIN() and MAX(). I then removed util.h from a bunch of files which I don't
think need it any more. (Please let me know if I got too blood-thirsty!)

This reverts some of the changes I made this morning.

svn-id: r16541
2005-01-11 13:25:02 +00:00
Torbjörn Andersson
13e2c224c8 This is probably not the optimal fix, but at least ScummVM compiles again.
svn-id: r16538
2005-01-11 08:06:19 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
6f6668ce21 Reduce dependencies on common/savefile.h from 88 to 14
svn-id: r16528
2005-01-10 22:18:39 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
e794581308 Moved mutex stuff into a seperate header
svn-id: r16526
2005-01-10 22:04:04 +00:00
Max Horn
788c828026 yet another attempt to get makeInstance working for gcc 3.3, gcc 3.2, and MSVC (thanks to wjp for the suggestion). Works fine with GCC 3.2 and 3.3
svn-id: r16525
2005-01-10 21:06:49 +00:00
Andrew Kurushin
0e4711cb81 some disabled warning moved from .vcproj to #pragma with comments
(can anyone update .vcproj for vs2002&vs2005?)

svn-id: r16508
2005-01-09 17:22:55 +00:00
Max Horn
0423866e0a Ensure these headers match the rest of ScummVM
svn-id: r16505
2005-01-09 16:07:53 +00:00
Torbjörn Andersson
9d1f4ff1e6 Since _pos is unsigned it's always >= 0, so testing for negativity will
generate a warning in GCC.

svn-id: r16496
2005-01-09 14:57:41 +00:00
Max Horn
bc44b5ec15 Added new interface SeekableReadStream
svn-id: r16493
2005-01-09 01:41:43 +00:00
Andrew Kurushin
6cde0f1de6 turn off "no definition for inline function" warning
svn-id: r16458
2005-01-06 19:35:11 +00:00
Andrew Kurushin
3b61b06aee - remove "extern" before OSystem::makeInstance
svn-id: r16457
2005-01-06 19:34:07 +00:00
Max Horn
5d88c39549 Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133)
svn-id: r16454
2005-01-06 18:38:34 +00:00
Max Horn
74bf578bda Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
03d4a6fa47 Removing obsolete comment
svn-id: r16401
2005-01-01 17:52:17 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
acd1f910d5 Handle SCUMMVM_SAVEPATH exactly like the command line option --savepath (but the command line option has higher priority); i.e. it's affecting the config system (see also bug #1045171)
svn-id: r16391
2004-12-30 21:48:22 +00:00
Max Horn
60deb4200b cleanup
svn-id: r16382
2004-12-30 14:13:14 +00:00
Travis Howell
d6547ea536 Compile fix from cyx
svn-id: r16366
2004-12-29 05:01:27 +00:00
Max Horn
b15d92e470 Fix running ScummVM in plugin-mode
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
2941d595bd Make loading the config file explicit
svn-id: r16317
2004-12-25 19:03:13 +00:00
Eugene Sandulenko
7606a53f09 Now it is possible to count MD5 only for specified amount of bytes from file.
It is useful for MD5'ing hunge files.

svn-id: r16259
2004-12-22 13:34:28 +00:00
Nicolas Bacca
486e711173 WinCE global domains are not needed anymore
svn-id: r16219
2004-12-20 23:58:40 +00:00
Nicolas Bacca
4e497117bd Add common include needed by WinCE
svn-id: r16217
2004-12-20 23:55:31 +00:00
Jonathan Gray
2909c8fff6 - Move MAXPATHLEN includes/defines into common location
- Save files are now stored in $HOME/.scummvm/ by default if no other
  save path is specified on non MacOS X unices.

svn-id: r16060
2004-12-15 12:30:58 +00:00
Max Horn
ede24fabe2 Patch #1083548 (common/list enhancement)
svn-id: r16046
2004-12-14 20:57:23 +00:00
Max Horn
1ded9cff77 Optimized List assignment operator, thanks to h00ligan
svn-id: r16042
2004-12-12 21:54:33 +00:00
Max Horn
9e4a529ef9 Hide iterator implementation details from client code
svn-id: r16041
2004-12-12 21:38:11 +00:00
Max Horn
41a7e6674c Remove the 24 bit read/write methods -- we don't use them anymore and they are weird anyway ;-)
svn-id: r16037
2004-12-11 23:50:39 +00:00
Max Horn
369e31a41c Modified version of patch #1082777 (common/stream optimization)
svn-id: r16034
2004-12-11 23:16:36 +00:00
Nicolas Bacca
cdf2eb2eb7 Update CE default savepath
svn-id: r16027
2004-12-11 00:39:27 +00:00
Chris Apers
1a5fa3e86f Moved to prefix file
svn-id: r16015
2004-12-10 15:19:53 +00:00
Max Horn
30039560a3 cleanup
svn-id: r15991
2004-12-05 23:24:43 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Max Horn
b78ac6a18b Make use of our String class instead of juggling with char pointers; added File::exists method
svn-id: r15913
2004-11-27 15:09:53 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Max Horn
8ac347fd95 Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, though :-)
svn-id: r15864
2004-11-22 23:25:08 +00:00
Eugene Sandulenko
0b3949389e Extend fopenNoCase with probe of capitalized files, such as Cave.mid.
svn-id: r15812
2004-11-14 21:10:50 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Max Horn
f6d9b66e21 For now, perform writing always in the current directory (the old code would just create a new file in the first place it was looking at when using the write mode, which definitely is not what we want in most cases)
svn-id: r15730
2004-11-07 17:20:32 +00:00
Torbjörn Andersson
1fa79b09de Got rid of ungetc() to save Chrilith from the trouble of implementing it
himself on PalmOS.

svn-id: r15616
2004-10-19 18:28:41 +00:00
Eugene Sandulenko
acf6e4a12f Accepted patch #1048693 -- Making File::gets() more well-defined.
svn-id: r15608
2004-10-18 21:22:10 +00:00
Eugene Sandulenko
2337d924ce Fix bug #1048129 which prevented eof() method from working.
svn-id: r15573
2004-10-16 18:40:06 +00:00
Eugene Sandulenko
54dc902ae4 Add gets() method to File class.
svn-id: r15572
2004-10-16 13:09:52 +00:00
Max Horn
ccb8d04f35 Clarify OSystem::setPalette documentation (thanks for pointing this out, LordHoto)
svn-id: r15562
2004-10-15 19:54:14 +00:00
Chris Apers
a34c7e4b81 Use compile.h as prefix file
svn-id: r15472
2004-10-08 13:38:14 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
3ef93e9e54 forgot to commit this, silly me :-)
svn-id: r15323
2004-09-28 12:11:00 +00:00
Max Horn
ab82837dcc Preserve the order of config file sections -> to suite people who manually edit the config file
svn-id: r15322
2004-09-28 12:10:49 +00:00
Max Horn
2c627a2018 Remove unused symbol
svn-id: r15321
2004-09-28 11:30:17 +00:00
Jonathan Gray
ae73d1a4ee use MAXPATHLEN for path buffer size
svn-id: r15319
2004-09-28 04:14:57 +00:00
Paweł Kołodziejski
a6486ad228 changed zlib support for msvc
svn-id: r15163
2004-09-18 11:48:17 +00:00
Paweł Kołodziejski
27946f1e86 fixed msvc compilation for __restrict__
svn-id: r15160
2004-09-18 10:25:49 +00:00
Max Horn
858153c4f7 Some type corrections
svn-id: r14896
2004-09-04 19:28:30 +00:00
Paweł Kołodziejski
0901b17828 fixed warning, updated msvc projects
svn-id: r14894
2004-09-04 14:53:14 +00:00
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Marcus Comstedt
3b2bf3c683 Make building scalers optional.
svn-id: r14784
2004-08-26 21:01:21 +00:00
Jonathan Gray
a3d531a9fd remove cast that produces a warning
svn-id: r14696
2004-08-23 05:53:41 +00:00
Eugene Sandulenko
796fdcdd2b Fix warning.
svn-id: r14692
2004-08-23 00:00:02 +00:00
Max Horn
759cd67de5 cleanup of TimerProc mess
svn-id: r14683
2004-08-22 13:27:34 +00:00
Travis Howell
3542ca3988 Make platform difference a bit clearer
svn-id: r14654
2004-08-20 15:25:12 +00:00
Paweł Kołodziejski
d62ff5dca7 fixed warnings
svn-id: r14603
2004-08-14 09:10:14 +00:00
Eugene Sandulenko
cdb88416a8 Fix bug in FixedStack.pop(). Returned wrong value.
svn-id: r14567
2004-08-12 21:49:48 +00:00
Eugene Sandulenko
e31aa60730 Fix compilation of remove_at() in array.h. It was never tested before.
Make stacks' pop() return top value, not just move stack pointer.

svn-id: r14565
2004-08-12 21:33:59 +00:00
Torbjörn Andersson
039e6dc8db Relaxed the assertion for the 3x scaler a bit. Since it uses pointers to
uint16, it should be enough that dstPtr is even; it doesn't have to be a
multiple of four.

The old assertion failed for me when I used the 3x scaler without aspect
ratio correction.

svn-id: r14536
2004-08-10 17:46:04 +00:00
Max Horn
809c3bd943 Fixed variable access in the debugger
svn-id: r14523
2004-08-08 22:44:15 +00:00
Max Horn
5564f36b0e Slightly optimiized Normal2x
svn-id: r14519
2004-08-08 15:45:58 +00:00
Jonathan Gray
f3ddfd4080 fix compilation
svn-id: r14510
2004-08-08 03:12:23 +00:00
Travis Howell
1134ea5c85 Fix compile for now, include doesn't exist in mingw.
Should be checked for in configure

svn-id: r14507
2004-08-07 23:49:34 +00:00
Gregory Montoir
db6e7ae2ca centers the scaled bitmap and fix the scaling of borders for ASM version)
svn-id: r14505
2004-08-07 17:21:53 +00:00
Max Horn
f122dd6fb3 Fix scaling of the borders of each given rect (for non-ASM version)
svn-id: r14504
2004-08-07 16:47:25 +00:00
Gregory Montoir
0f6242dfaf should be 16 not 8
svn-id: r14503
2004-08-07 16:23:16 +00:00
Max Horn
2a9c6f6d5f Base our advmame scalers on the official Scale2x source - this way we can easily update to new version and benefit from their optimizations (e.g. MMX support)
svn-id: r14502
2004-08-07 16:04:43 +00:00
Max Horn
61bf615168 Try the current dir last, not first
svn-id: r14469
2004-08-05 11:10:27 +00:00
Max Horn
cef2de6a69 Fixed bug #1001069; clarified/simplified some error messages
svn-id: r14375
2004-07-31 09:34:10 +00:00
Max Horn
1db27f0203 slightly more informative error messages in class File
svn-id: r14345
2004-07-26 22:53:29 +00:00
Max Horn
17ec7c5d6a Turn various File class methods into virtual methods, to allow overloading
svn-id: r14341
2004-07-26 17:06:39 +00:00
Max Horn
3381b831eb Allow subclasses to modify File class members (e.g. to set _ioFailed); change some warnings into errors
svn-id: r14302
2004-07-23 01:39:05 +00:00
Max Horn
0605918ab4 Small tweaks for the String class
svn-id: r14293
2004-07-21 14:20:37 +00:00
Bertrand Augereau
52701d581b Changed order of initialisation in XORReadStream::XORReadStream() to match order of declaration, to avoid a pedantic warning
svn-id: r14273
2004-07-19 10:20:00 +00:00
Max Horn
006cac577d Simplified fopenNoCase (and reduced the code redundancy)
svn-id: r14252
2004-07-18 17:08:10 +00:00
Eugene Sandulenko
3423c617a1 Fix bug introduced with last addDefaultDirectory() change. It prevented
lowercase files from opening.

svn-id: r14148
2004-07-01 12:18:28 +00:00
Eugene Sandulenko
2c687d3388 Make md5_file() work regardless file name case and within arbitrary
directory.

svn-id: r14123
2004-06-29 12:07:15 +00:00
Max Horn
a5df4fba77 Added simple ref-counting to the File class
svn-id: r14106
2004-06-28 22:34:22 +00:00
Max Horn
53af3dc670 Enhanced default directory support in the File class; now one can specify arbitrary many default search directories
svn-id: r14095
2004-06-28 00:06:31 +00:00
Max Horn
4744538752 Added operator + for strings
svn-id: r14093
2004-06-27 23:58:41 +00:00
Max Horn
b8ad54b3af Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
2004-06-27 22:14:35 +00:00
Max Horn
a461c7550e irrelevant tweak, but I am a const-junkie :-)
svn-id: r14089
2004-06-27 22:04:19 +00:00
Max Horn
a1b82d8e13 Cleanup for MemoryReadStream; made it match the File-class interface
svn-id: r14086
2004-06-27 21:30:33 +00:00
Max Horn
e5f90509a6 Cleaned up SaveFileManager stuff a little bit
svn-id: r14056
2004-06-25 22:11:48 +00:00
Eugene Sandulenko
264dc1349b Extended ReadMemoryStream class with seek method
svn-id: r14030
2004-06-24 14:06:22 +00:00
Max Horn
55ad317aad As the comment above this code section states, the only reason we accept 1,2,3 here is for backward compatibility. 4 and 5 never were legal values, hence they shouldn't be detected
svn-id: r14015
2004-06-23 10:23:44 +00:00
Eugene Sandulenko
53a0eb87f1 Fixed recognition of command-line --platform option
svn-id: r14005
2004-06-23 02:14:19 +00:00
Eugene Sandulenko
a350fcda0d Implement 24-bit read from memory functions
svn-id: r14002
2004-06-22 23:52:31 +00:00
Eugene Sandulenko
7d1b755086 Applied patch submitted by cyx to bug #961365 (Assembly versions of HQ2x and HQ3x scalers), off-by-one error.
svn-id: r13906
2004-05-30 22:16:59 +00:00
Chris Apers
66fd8f8658 New PalmOS includes
svn-id: r13888
2004-05-25 14:44:02 +00:00
Paweł Kołodziejski
4a93fa1421 we dont use more timers than 2
svn-id: r13850
2004-05-23 19:16:35 +00:00
Max Horn
cff4e1d49f Tweaks (Morphos & Palm backends badly need updating :-/)
svn-id: r13848
2004-05-21 20:43:07 +00:00
Paweł Kołodziejski
6801dd2eef fixed mingw compilation
svn-id: r13846
2004-05-21 17:30:51 +00:00
Eugene Sandulenko
d33b24036e Added assembly versions of HQ2x and HQ3x scalers.
svn-id: r13844
2004-05-21 02:08:48 +00:00
Max Horn
7804b57632 Added default iterator constructor, for convenience
svn-id: r13808
2004-05-08 19:34:06 +00:00
Eugene Sandulenko
b7e62e4b61 Extend setMouseCursor with additional keycolor parameter. Lets saga use 255
as white color. Made this function more safe by copying cursor data to
newly created buffer.

svn-id: r13777
2004-05-05 02:32:46 +00:00
Max Horn
5d0f0ea0c6 Added generic variable size stack class - COMPLETELY UNTESTED. Really should add some unit tests for this...
svn-id: r13776
2004-05-05 01:19:42 +00:00
Eugene Sandulenko
b9ebd68022 Enchance ReadStream and MemoryReadStream with 24bits operations as well
as tell() and rewind() methods, as needed by SAGA engine.

svn-id: r13772
2004-05-04 03:27:00 +00:00
Eugene Sandulenko
f7f485464d Well, now we use MemoryReadStream at least in SAGA engine.
Concept proved itself to be elegant and successful

svn-id: r13770
2004-05-03 23:08:22 +00:00
Max Horn
33ef0d0a4b Added signed read/write methods to the Stream classes
svn-id: r13680
2004-04-29 20:28:42 +00:00
Max Horn
795a735a31 Comment about how our Rect class works. Note: the SAGA engine currently does use the alternate approach to rects! Hence we can't currently use all those nice and nifty helper methods from Common::Rect in SAGA.
svn-id: r13626
2004-04-25 16:16:21 +00:00
Max Horn
9defe4fc18 Removed XOR encoding stuff from File class; instead the new Scumm::XORFile class provides this functionality now
svn-id: r13597
2004-04-17 16:29:03 +00:00
Max Horn
ae50adfd31 Fix byte reads
svn-id: r13596
2004-04-17 12:42:40 +00:00
Max Horn
e17a15d96e Introduce ReadStream and WriteStream (as explained in my File class design mails on scummvm-devel)
svn-id: r13595
2004-04-17 09:57:15 +00:00
Max Horn
40afd9b566 Fixed const iterator
svn-id: r13591
2004-04-16 22:04:32 +00:00
Max Horn
0a0a0c7b06 Updated to match scale2x 2.0
svn-id: r13563
2004-04-12 21:16:32 +00:00
Max Horn
2a02291537 simple double linked list template class (completely untested)
svn-id: r13555
2004-04-12 01:19:26 +00:00
Max Horn
8a69ffc46c Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
2004-04-09 15:10:23 +00:00
Max Horn
c7d22d5a6f Fixed Rect(width, height) constructor
svn-id: r13482
2004-04-06 11:11:10 +00:00
Max Horn
b6a4610a77 be tolerant against abuse of ConfMan.getInt(); add missing default value for 'speech_volume' in bs1
svn-id: r13435
2004-03-31 18:00:46 +00:00
Max Horn
e8adb5e628 very simpled and limited stack class (fixed size even)
svn-id: r13429
2004-03-29 22:28:57 +00:00
Max Horn
b6d911a616 Fixed a bad crash that occured when adding a new game target in the launcher
svn-id: r13428
2004-03-29 19:15:23 +00:00
Max Horn
39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn
09e3fec623 Preserve comments in config files
svn-id: r13412
2004-03-28 20:28:45 +00:00
Max Horn
dbda6299e1 cleanup; extended config file format checking (partially from patch #896096)
svn-id: r13411
2004-03-28 18:29:27 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson
b25f42535b Changed printf() to debug() and removed newline at the end of some messages
svn-id: r13403
2004-03-28 14:27:54 +00:00
Max Horn
b72d7dff1b reorder content
svn-id: r13395
2004-03-28 12:15:49 +00:00
Max Horn
ab64ef93ec clarify OSystem specification (setTimerCallback() must be 'atomic')
svn-id: r13391
2004-03-27 18:30:30 +00:00
Max Horn
c33712e3d6 small tweak
svn-id: r13390
2004-03-27 18:22:36 +00:00
Max Horn
cb8ca939c2 free(0) is guaranteed to be a no-op
svn-id: r13380
2004-03-25 11:25:50 +00:00
Max Horn
23dbd0de99 two TODOs
svn-id: r13356
2004-03-21 18:54:47 +00:00
Torbjörn Andersson
4a6b57f295 Fixed typo.
svn-id: r13316
2004-03-16 08:24:58 +00:00
Eugene Sandulenko
759c05f936 Added remove_at method
svn-id: r13297
2004-03-15 02:45:40 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Max Horn
b389dfa2a3 more tweaks to doxygen
svn-id: r13294
2004-03-15 02:09:28 +00:00
Max Horn
af80eef70e fix circular header dependency, by moving StackLock class to common/system.h (it ties closely into OSystem anyway)
svn-id: r13292
2004-03-15 01:52:07 +00:00
Max Horn
e8f7214acb Renamed OSystem::set_timer() to setTimerCallback(); more OSystem Doxygen changes
svn-id: r13289
2004-03-15 01:18:47 +00:00
Max Horn
f8610cd1c5 fix doxygen-comment mistakes
svn-id: r13286
2004-03-15 00:55:44 +00:00
Max Horn
e46ba2f29f Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
2004-03-15 00:45:45 +00:00
Max Horn
7db5cc0a9c While moving things down by one line 'looks better' (IMO), it also means that the last line is blitted outside the screen -> bad. So for now I'll undo my changes to the 2xSai filter family
svn-id: r13257
2004-03-13 15:45:39 +00:00
Max Horn
f712d21c1d Document the backend feature flags a bit, I hope this clarifies their purposes; if not feel free to augment the descriptions or tell me what I should add (same goes for the rest of the OSystem documentation, BTW)
svn-id: r13252
2004-03-13 15:12:23 +00:00
Jonathan Gray
5451bb29cc correct error text
svn-id: r13226
2004-03-09 21:49:21 +00:00
Max Horn
a672590259 remove dependency on SDL_byteorder.h when we are using config.h
svn-id: r13206
2004-03-07 03:28:01 +00:00
Max Horn
af2f29f55c added Rect::moveTo methods
svn-id: r13190
2004-03-04 22:26:31 +00:00
Max Horn
601723408f add ConfigManager::getActiveDomain
svn-id: r13189
2004-03-04 22:26:09 +00:00
Chris Apers
fbd040ac9f Obsolete
svn-id: r13144
2004-03-02 13:07:08 +00:00
Eugene Sandulenko
3ca5007779 Introduced new platform GF_WINDOWS. Used for HE games. GF_PC is DOS
svn-id: r13128
2004-03-02 00:37:23 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
87e0e57567 the 2xsai class scalers all move the resulting image one up; work around that
svn-id: r13071
2004-02-27 19:36:52 +00:00
Max Horn
751435d54f cleanup
svn-id: r13069
2004-02-27 15:52:23 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Paweł Kołodziejski
06d7b1729d increased debug level
svn-id: r12889
2004-02-14 16:13:16 +00:00
Max Horn
99551bd746 const correctness!
svn-id: r12874
2004-02-14 11:15:48 +00:00
James Brown
5ee96b4625 Add mutex tracking to make it easier to debug imuse deadlocks
svn-id: r12870
2004-02-14 08:56:26 +00:00
Max Horn
1e18364e5c Fix for bug #896506 (GUI: Invalid read)
svn-id: r12864
2004-02-14 01:12:35 +00:00
Travis Howell
343037f0ec Correct hberew
svn-id: r12815
2004-02-10 13:24:12 +00:00
Max Horn
d4a71d8eec NL = NetherLands, NederLanden, NiederLande - NO is Norway
svn-id: r12813
2004-02-10 12:37:40 +00:00
Travis Howell
705df95a61 Ooops
svn-id: r12812
2004-02-10 12:36:15 +00:00
Travis Howell
9271ca5233 Previous method wouldn't work, since each langague is in different directory.
svn-id: r12810
2004-02-10 10:56:16 +00:00
Travis Howell
fdf55a67b0 Ooops
svn-id: r12806
2004-02-10 05:25:51 +00:00
Travis Howell
8a440a8496 Add languages
Sync md5
Correct another name

svn-id: r12805
2004-02-10 04:59:02 +00:00
Max Horn
9302e7d888 Make g_platforms global, so that the alauncher can iterate over the list of supported platforms
svn-id: r12765
2004-02-07 17:10:48 +00:00
Max Horn
d06316244e Added FM-TOWNS to platforms list
svn-id: r12763
2004-02-07 16:01:00 +00:00
James Brown
9b97d851fe Add -c/--config option to specific alternate configuration file. Sorry Max, but it's damn useful for coverdiscs :)
svn-id: r12758
2004-02-07 04:53:59 +00:00
Travis Howell
c29e0d2dd0 Add extra paths for international version of Simon the Sorcerer 1, so game can be played from CD.
svn-id: r12745
2004-02-06 00:58:24 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
da76ac5890 Various changes to the build system which allow building ScummVM in an external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress
svn-id: r12680
2004-01-30 21:54:28 +00:00
Chris Apers
29f87fb011 Return default description string
svn-id: r12624
2004-01-26 16:52:19 +00:00
Chris Apers
5bc6d14e33 Prevent getPlatformDescription(...) from returing NULL pointer using kPlatformUnknown
svn-id: r12567
2004-01-21 13:35:27 +00:00
Max Horn
cd045460cc improved rect clipping & verification
svn-id: r12507
2004-01-18 21:41:38 +00:00
Nicolas Bacca
76298a9cec Implements TOGGLE_VIRTUAL_KEYBOARD
svn-id: r12459
2004-01-17 23:40:36 +00:00
Nicolas Bacca
9fd8466546 Cleaner virtual keyboard support for the new CE backend, coming soon
svn-id: r12457
2004-01-17 14:32:22 +00:00
James Brown
eeab2bb3bf Hack for Launcher Scaler dropdown. Backends using the Launcher will need to implement the OSystem HAS_SCALER property. The global options dialog still needs doing.
svn-id: r12436
2004-01-16 16:28:56 +00:00
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Max Horn
ab2192761d useful convenience method
svn-id: r12233
2004-01-08 03:24:01 +00:00
Jonathan Gray
1356d4c354 add missing comma to ensure all directories are checked
svn-id: r12177
2004-01-06 12:52:08 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Jonathan Gray
2be1b4d68a start work on czech subtitle support, not finished
svn-id: r12175
2004-01-06 12:28:24 +00:00
Max Horn
24fcd71e84 cleanup for language/platform functions
svn-id: r12034
2003-12-30 19:07:55 +00:00
Travis Howell
8640153331 Search additional folder for BS1
svn-id: r11956
2003-12-27 05:43:03 +00:00
Max Horn
88873d5b31 be stricter about File::open params
svn-id: r11919
2003-12-25 17:52:25 +00:00
Max Horn
2e99e3f1f9 disable custom new/delete/free by default (only keep it around in case it comes in handy again in the future)
svn-id: r11839
2003-12-21 19:24:14 +00:00
Marcus Comstedt
7c09bd869b Require stdafx.h to have been included.
svn-id: r11822
2003-12-21 16:45:16 +00:00
Max Horn
5f4c9cbeeb resolve an inconsistency in the FROM_* helper macros: now they *always* cast their argument to unsigned (previously, the LE funcs would do this when used on BE machines, and vice versa; but using a FROM_LE macro on a LE machine wouldn't cause a cast to unsigned; this potentially leads to endian bugs!)
svn-id: r11726
2003-12-18 01:00:24 +00:00
Travis Howell
6f6675ed8b Add capture mouse option, patch #860831
Uses Ctrl m to toggle, since that is closest to original games.
Disabled by default.

svn-id: r11680
2003-12-16 09:58:21 +00:00
Chris Apers
db2bf22b35 Removed 'fullscreen' option (PalmOS)
svn-id: r11656
2003-12-15 15:13:36 +00:00
Chris Apers
de1a8fdafa Correct name
svn-id: r11655
2003-12-15 15:11:58 +00:00
Max Horn
5ff7c1d153 small fix for hexdump()
svn-id: r11617
2003-12-13 17:33:21 +00:00
Max Horn
35b62c294d removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
2003-12-13 00:20:01 +00:00
Max Horn
dd33ae0f0f added MD5 code to CVS
svn-id: r11602
2003-12-13 00:06:00 +00:00
Travis Howell
e11c741e82 Drop OpenGL backend, since it has no maintainer and is too buggy.
svn-id: r11569
2003-12-11 05:32:27 +00:00
Max Horn
bb760a5b73 detect zlib in configure script; use it by default, if available
svn-id: r11544
2003-12-10 00:15:20 +00:00
Max Horn
0f7f124de2 slightly altered singleton implemention, might help MSVC6, or might screw it even more :-)
svn-id: r11543
2003-12-10 00:12:20 +00:00
Max Horn
a12b6606cc rewrote hq2x/hq3x code so that we can compile both the altivec and plain C version; on OSX, this will only use the altivec code if altivec is actually present
svn-id: r11504
2003-12-05 23:27:01 +00:00
Max Horn
72eb8ccb89 Patch #847464: Remove spurious semicolons
svn-id: r11445
2003-12-01 09:58:55 +00:00
Max Horn
5120eddb54 zlib compression works *very* well, factor 3-6 in my test cases. Personally I'd make zlib support the default...
svn-id: r11435
2003-11-30 00:43:01 +00:00
Max Horn
93f58abde7 oops forgot to commit this one, it seems
svn-id: r11434
2003-11-30 00:41:19 +00:00
Max Horn
3612dc54dc cleanup; added (currently commented out) zlib/gzip code
svn-id: r11433
2003-11-30 00:35:12 +00:00
Max Horn
81f210544a cleanup
svn-id: r11432
2003-11-30 00:06:27 +00:00
Travis Howell
6c814c4864 Add extra directory checks for Macintosh versions of indy3/loom
svn-id: r11333
2003-11-18 00:55:40 +00:00
Max Horn
b38995b288 cleanup (merged the two base set() methods)
svn-id: r11256
2003-11-11 00:26:38 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
5c2a3da7f2 fix for bug #833537 (Config manager saves "save_slot")
svn-id: r11254
2003-11-10 23:17:11 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
5c4e374d73 fixed ConfigManager getInt/getBool
svn-id: r11199
2003-11-07 16:54:58 +00:00
Max Horn
ced5921ac0 change behaviour of ConfigManager::get once again -> now we *do* fall back to the registered defaults...
svn-id: r11195
2003-11-07 15:57:36 +00:00
Jonathan Gray
b2e9b73c4c spelling fixes
svn-id: r11180
2003-11-07 02:43:47 +00:00
Max Horn
0bae086c7b typo, gnaw gnaw
svn-id: r11172
2003-11-07 00:45:54 +00:00
Max Horn
105728adee Use the new capabilities of class Map to make the ConfigManager case insensitive when it comes to comparing config keys/domains
svn-id: r11171
2003-11-07 00:03:55 +00:00
Max Horn
83a55fa7e8 Introduce Comperator template parameter to Map -> this allows more flexible use of Map (in particular, I can now use a StringMap in ConfigManager which ignores case)
svn-id: r11170
2003-11-07 00:02:47 +00:00
Max Horn
82aac86edf change (Const)String::c_str to never return 0 (rather return empty string) -> can be used to simplify code. Also don't use stricmp in </<=/>/>= operators, it is inconsisten with == and != operators
svn-id: r11169
2003-11-07 00:02:03 +00:00
Max Horn
ba1cf0e957 cut down dependencies a bit (so that I don't have to recompile hq2x/hq3x whenever common/scaler.h is changed :-)
svn-id: r11168
2003-11-06 23:54:12 +00:00
Max Horn
0dfd0e4414 changed the way get(key,domain) works for global domains (instead of defaulting to the empty string, it will now default to the registered default in this case)
svn-id: r11151
2003-11-05 12:16:14 +00:00
Max Horn
583ae61453 export language list (so that it can be used by the GUI); added methods to convert a Platform/Language ID into a canonical string
svn-id: r11141
2003-11-05 00:58:02 +00:00
Max Horn
d45b475b48 added ConfigManager::removeKey
svn-id: r11140
2003-11-05 00:57:00 +00:00
Max Horn
84efb90484 swap GFX_HQ2X & GFX_ADVMAME3X (purely cosmetic :-)
svn-id: r11134
2003-11-04 21:17:17 +00:00
Max Horn
74b496a062 added PROP_GET_GFX_MODE; removed PROP_SHOW_DEFAULT_CURSOR
svn-id: r11132
2003-11-04 20:46:20 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Chris Apers
0e23d7a30e Use compiler option instead of this
svn-id: r11104
2003-11-03 16:25:06 +00:00
Max Horn
a7eb1b5207 forgot to commit this, sorry guys
svn-id: r11048
2003-11-02 10:18:10 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
4c2387639d cleanup
svn-id: r11042
2003-11-01 23:41:35 +00:00
Max Horn
186125ffb6 fix potential crash
svn-id: r11037
2003-11-01 22:11:33 +00:00
Max Horn
adbaab7ef9 added doxygen comment
svn-id: r11036
2003-11-01 21:23:48 +00:00
Gregory Montoir
3e267ba5f9 make doxygen happy
svn-id: r11030
2003-11-01 20:44:53 +00:00
Max Horn
a4d2a47820 factor out common debugger code
svn-id: r10984
2003-10-26 21:30:52 +00:00
Torbjörn Andersson
27b22efe17 Fixed typo and added FIXME comment for the DotMatrix scaler.
svn-id: r10956
2003-10-24 17:14:56 +00:00
Max Horn
f5a7c67191 added russian as a language (part of patch #823031, adapted to recent code changes)
svn-id: r10878
2003-10-17 18:52:15 +00:00
Max Horn
ad2db08940 renamed some Timer methods
svn-id: r10868
2003-10-17 16:39:32 +00:00
Max Horn
96a8d0ec1c proper fix for COMI timer issue: don't let a Timer remove itself
svn-id: r10867
2003-10-17 16:30:24 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Max Horn
37085bfe88 fix (workaround) for bug #825331
svn-id: r10853
2003-10-17 11:17:49 +00:00
Max Horn
7f5c5f0f8b COMI crashes because for some reasons we get a 0 timer interval. not sure how that is possible, but adding some asserts for now
svn-id: r10852
2003-10-17 11:11:01 +00:00
Max Horn
3e68577bae added push_back method with List arg (append one list to another one efficiently)
svn-id: r10850
2003-10-17 10:23:52 +00:00
Jonathan Gray
db716d5fb1 add method to set the xor byte in the file class. Needed as the combined mac data files are only xor'd in the resource files, not the parts of the combined file
svn-id: r10825
2003-10-16 10:23:01 +00:00
Max Horn
a8e1340c45 improved timer resolution -> this helps iMuse *a lot* on my system when there is load
svn-id: r10804
2003-10-14 20:52:27 +00:00
Jamieson Christian
2968be7670 Turn off another annoying MSVC warning
svn-id: r10803
2003-10-14 20:06:22 +00:00
Max Horn
0aa58f53c8 init RNG for everybody using time()
svn-id: r10796
2003-10-14 10:24:27 +00:00
Nicolas Bacca
b085e51dc5 EVC : compile different
svn-id: r10744
2003-10-12 13:27:42 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00
Max Horn
2dddd0e29a modified version of patch #821018; fix for bug #821083
svn-id: r10716
2003-10-10 11:13:25 +00:00
Max Horn
21480a2289 fix ConfMan.set when dom is empty; added some asserts (paranoia)
svn-id: r10698
2003-10-09 11:42:59 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00
Max Horn
9e5c5e292a humpf
svn-id: r10685
2003-10-08 21:09:21 +00:00
Max Horn
cf3ac50e3c add String::lastChar() method
svn-id: r10684
2003-10-08 21:01:50 +00:00
Max Horn
b41c052ab5 renamed createNode() to findOrCreateNode(); added addKey() method; reimplemented merge()
svn-id: r10683
2003-10-08 18:05:20 +00:00
Max Horn
e5c62af78e added String::emptyString constant
svn-id: r10649
2003-10-06 23:19:01 +00:00
Max Horn
bfde7528ba no need for an explicit error here; rather, the linker will catch any invalid uses if we don't give a body
svn-id: r10610
2003-10-05 14:15:31 +00:00
Max Horn
a0fb1850de cleaned up iterator code in Map
svn-id: r10608
2003-10-05 14:02:37 +00:00
Max Horn
6e73fffcfa added iterators to List template
svn-id: r10607
2003-10-05 14:02:28 +00:00
Max Horn
48e94ef721 added doxygen comment & TODOs
svn-id: r10604
2003-10-05 13:10:53 +00:00
Max Horn
d4734bd4f2 use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
svn-id: r10592
2003-10-04 11:50:21 +00:00
Paweł Kołodziejski
f0fae232b9 fixed compilation under msvc7
svn-id: r10562
2003-10-03 07:45:41 +00:00
Max Horn
a02c13a52e fix scaler compilation for MSVC6. However, the produced code stll seems to be incorrect... Jamieson, maybe the MSVC6_COMPAT should be re-added then after all?
svn-id: r10552
2003-10-02 23:29:58 +00:00
Max Horn
bb5351f0a8 according to tsuteiuQ, this helps MSVC6 (seems it can cope with the enums but not with static consts)
svn-id: r10551
2003-10-02 23:09:54 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
2d216530e6 fix a warning wjp gets with gcc 3.2.3
svn-id: r10541
2003-10-02 17:07:50 +00:00
Jamieson Christian
8fbcb4ac15 Added MSVC6_COMPAT in order to be able to disable
new additions/optimizations that use constructs with
which MSVC6 is incompatible, such as the revamped
template-based super/hq/tv scalers.

svn-id: r10540
2003-10-02 15:00:36 +00:00
Max Horn
80eb1f8cb9 sync with hq2x (in particular, use my Altivec code here, too
svn-id: r10529
2003-10-01 20:59:05 +00:00
Max Horn
57eb9654b7 make MSVC7 happy
svn-id: r10524
2003-10-01 17:06:36 +00:00
Max Horn
628f65b639 move INTERPOLATE / Q_INTERPOLATE to intern.h; remove some jumps (pipelin trashers I call 'em :-) from diffYUV
svn-id: r10523
2003-10-01 16:47:49 +00:00
Max Horn
b6f85de558 instead of using a stack array, use regular variables (marked with the register keyword to hint the optimizer) for the color data. At least over here this helps the optimizer *A LOT* - instead of keeping w[] on the stack, on the PowerPC all values stay in registers, for a nice speed boost. Shouldn't hurt x86 either
svn-id: r10522
2003-10-01 16:39:31 +00:00
Max Horn
2aeb5c2414 added some AltiVec code. Still under development, and notice that this is my first time writing AltiVec code, so I am sure it could be done better :-). I am working on the interpolation function now.
svn-id: r10508
2003-09-30 16:59:01 +00:00
Max Horn
7ccafa467c synced hq2x with upstream changes; some performance tweaks to hq2x/hq3x (I think for bigger speed improvement we'd have to use ASM (with C++ fallback of course)...
svn-id: r10494
2003-09-29 23:34:43 +00:00
Max Horn
e342878f84 forgot to add common/scaler to MODULE_DIRS
svn-id: r10490
2003-09-29 21:58:40 +00:00
Max Horn
c40e7d68a5 templatized more of the scalers; also introduced template struct ColorMasks (shortens/simplifies other code a bit)
svn-id: r10489
2003-09-29 18:38:51 +00:00
Max Horn
4a7385b4e7 split out scalers into separate source files in common/scaler; some optimizations (in particular, the hq2x/hq3x scalers now are compiled into two versions, one for 555 and one for 565 mode)
svn-id: r10488
2003-09-29 16:02:47 +00:00
Max Horn
17bf7b95aa removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
2003-09-28 21:08:48 +00:00
Torbjörn Andersson
2d3e970496 Slightly more sensible hotkeys for the scalers. Hq2x is now number 8, right
after AdvMame2x, and 9 and 0 are AdvMame3x and Hq3x respectively.

I agree with Fingolfin that we'll need a better way of handling this in the
future, though.

svn-id: r10461
2003-09-28 14:27:08 +00:00
Jonathan Gray
0b923944d2 don't try to pass NULL when there is an int argument
svn-id: r10454
2003-09-28 00:59:01 +00:00
Max Horn
1d40ce68c2 get rid of explicit redMask/blueMask and use redBlueMask instead (this will be useful should we choose to templatize the scalers for 555/565 mode optimizations)
svn-id: r10451
2003-09-27 23:59:09 +00:00
Max Horn
b2b9a7cb07 cheak doxygen comments
svn-id: r10448
2003-09-27 23:11:26 +00:00
Jamieson Christian
44c0654ffd Fixed template function compile quirks under MSVC6.
Apparently MSVC6 does not like overloading of template
functions when the template arguments vary between
versions of the overloaded function. I replaced
interpolate16 with functions that have two different
names, so MSVC6 won't see them as being the same
function with [it insists] the same number of template
arguments.

svn-id: r10446
2003-09-27 22:53:24 +00:00
Max Horn
e032e79a4a added hq2x scaler (no, I am not going to add hq4x anytime soon. It would be another 4-5000 lines of code, and scaler.cpp already takes far too long to compile. Maybe we should seperate the scalers into several files in common/scaler/ ?)
svn-id: r10438
2003-09-27 21:19:17 +00:00
Max Horn
d87f65ff06 added a FIXME (regarding optimization) to INTERPOLATE; added new template function interpolate16 which is used by hq3x (advantage of the old trick which abused Q_INTERPOLATE: smaller & better optimized code; very easy to adapt the function for other uses, like for hq2x/hq3x. Drawback: scaler.cpp takes even longer to compile now :-)
svn-id: r10433
2003-09-27 18:09:50 +00:00
Max Horn
49d2a22b42 OSystem changes: removed create_thread() method (not needed anymore; 'pure' threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type
svn-id: r10430
2003-09-27 16:54:11 +00:00
Travis Howell
3854ce8f3d Add Acorn version of Simon the Sorcerer 1 Talkie
svn-id: r10389
2003-09-24 06:19:30 +00:00
Max Horn
8a5e6289a5 use our own ABS instead of the math.h abs(); some tweaks
svn-id: r10363
2003-09-22 23:29:47 +00:00
Max Horn
9abd9bb6b5 added WRITE_LE/BE_16/32 functions to match our current READ_ funcs - useful in some places
svn-id: r10358
2003-09-21 18:15:32 +00:00
Max Horn
ab1c58c1b1 fixed InitLUTs for 555 mode; some tweaks
svn-id: r10354
2003-09-21 17:56:11 +00:00
Torbjörn Andersson
308e88965a Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlines
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D.

(Does anyone else feel that scanlines and dotmatrix should either be
rewritten so that they can be combined with any scaler and aspect ratio
correction, or removed? That's why I moved them off the Ctrl-Alt <digit>
hotkeys.)

svn-id: r10353
2003-09-21 17:05:07 +00:00
Torbjörn Andersson
14813704ae Applied ScummVM formatting conventions
svn-id: r10349
2003-09-21 15:46:27 +00:00
Max Horn
74e3448a4c added HQ3x filter
svn-id: r10346
2003-09-21 12:10:32 +00:00
Max Horn
b75626d1ce added explicit virtual destructor; added API which makes it potentially possible to have an overlay with a different size than than the 'normal' screen (e.g. if the game runs at 320x200 and a 2x scaler runs, the overlay could be made 640x400 big, if the backend supports that)
svn-id: r10326
2003-09-20 00:47:18 +00:00
Max Horn
209413ed07 disable the custom operator 'new' on Mac OS X, as it cause multiple definition linker error when building ScummVM with loadable modules
svn-id: r10303
2003-09-18 18:22:15 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
3c55fd316f cleanup
svn-id: r10284
2003-09-17 23:05:07 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
231cb16b5b some tweaks to the build system (work toward plugin support)
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
468275bb94 added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
svn-id: r10278
2003-09-17 21:06:16 +00:00