Max Horn
6e6c3c3c96
put stuff in util.h into namespace ScummVM; fixed stupid bug in String class; took painelf's patch which implements save/load dialog in new GUI and fixed it slightly; various other minor changes
...
svn-id: r4591
2002-07-18 20:26:35 +00:00
Max Horn
37921ed5b7
fix for #583166 (hoagie doesn't enter mansion correctly); moved putActor into class Actor
...
svn-id: r4587
2002-07-18 15:45:10 +00:00
Max Horn
11973531b4
Patch #582286 - fix for double key events in newgui
...
svn-id: r4580
2002-07-16 21:18:06 +00:00
Max Horn
0843a2510c
biiig checkin: removed more stuff from scumm.h; added new headers resource.h and object.h
...
svn-id: r4579
2002-07-16 21:03:14 +00:00
Max Horn
32e81beb45
got rid of _xPos, _yPos, _dir members in class Scumm
...
svn-id: r4578
2002-07-16 18:51:27 +00:00
Max Horn
2e9d668748
primes usually give better results (verified this with Chi Squared test
...
svn-id: r4572
2002-07-16 15:48:59 +00:00
Max Horn
b215a7720a
no need to error out on Flashlight
...
svn-id: r4559
2002-07-15 22:32:15 +00:00
Max Horn
272c391eb0
fixed my fix - mouse cursor now moves again in new GUI
...
svn-id: r4550
2002-07-15 12:47:12 +00:00
Max Horn
13d1357b21
fixed pause mode; changed semantics of getRandomNumber slightly
...
svn-id: r4544
2002-07-15 01:38:52 +00:00
James Brown
f3e2b98c47
Duh - COMPILE before commit.
...
Fix stupid typo x 3
svn-id: r4543
2002-07-14 04:54:56 +00:00
James Brown
c2877866ff
Reapply the Zak cashcard var exclusions... two of them somehow vanished
...
out of the code during rewrites.
svn-id: r4542
2002-07-14 03:01:36 +00:00
Max Horn
c3c11b79cb
added latest of painelf's patches which makes NewGui handle system events directly (code becomes much cleaner and more powerful this way); he also implemented a 'focus' item in NewGui; atop of this several changes of my own that further improve the GUI behaviour
...
svn-id: r4541
2002-07-13 22:41:29 +00:00
Max Horn
1238d74227
took painelf's change, modified it a lot, and now here's the result :-)
...
svn-id: r4540
2002-07-13 18:32:09 +00:00
Max Horn
dc60238196
renamed fadeToBlackEffect to fadeOut; renamed screenEffect to fadeIn; implemented oldRoomEffect (fixes room transitions in MonkeyVGA and Indy3)
...
svn-id: r4536
2002-07-13 14:07:37 +00:00
Max Horn
d16bf9a102
small indention fix
...
svn-id: r4526
2002-07-12 22:10:24 +00:00
Max Horn
c60670d561
added prototype ListWidget (doesn't do anything yet, only serves to demo how it might look); renamed various NewGui methods and added frameRect method; made NewGui use our 'own' GUI colors (no worries if you don't like them, this is just an experiment); StaticTextWidget now clones its label (preventing problems when a game was loaded, thus invalidating string locations in memory)
...
svn-id: r4513
2002-07-10 22:49:41 +00:00
Max Horn
c9b1d393b8
delay creation of dialogs till they are used; fixed new pause dialog & use it instead of the old one; dirty area handling in new gui code is more logical/useful now
...
svn-id: r4487
2002-07-08 00:10:11 +00:00
Max Horn
eacf0afa95
hooked in new experimental, *incomplete* GUI code to F6/F7
...
svn-id: r4464
2002-07-05 17:00:18 +00:00
Max Horn
910afa3566
yes, yaz0r, there is a much better way to do this :-); also removed some unused stuff
...
svn-id: r4449
2002-07-02 20:56:17 +00:00
Max Horn
b1ac054f87
gee, why hardcode the ascii codes if we can use char constants? Also, volume up was mapped to '=' not '+' despite the comment indicating otherwise
...
svn-id: r4445
2002-07-02 18:08:35 +00:00
James Brown
f3ab5d8228
Fix Simon case sensitivity, work around Win32 SDL bug (hang on audio exit)
...
svn-id: r4421
2002-06-16 04:09:22 +00:00
Max Horn
7fc516ba98
removed useless (read: already done in other place) code
...
svn-id: r4414
2002-06-07 16:36:01 +00:00
Max Horn
d35eed21f1
more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an icky, wrong implementation for it - yes this is complete nonsense but I'll try to replace it with the right thing RSN :-)
...
svn-id: r4404
2002-06-04 23:32:53 +00:00
Max Horn
da43c14569
another attempt to fix #529538
...
svn-id: r4394
2002-06-02 12:07:12 +00:00
Max Horn
2a37e8b872
fixed script dumping for small header games (by MadMoose)
...
svn-id: r4390
2002-06-01 21:39:57 +00:00
Max Horn
8fd03ae929
moved more stuff out of the Scumm class (usage of g_scumm is only temporary, Endy, no worries <g>); some other cleanup
...
svn-id: r4376
2002-05-23 00:37:00 +00:00
Vincent Hamm
22f5be69f6
Fixed a bit of dig's walking bugs. But I'm still diabling the walk script since it's causing troubles..
...
svn-id: r4371
2002-05-22 12:24:48 +00:00
Vincent Hamm
1db4ae7c2f
Temp removal of the actor walk script execution to fix dig's walking
...
svn-id: r4364
2002-05-20 16:02:29 +00:00
Max Horn
d2398b4b7e
fixed #557574 - quickload/save shortcuts where passed on to game engine, which is wrong
...
svn-id: r4354
2002-05-19 12:35:43 +00:00
Nicolas Bacca
427cc598e0
Big ugly hairy hack to remove Scumm class dependencies to the MidiEmu driver, and add streaming (ahah) emulation - someone please fix this as soon as possible :)
...
svn-id: r4349
2002-05-18 20:12:41 +00:00
James Brown
4670fee821
Misc. fixes
...
svn-id: r4338
2002-05-15 10:25:00 +00:00
Max Horn
64c6113d15
removed actor.h from scumm.h; added _scumm member var to class Actor; some var renaming in preparation of more methord refactoring
...
svn-id: r4333
2002-05-14 23:35:28 +00:00
Max Horn
3d69ee488a
some cleanup
...
svn-id: r4324
2002-05-14 19:55:39 +00:00
Max Horn
fe4230bcbf
refactored parts of actor.cpp: many methods are now members of class Actor instead of class Scumm. This is still work in progress!
...
svn-id: r4319
2002-05-14 19:11:20 +00:00
James Brown
a592de4333
Remove SCUMM dependancies from SDL.C - This fixes a regular crash in Simon due to the autosaver.
...
This changes the OSystem interface. Porters beware.
svn-id: r4318
2002-05-14 18:14:16 +00:00
Max Horn
271f50b044
renamed unkVirtScreen4 to fadeToBlackEffect; fixed graphic transition glitch ( #551584 )
...
svn-id: r4294
2002-05-12 17:51:40 +00:00
James Brown
740785f110
FIXME to re-enable F5 under zak256 until we support the ingame save/load dialog
...
svn-id: r4282
2002-05-11 21:09:30 +00:00
Max Horn
4de29e7476
rewrote many_direction_tab a bit to make it clearer where that values come from
...
svn-id: r4274
2002-05-10 21:22:13 +00:00
Max Horn
1dc88c5855
added FIXME comment
...
svn-id: r4273
2002-05-10 21:19:24 +00:00
Max Horn
8dbcdc661f
renamed fixActorDirection to setActorDirection; fixed a bug causing wrong actor directions
...
svn-id: r4260
2002-05-10 13:45:32 +00:00
James Brown
41a843d762
Fix next to last Zak bugs.
...
Zak256 is now completable apart from getting stuck in the shop (walkbox issue)
svn-id: r4242
2002-05-08 09:09:39 +00:00
Max Horn
02a75c0521
made most stuff in gui class protected, as it should be; moved internal definitions from gui.h to gui.cpp; added up/down arrows to save dialog (ugly, but better than nothing IMO
...
svn-id: r4234
2002-05-08 00:27:09 +00:00
Lionel Ulmer
dd3129b882
First commit of the OPL2 MIDI driver (to have MIDI music without
...
requiring any OS-level MIDI support).
This was taken from AdPlug.
This is *very* buggy for now (well, it works, but it sounds just plain
ugly :-) ).
svn-id: r4232
2002-05-07 22:07:28 +00:00
James Brown
705f304004
Beginning of support for multiple resolutions.
...
Makes Zak256 inventory scrolling work.
svn-id: r4227
2002-05-07 18:44:34 +00:00
James Brown
21e14b44c5
Add raw PCM part to dig .bun decompressor.
...
svn-id: r4219
2002-05-06 15:32:32 +00:00
James Brown
1dc2ccca8d
Add hotkeys for text speed / master volume
...
svn-id: r4218
2002-05-05 22:39:52 +00:00
James Brown
1f9c0dc666
Add text speed option (-y for Yak :)
...
svn-id: r4216
2002-05-05 20:08:41 +00:00
Max Horn
2f2d4527ef
cleaning up the mess drigo left... <sigh>
...
svn-id: r4215
2002-05-05 20:04:26 +00:00
Enrico Rolfi
38d048b86b
Fixed some things for Macintosh ports
...
svn-id: r4212
2002-05-05 19:06:51 +00:00
Lionel Ulmer
ab0401242e
Change the 'poperty' call to be 64-bits clean.
...
Porters, please check that I did not break anything while updating
your ports. Thanks :-)
svn-id: r4196
2002-05-04 09:55:10 +00:00