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 |
|