Commit Graph

12598 Commits

Author SHA1 Message Date
Eugene Sandulenko
5a0085a581 Fix regression with 640x480 HE games so it will not let them scale above 1x.
Though I _don't_ like this fix. It looks like a dirty hack to me. There
is something completely wrong with our logics here.

svn-id: r16644
2005-01-27 12:23:36 +00:00
Paweł Kołodziejski
d1713410f2 fix for shadowed variable
svn-id: r16643
2005-01-27 12:08:09 +00:00
Travis Howell
4aa9f43879 Add swedish freddi
svn-id: r16642
2005-01-26 14:14:51 +00:00
Paweł Kołodziejski
55aa56dbdc fix for compressed bun sounds
svn-id: r16641
2005-01-26 14:11:27 +00:00
Eugene Sandulenko
284c209bad Fix bug #1109687 buffer overflow causes crash from env-var HOME and some
other places with such overflows.

svn-id: r16640
2005-01-26 11:01:41 +00:00
Paweł Kołodziejski
065a27daab added support for compressed bun files
svn-id: r16639
2005-01-25 22:21:26 +00:00
Paweł Kołodziejski
beb5395d54 fixed volume channel in fade track
svn-id: r16638
2005-01-25 21:36:01 +00:00
Paweł Kołodziejski
6c5f3ee21a update
svn-id: r16637
2005-01-25 21:24:00 +00:00
Torbjörn Andersson
8bfbc143a8 The sfRand() script function was slightly wrong
Old behaviour:     0 <= random number <= param
Correct behaviour: 0 <= random number < param

svn-id: r16636
2005-01-25 18:16:02 +00:00
Torbjörn Andersson
cfe996642c InfoDialog can assume the screen is 320 pixels. In games where it isn't,
the dialog will be scaled to the appropriate size and position. This should
fix bug #1107817.

svn-id: r16635
2005-01-25 08:15:49 +00:00
Torbjörn Andersson
3623ca4637 Corrected the comment: the savegame filename does not include the path at
this stage. (So 128 characters is probably excessive, even if the SCUMM
engine uses 256.)

svn-id: r16634
2005-01-25 07:55:09 +00:00
Torbjörn Andersson
b86423f898 Added a "value step" parameter to the Slider widget class so that clicking
beside the slider handle can move it more than one step. (When the volume
range was 0-14 or 0-16 this wasn't needed, but now it's 0-255.)

svn-id: r16633
2005-01-25 07:27:14 +00:00
Travis Howell
b0c35b4d4c Correct aksf/akst pointer when sequence found.
svn-id: r16632
2005-01-24 10:59:44 +00:00
Torbjörn Andersson
ed6408f853 Updated SAGA items.
svn-id: r16631
2005-01-24 10:22:05 +00:00
Travis Howell
99c00c9e5d *** empty log message ***
svn-id: r16630
2005-01-24 10:10:50 +00:00
Travis Howell
63ebdfa6c7 Correct sound offset size
svn-id: r16628
2005-01-24 10:07:17 +00:00
Eugene Sandulenko
ac30ac9dbd Update SAGA items. Now we have several things implemented :).
svn-id: r16627
2005-01-23 21:57:57 +00:00
Eugene Sandulenko
212306044d Picky indentation. Main reason is to make version 1.100 :P.
svn-id: r16626
2005-01-23 21:55:13 +00:00
Eugene Sandulenko
86dc6a3d85 Another spot of kReplyOnce usage. Thanks to proper memory addressing now
it is possible to implement.

svn-id: r16625
2005-01-23 21:52:43 +00:00
Paweł Kołodziejski
7a1f9bc2da update
svn-id: r16624
2005-01-23 20:53:41 +00:00
Eugene Sandulenko
b646d63dad Reenable stub for latter demos in sfScriptGotoScene()
svn-id: r16623
2005-01-23 17:06:15 +00:00
Max Horn
8f51510dec Fix warnings
svn-id: r16622
2005-01-23 14:30:59 +00:00
Jonathan Gray
81e9e0da72 Fix compilation when vorbis is disabled and mpeg2 is enabled.
Pointed out by Michael Sterrett on irc.

svn-id: r16620
2005-01-23 03:26:54 +00:00
Andrew Kurushin
4f68706f3c implemented sfWaitWalk scriptFunction
svn-id: r16619
2005-01-22 21:40:54 +00:00
Andrew Kurushin
01a863414e - removed returning value from scriptFunctions
- implement some scriptFunctions

svn-id: r16618
2005-01-22 19:21:38 +00:00
Andrew Kurushin
8543306e56 all opcodes revisited
all ITE opcodes supported (now we should go through scriptFunctions)

svn-id: r16617
2005-01-22 16:32:30 +00:00
Andrew Kurushin
0030e821fe another 19 opcodes
svn-id: r16616
2005-01-22 15:28:24 +00:00
Andrew Kurushin
4e7d58c843 rewritten 15 opcodes
svn-id: r16615
2005-01-22 14:43:49 +00:00
Torbjörn Andersson
f3b62a9ed7 Whitespace and indentation.
svn-id: r16614
2005-01-22 14:16:00 +00:00
Torbjörn Andersson
cde69caf63 Fixed warning.
svn-id: r16613
2005-01-22 14:10:14 +00:00
Travis Howell
1d86d0599d Set SFX volume correctly
svn-id: r16612
2005-01-22 02:01:22 +00:00
Travis Howell
3b637456aa Set SFX volume correctly.
svn-id: r16611
2005-01-22 01:47:07 +00:00
Travis Howell
1942d19d07 Fix regression, bug #1107125
svn-id: r16610
2005-01-22 01:09:51 +00:00
Andrew Kurushin
93a64d3ebd some opcode fixes:
opReturnV

svn-id: r16609
2005-01-21 23:44:34 +00:00
Eugene Sandulenko
1e07013f7f Fix portability
svn-id: r16608
2005-01-21 23:35:33 +00:00
Andrew Kurushin
899e476f01 now you can try to:
- talk to someone
 - look at something

svn-id: r16607
2005-01-21 23:25:54 +00:00
Eugene Sandulenko
e488ddc7c2 Fix cursor shape.
svn-id: r16606
2005-01-21 23:18:32 +00:00
Eugene Sandulenko
ebe40f024e Fix compilation
svn-id: r16605
2005-01-21 23:16:38 +00:00
Andrew Kurushin
58ec0f0aad problems solved:
- Allow more than one script work at once
- Proper implementation of address methods

some opcodes may be broken - cause work in progress
todo: rewrite opcodes with new address functionality

svn-id: r16604
2005-01-21 21:55:54 +00:00
Torbjörn Andersson
0228f1645f Use the kITEColor constants for the ITE mouse cursor. Ironically, this is
one case where the original didn't use its own colour constants, so I had
to add a new one, kITEColorLightGrey, for colour 4.

svn-id: r16603
2005-01-20 13:59:12 +00:00
Travis Howell
b9356bbe14 Check for negative sound offset.
svn-id: r16602
2005-01-20 12:56:27 +00:00
Torbjörn Andersson
ca58bfed3b Fixed bug that I must have introduced during one of my cleanups. The
original code read "LLogic.Logic_up( (*params*65536)+2);".

I don't know where this opcode is actually used, though.

svn-id: r16600
2005-01-20 07:32:37 +00:00
Eugene Sandulenko
6f565c0ad8 Fix type with BrightWhite color
svn-id: r16599
2005-01-19 20:43:12 +00:00
Eugene Sandulenko
001bb7c74e o Made ITEColors enum public in interface.h. Please use them. These colors
stay in each scene except intro and fade-in/fade-outs.
o Implemented status text coloring during work of auxiliary scripts.

svn-id: r16598
2005-01-19 11:29:29 +00:00
Andrew Kurushin
1b5e5981a6 fixed default verb issue
svn-id: r16597
2005-01-19 00:02:25 +00:00
Andrew Kurushin
9353d54f95 implemented Sprite::hitTest
Actors & Objects can be hited

svn-id: r16596
2005-01-18 23:15:41 +00:00
Andrew Kurushin
0ccf59faee partly implemented game objects
svn-id: r16595
2005-01-18 21:13:44 +00:00
Andrew Kurushin
b4b2e52df7 another step in verb implementation:
- objectMap responds to mouse move  (but respond script not run well ?)

loadStrings add some special count check
- so all other LUT based resource should implement this technique

svn-id: r16594
2005-01-18 15:01:21 +00:00
Andrew Kurushin
c1ce30b0bf - remove ActionMap.h & ActionMap.cpp
svn-id: r16593
2005-01-18 11:59:09 +00:00
Andrew Kurushin
0b4fd4adbf - merged ActionMap and ObjectMap
- remove ActionMap.h & ActionMap.cpp
- ObjectMap names move to Scene::_sceneStrings as in original engine
- fix wrong StringsTable::stringsCount calculation

svn-id: r16592
2005-01-18 11:55:31 +00:00