Max Horn
d9a9fac937
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
...
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
14f1337c60
Use %p to print pointers portably (even on 64bit systems). Note: this will add a 0x prefix automatically
...
svn-id: r21140
2006-03-08 10:07:02 +00:00
Max Horn
c59ca20ce6
Check format string in calls of debug/error (adapted from patch #1445422 )
...
svn-id: r21139
2006-03-08 10:00:12 +00:00
Eugene Sandulenko
871c394e28
Cleanup
...
svn-id: r21138
2006-03-08 01:49:22 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Oystein Eftevaag
cca7da5ba1
The adlib code was calling the Kyra delay() function instead of the
...
system delay, which was causing concurrency problems.
svn-id: r21136
2006-03-08 01:38:27 +00:00
Travis Howell
431c820e4f
Correct order of cases in o72_redimArray()
...
svn-id: r21135
2006-03-07 22:27:14 +00:00
Chris Apers
532f38f19f
Updated project file with lastest added/removed files from CinE, Gui, Kyra, imuse
...
svn-id: r21134
2006-03-07 19:24:58 +00:00
Eugene Sandulenko
c3e223afdb
Fix implementation of UseWithPrefix keyword
...
svn-id: r21133
2006-03-07 19:23:38 +00:00
Chris Apers
1157cbf842
Fixed invalid event returned with ARM OS5 backend
...
svn-id: r21132
2006-03-07 19:19:37 +00:00
Eugene Sandulenko
fc84c7fc1d
o More widgets fot alternative constructors
...
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
2006-03-07 19:02:42 +00:00
Eugene Sandulenko
d7bc756edc
Add XxH to evaluation precedence.
...
svn-id: r21127
2006-03-07 18:26:04 +00:00
Oystein Eftevaag
3f31e1b27d
Added the proper death dialog, changed the sequence skipping code a bit to avoid
...
possible frame losses, and removed a (now) redundant call to showOverlay() in the
debugger.
svn-id: r21125
2006-03-07 14:16:52 +00:00
Eugene Sandulenko
1f22481d83
Do not override .prev for simple variable assignments, i.e. VAR=VALUE
...
svn-id: r21124
2006-03-07 13:52:53 +00:00
Eugene Sandulenko
1eff73cb41
GUI widget positions:
...
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
2006-03-07 13:41:36 +00:00
Eugene Sandulenko
059c7a0296
Set svn keywords on theme file.
...
svn-id: r21120
2006-03-07 05:53:28 +00:00
Eugene Sandulenko
5c06d3391b
Fix 320xY layout
...
svn-id: r21119
2006-03-07 05:50:37 +00:00
Eugene Sandulenko
018c93b14a
More work on customizable GUI.
...
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
2006-03-07 05:39:52 +00:00
Jamieson Christian
02bdcc45c9
Updated Bloodshed Dev-C++ project file for scummvm to reflect new gui/ files.
...
svn-id: r21116
2006-03-07 04:11:28 +00:00
Eugene Sandulenko
ebd5833335
WIP for arbitrary widget positions. See
...
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.
svn-id: r21115
2006-03-07 03:31:31 +00:00
Eugene Sandulenko
4c16b73bd1
o Properly react to end-of-file is loadFromStream()
...
o Add types SectionList and SectionKeyList
o Implement getKeys() method
svn-id: r21114
2006-03-07 02:23:37 +00:00
Chris Apers
44f3879f58
Fixed fight mode shortcut
...
svn-id: r21113
2006-03-06 20:22:14 +00:00
Chris Apers
65e688ac15
Fixed compilation, this could be used with all systems (?)
...
svn-id: r21112
2006-03-06 19:44:15 +00:00
Johannes Schickel
4aaa3eacbd
Renamed setTempo to update_setTempo, also fixed tempo handling (intro is too fast now though, but seems to be another problem).
...
Also changed some unsigned values to signed.
svn-id: r21111
2006-03-06 16:37:03 +00:00
Torbjörn Andersson
628d64f136
More renamings: _unkTableByte1 is now _tempo, and updateCallback29() is
...
setTempo().
svn-id: r21110
2006-03-06 16:31:19 +00:00
Torbjörn Andersson
ddd312cea7
Cleanup
...
svn-id: r21109
2006-03-06 15:10:48 +00:00
Gregory Montoir
45656e9fcf
fixed palette handling regression, as reported on the forum.
...
svn-id: r21108
2006-03-05 23:50:24 +00:00
Jamieson Christian
06398d1a84
Removed tag2str usage, which eliminates scumm/util.h dependency.
...
svn-id: r21107
2006-03-05 22:35:26 +00:00
Torbjörn Andersson
ac33309a4d
I guess this is really a WORKAROUND, rather than a HACK. Updated comment.
...
svn-id: r21106
2006-03-05 22:31:49 +00:00
Johannes Schickel
e2779a0658
Corrects implementation of updateCallback48.
...
svn-id: r21105
2006-03-05 21:48:55 +00:00
Jamieson Christian
5e25b3b679
Restructured IMuse and IMuseInternal.
...
* IMuse is no longer a concurrency front-end.
* IMuseInternal now derives from IMuse.
* Common::StackLock used to protect thread-sensitive interface methods (same as IMuseDigital).
* clear_queue() included in stopAllSounds() so it can be removed from the public interface.
* Game ID now specified at init using property().
* Timer callbacks receive a struct containing IMuseInternal and MidiDriver refs, instead of just the latter.
* OSystem pointer from init is now cached and used instead of global.
All references to the g_system and g_scumm globals are now gone. BOOYAH!
Tested with MI2, DOTT and S&M, under Windows, in Native MIDI, Adlib, and Mixed modes. No regressions or concurrency issues observed. Manifestations of the latter are the biggest concern at this point.
svn-id: r21104
2006-03-05 21:30:44 +00:00
Torbjörn Andersson
27e49b6f56
Note to self: compile before commit.
...
svn-id: r21103
2006-03-05 20:11:43 +00:00
Torbjörn Andersson
4fb6c92473
The updateUnk6Value() appears to be some sort of random number generator, so I
...
have renamed it getRandomNr(). The _unk6 variable has been renamed _rnd. (Our
MidiDriver_ADLIB class also has its own random number generator, so it's not
such a far-fetched guess as it may seem.)
svn-id: r21102
2006-03-05 20:09:02 +00:00
Torbjörn Andersson
525690344b
Renamed output1() to adjustVolume(). I'm still uncertain exactly *how* the
...
volume is modified (it depends on several still unknown variables), but that's
all it does as far as I can tell.
svn-id: r21101
2006-03-05 19:48:22 +00:00
Torbjörn Andersson
0651236066
Make sure there actually is a SMUSH mixer before stopping and deleting it.
...
svn-id: r21099
2006-03-05 13:57:05 +00:00
Paweł Kołodziejski
7a6ff46b38
that was not what I want. it should stop audio only for immediately stop.
...
svn-id: r21095
2006-03-05 12:29:13 +00:00
Paweł Kołodziejski
38b82fb585
that should help for bug #1352486 , smush sound tracks are not stopped immediately, but outside smush when sound data are depleted in sound mixer buffer.
...
svn-id: r21094
2006-03-05 12:15:39 +00:00
Travis Howell
3fbf207ee5
Update box flags for C64 maniac
...
svn-id: r21093
2006-03-05 10:54:41 +00:00
Paweł Kołodziejski
70dc40cc93
updated msvc7,8 project files
...
svn-id: r21092
2006-03-05 10:05:19 +00:00
Travis Howell
24493b3f45
Add back exclusion lost in last commit, exclude some verbs from verbs error script
...
svn-id: r21091
2006-03-05 10:02:43 +00:00
Travis Howell
279ad67506
Correct case of verb names in C64 Maniac
...
svn-id: r21090
2006-03-05 09:05:44 +00:00
Travis Howell
7a9ed5425b
Add German verbs and more work on input in C64 maniac
...
svn-id: r21089
2006-03-05 08:22:39 +00:00
Travis Howell
68bdc98e0b
Patch to update Microsoft VC 7.1 project files, from Quietust
...
svn-id: r21088
2006-03-05 06:08:16 +00:00
Travis Howell
5bf6fdf2f5
Update, to add new imuse file
...
svn-id: r21087
2006-03-05 05:53:29 +00:00
Travis Howell
429f7d43d6
Fix compiler warnings
...
svn-id: r21086
2006-03-05 05:43:46 +00:00
Jamieson Christian
b1f7f32ed1
Separated the IMuse Part methods into their own file. Updated the Bloodshed Dev-C++ project file at the same time.
...
svn-id: r21085
2006-03-05 05:14:20 +00:00
Travis Howell
1fe0deeb54
Add some basic walkbox support for C64 maniac
...
svn-id: r21084
2006-03-05 03:46:41 +00:00
Johannes Schickel
4fb6c18f0e
Oops, fixes problems with disabled widgets (they need full drawn shadows).
...
svn-id: r21083
2006-03-04 21:25:11 +00:00
Johannes Schickel
91fbb6b7ae
Improved shadow drawing (it's faster now since it doesn't draw the whole rect like before)
...
'cleaned up' the drawSurfaceMasked function a bit.
svn-id: r21082
2006-03-04 20:45:59 +00:00
Torbjörn Andersson
623514df01
Cleanup: output0x388(0xABCD) is now writeOPL(0xAB, 0xCD), which is slightly
...
more easy to read.
svn-id: r21081
2006-03-04 20:27:51 +00:00