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