Commit Graph

230 Commits

Author SHA1 Message Date
Max Horn
4625c126c6 don't use strdup
svn-id: r5287
2002-10-23 12:56:30 +00:00
Travis Howell
f0e6f8ebf8 Correct volume limit listed under -m section of help
svn-id: r5282
2002-10-23 11:14:33 +00:00
Travis Howell
319b37bd7b Add command line option for master volume, patch #591813
svn-id: r5280
2002-10-23 10:34:14 +00:00
Max Horn
6e5ff6884f fixed warnings (and simplified the code, gosh, aquadran, why so complicated? :-)
svn-id: r5264
2002-10-22 23:36:54 +00:00
Max Horn
64195315e2 inline function instead of macro for SWAP, to make -Wshadow more useful
svn-id: r5263
2002-10-22 23:36:28 +00:00
Paweł Kołodziejski
3c2a409b11 cleanup array
svn-id: r5250
2002-10-22 20:40:51 +00:00
Max Horn
03daa01caf don't shadow vars
svn-id: r5237
2002-10-22 11:35:45 +00:00
Max Horn
060ded9ee7 don't shadow vars
svn-id: r5236
2002-10-22 11:34:21 +00:00
James Brown
9ec3336de4 Add fixme
svn-id: r5217
2002-10-21 15:59:04 +00:00
Max Horn
8af300fec3 The terms Word and DWord are somewhat Windows centric; in fact there are systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious
svn-id: r5216
2002-10-21 13:23:25 +00:00
Jonathan Gray
209e723a76 cosmetic change, change the scumm version for the HE games to those reported by the executables. 6 months difference in build date but still the same minor version
svn-id: r5184
2002-10-18 08:26:23 +00:00
Jonathan Gray
2425fc44bf add -z option to list games
svn-id: r5182
2002-10-18 07:08:45 +00:00
Marcus Comstedt
005696bc4b Dreamcast port now wraps main() to avoid special kluges in the common main.
svn-id: r5175
2002-10-18 01:39:25 +00:00
Max Horn
b1766c28b2 patch #620627: mouse wheel support for NewGui
svn-id: r5169
2002-10-16 20:32:12 +00:00
Max Horn
d5bcb63f82 dialogs now can be run 'modal'
svn-id: r5168
2002-10-16 17:37:30 +00:00
Max Horn
d8c26a61ae added insert_at method to List template
svn-id: r5153
2002-10-15 15:32:32 +00:00
Max Horn
2d18fc9e05 added new property to system interface, to be used by NewGui
svn-id: r5144
2002-10-14 11:01:35 +00:00
Max Horn
735e310ac5 fix for bug #620361
svn-id: r5113
2002-10-08 23:58:55 +00:00
Max Horn
8a7637cfc1 added methods to String class that convert a string to upper/lower case; changed config class to keep all domains as lower case (fixes bug #scummvm)
svn-id: r5104
2002-10-08 00:11:41 +00:00
Ruediger Hanke
2fd0a3d458 Renamed new AMidi to Etude
svn-id: r5079
2002-10-02 23:31:40 +00:00
Max Horn
1e626a7128 don't print usage information if no params are given
svn-id: r5067
2002-10-01 23:08:54 +00:00
Paweł Kołodziejski
9c436e6220 oops
svn-id: r5050
2002-09-30 06:09:07 +00:00
Max Horn
d921d06d39 played a bit with the launcher - it now is already somewhat usable <g>
svn-id: r5047
2002-09-30 00:55:47 +00:00
Max Horn
e9e75ffd0a cleanup
svn-id: r5046
2002-09-29 23:09:01 +00:00
Max Horn
9dfd298034 added Config::has_domain()
svn-id: r5045
2002-09-29 23:08:24 +00:00
Max Horn
fa1d629a85 disable experimental launcher dialog by default (at least till it is usable)
svn-id: r5044
2002-09-29 23:06:41 +00:00
James Brown
dfdb1f7547 Merge in 615745: GMD via AdLib emulation
Remove MIDIEMU driver obsoleted by patch.
Change functionality to fallback to AdLib/AdLibGMD Emulation where MIDI init fails
Switch to NewGUI by default (old code retained 'Just in case')

svn-id: r5033
2002-09-29 11:11:42 +00:00
Max Horn
94b55db821 patch #612722: MI2 NewGui title fix
svn-id: r5030
2002-09-28 19:25:09 +00:00
Max Horn
6024c80f14 added (currently completly useless) launcher dialog
svn-id: r5024
2002-09-27 23:27:14 +00:00
Max Horn
e674b9e2e2 enabled demo dialog shown during startup; some fixes/cleanup in NewGUI
svn-id: r5023
2002-09-27 13:06:58 +00:00
Max Horn
09f56dc233 some fixes for the message dialog; added some comments
svn-id: r5021
2002-09-26 12:29:10 +00:00
Max Horn
58e5e0069f added simple message dialog
svn-id: r5020
2002-09-26 11:44:02 +00:00
Max Horn
77d62a61d7 fix for bug #613369; added some files to .cvsignore
svn-id: r5015
2002-09-24 22:40:28 +00:00
Travis Howell
2e88cd210c Add emergency patch for 'RFC: Timer-based CD audio sync' patch so monkeyvga works again.
svn-id: r5012
2002-09-24 04:29:54 +00:00
Travis Howell
eef7b30955 Remove mention of Windows GDI build
svn-id: r5005
2002-09-22 11:37:53 +00:00
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +00:00
Travis Howell
f1a273e092 Add the following patches:
[ 609649 ] Sound patch for GF_OLD256 games
[ 611997 ] RFC: Timer-based CD audio sync

svn-id: r4986
2002-09-21 13:48:03 +00:00
Max Horn
e0f11edf45 quit should not exit(1) but rather exit(0) (mabye we should add a paramter 'bool success' to it that flags whether this is a normal exit or one with an error?)
svn-id: r4979
2002-09-20 00:12:58 +00:00
Max Horn
fcfc72296c based on my findings for guifont, I changed string.cpp to read the char width table for OLD256 games! yippi! some more code cleanup, and marked two struct values as 'to be removed when savegame format changes'
svn-id: r4978
2002-09-19 23:49:38 +00:00
Max Horn
f644bea112 improved the text display in a newgui a bit: make the font proportiona; implemented text alignment (left/right/center); alpha blending now not anymore at 50% but at 66%; moved some #defines to util.h
svn-id: r4972
2002-09-19 17:03:24 +00:00
Max Horn
bb57506d48 Added overlay to OSystem interface; implemented overlay in SDL backend (all other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X
svn-id: r4971
2002-09-19 16:06:51 +00:00
Paweł Kołodziejski
e6352e3a32 moved warning, debug, checkheap to engine
svn-id: r4965
2002-09-18 10:56:23 +00:00
Paweł Kołodziejski
462d26937c Timer is handled in Engine now
svn-id: r4964
2002-09-18 10:22:36 +00:00
Ruediger Hanke
068042781f Appending a slash in all cases breaks some games on MOS
svn-id: r4961
2002-09-17 21:45:13 +00:00
Max Horn
a6c5762817 added some comments, cleanup
svn-id: r4950
2002-09-16 10:42:12 +00:00
Paweł Kołodziejski
ae871cd4a6 minor changes in source structure
svn-id: r4949
2002-09-16 09:52:21 +00:00
Paweł Kołodziejski
f7ff5c67fa improved open function in File class
svn-id: r4945
2002-09-15 19:28:34 +00:00
Jonathan Gray
9ce78dd66e apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's request
svn-id: r4943
2002-09-15 09:06:58 +00:00
Max Horn
f2da602963 factored out the case-insensitive fopen into its own function - makes it easier to adapt all the code to use it. TODO: improve it to work like in exult, i.e. sometimes other parts of the path have to be changed to upper/lower case (e.g. video vs. VIDEO)
svn-id: r4935
2002-09-13 18:02:34 +00:00
Max Horn
fd91bb67dc ugh! yes, negative offsets for seek do occur! Thus using an unsigned isn't such a good choice for the offset parameter
svn-id: r4927
2002-09-13 12:16:03 +00:00
Paweł Kołodziejski
e6a2c59843 fixed compilation, but not sure about this
svn-id: r4921
2002-09-10 08:26:52 +00:00
Paweł Kołodziejski
dcf05149fe changed scumm file io to class File
svn-id: r4920
2002-09-10 07:34:27 +00:00
Max Horn
22e2df20c2 added String constructor which takes (and clones) a ConstString
svn-id: r4918
2002-09-09 11:42:24 +00:00
Max Horn
f277bb9fcd fixed bug in remove() (could cause crashes)
svn-id: r4917
2002-09-09 11:41:13 +00:00
Max Horn
126dec89e6 added missing destructor; fixed clearNodes; fixed parameter of merge()
svn-id: r4916
2002-09-09 11:23:31 +00:00
Michael Pearce
0fbefc72aa Applied roever's screen effects patch (#602595) and fixed LethalWP's Makefile ;)
svn-id: r4909
2002-09-09 05:56:11 +00:00
Max Horn
78f2f9e505 Added ConstString class; not yet used, but will allow us to reduce the overhead involved when passing in string constants as parameters taking a String ref right now
svn-id: r4904
2002-09-08 11:46:42 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Matt Hargett
943de561bf Change snprintf to sprintf to be consistent with surrounding code.
svn-id: r4902
2002-09-07 20:59:56 +00:00
Matt Hargett
0069fb1072 Fix heap corruption. Fix compiler warning.
svn-id: r4901
2002-09-07 19:55:16 +00:00
Paweł Kołodziejski
5b4f2cefef added write support to File
svn-id: r4900
2002-09-02 22:06:26 +00:00
Paweł Kołodziejski
e0dcf4d8ec removed (+ pos)
svn-id: r4899
2002-09-02 21:12:57 +00:00
Paweł Kołodziejski
bb6bff1b5e corrected lower/upper changes in File
svn-id: r4898
2002-09-02 20:53:12 +00:00
Paweł Kołodziejski
687e82c0fa fixes
svn-id: r4897
2002-09-02 20:15:14 +00:00
Paweł Kołodziejski
ca03c9b5fc changed file io in sounds to class File
svn-id: r4896
2002-09-02 07:53:43 +00:00
Paweł Kołodziejski
bb71d9e677 fixes
svn-id: r4887
2002-08-31 18:46:00 +00:00
Max Horn
caf9817cb1 don't print char 0x7f
svn-id: r4881
2002-08-31 14:14:24 +00:00
Max Horn
a39711e256 fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h
svn-id: r4877
2002-08-31 13:29:10 +00:00
Max Horn
0c7771a706 removed bad strdup implementation
svn-id: r4876
2002-08-31 13:12:46 +00:00
Paweł Kołodziejski
e8c4f2099c updated
svn-id: r4875
2002-08-31 09:55:58 +00:00
Paweł Kołodziejski
3826c7c8a8 changed Bundle to File class, cleanup
svn-id: r4874
2002-08-31 09:50:36 +00:00
Paweł Kołodziejski
bd7b93061b added class File
svn-id: r4873
2002-08-31 07:43:34 +00:00
Max Horn
bbcae3efbe experimental support for the V2 resource format (patch #601560)
svn-id: r4864
2002-08-29 16:57:43 +00:00
Max Horn
ec47d8c80c fixed some endian issues in the new SMUSH decoder; cleanup
svn-id: r4842
2002-08-25 10:50:18 +00:00
Max Horn
c65a35430e endian fixes; cleanup
svn-id: r4837
2002-08-24 23:22:10 +00:00
James Brown
1bf20ac0c3 Move scaler code from SCUMM-specific area.
svn-id: r4803
2002-08-23 06:43:06 +00:00
Ruediger Hanke
31f6833f87 Made MorphOS port use master makefile, few compilation fixes
svn-id: r4800
2002-08-22 10:43:50 +00:00
Max Horn
2ebd2ba0b5 engine.* moved to common (where it belongs); added distclean target which gets rid of the .deps dirs, too; removed -Isound
svn-id: r4794
2002-08-21 16:53:11 +00:00
Max Horn
7aac293726 fixed the 'intelligent' GCC build rules; added .cvsignore files
svn-id: r4790
2002-08-21 16:28:19 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00