Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson f9f5845e2d Made the usage of the Rect data type more consistent with the rest of
ScummVM.

Note that these are only the cases I was able to find in one morning. There
may be others left to fix. But I'm sure at least most of them will be found
when we start cleaning up the codebase a bit.

svn-id: r15641
2004-10-22 07:21:17 +00:00
Torbjörn Andersson 4115b54b00 Fixed two of my own stupid bugs:
* The length of a script data buffer is measured in words, not bytes.
* In the long run, I'm sure it'll work better if the data buffers do not
  point to recently freed data.

svn-id: r15640
2004-10-22 07:18:01 +00:00
Robert Göffringmann eb7fe9cee4 changed timing code.
svn-id: r15639
2004-10-22 05:34:18 +00:00
Max Horn 5c87bcafa6 Fix sign warnings
svn-id: r15638
2004-10-21 23:03:09 +00:00
Max Horn 7e339bfbd2 Don't hard code refs
svn-id: r15637
2004-10-21 22:53:54 +00:00
Eugene Sandulenko 44bd54b476 Better support of MT-32.
svn-id: r15636
2004-10-21 22:40:06 +00:00
Eugene Sandulenko 9d0b746aaa Patch #1048326 Better MT-32 support
svn-id: r15635
2004-10-21 22:37:37 +00:00
Max Horn 9cb88f1d46 Whitespace -> tab
svn-id: r15634
2004-10-21 15:54:06 +00:00
Chris Apers feb6b490c1 Ooops
svn-id: r15633
2004-10-21 13:23:52 +00:00
Chris Apers 25b70535be Make PalmOS happy
svn-id: r15632
2004-10-21 12:43:49 +00:00
Chris Apers 542b24f116 Fixed alignment problem with BS1 demo
svn-id: r15631
2004-10-21 12:37:13 +00:00
Chris Apers e97d6a5f97 Prepare PalmOS support
svn-id: r15630
2004-10-21 12:35:39 +00:00
Torbjörn Andersson 2653a45fd3 Added a reminder that we need to put the Wyrmkeep folks (or is there just
one?) in the credits section of our README eventually.

svn-id: r15629
2004-10-21 11:22:26 +00:00
Robert Göffringmann 561f6ab6e8 enable czech control panel. should work.
svn-id: r15628
2004-10-21 08:47:13 +00:00
Torbjörn Andersson 32d8d0adbf Added another SAGA item.
svn-id: r15627
2004-10-21 08:18:48 +00:00
Torbjörn Andersson 1e062a6d89 A bunch of mostly panel-related fixes for the ITE intro. Apart from the
numerous animation glitches, it's looking almost like the real thing now.

It's no longer possible to walk away during the intro. This should provide
a great incentive to implement the "Escape" feature. ;-)

svn-id: r15626
2004-10-21 06:49:11 +00:00
Torbjörn Andersson ed089f7f38 Fixed some clipping problems. I think there are more still in there, but I
am sorely tempted to rewrite so that we use the Rect datatype consistently
with how most of the rest of ScummVM does. (E.g. a rectangle covering the
entire ITE screen would have right and bottom as 320 and 200 respectively,
not 319 and 199 like I think we do now.)

svn-id: r15625
2004-10-21 06:47:21 +00:00
Torbjörn Andersson 47face89e5 Fixed warnings. (Maybe it should be "const char *" instead, but then I got
warnings from a different part of the code. Ho, hum...)

svn-id: r15624
2004-10-21 06:44:25 +00:00
Robert Göffringmann 06066565a6 fixes bug #786482, stupid gardener getting stuck in his hacky animation script.
svn-id: r15623
2004-10-21 05:18:06 +00:00
Robert Göffringmann e721c6de0c this should work around bug #922774.
well, at least it should keep the engine from crashing.

svn-id: r15622
2004-10-21 03:47:15 +00:00
Eugene Sandulenko e58a097acf FX_CROWD constants are correct.
Add some simple stub.

svn-id: r15621
2004-10-20 22:38:24 +00:00
Torbjörn Andersson daee7c19e5 Added note about output sample rate.
svn-id: r15620
2004-10-20 09:19:14 +00:00
Chris Apers a635831b1f Added fgetc/getc function
svn-id: r15619
2004-10-20 09:17:46 +00:00
Max Horn 72df42e047 Fix for bug #1049937 (FOA: Regression in Adlib music)
svn-id: r15618
2004-10-19 23:03:04 +00:00
Torbjörn Andersson f4443646e5 Oops, now it plays the correct music again, I hope. The sound effects seem
a bit better now, too. At least the crowd is no longer cheering when the
fair is closed.

svn-id: r15617
2004-10-19 18:45:42 +00:00
Torbjörn Andersson 1fa79b09de Got rid of ungetc() to save Chrilith from the trouble of implementing it
himself on PalmOS.

svn-id: r15616
2004-10-19 18:28:41 +00:00
Torbjörn Andersson 20e57d8bd5 Cleanup. No need to have a lookup table for something that can be expressed
by simple arithmetics.

svn-id: r15615
2004-10-19 18:11:50 +00:00
Torbjörn Andersson 82b6902b56 Initial, and slightly buggy, support for sound effects.
svn-id: r15614
2004-10-19 17:12:53 +00:00
Torbjörn Andersson d37a55ef19 Increased debug level in the name of sanity.
svn-id: r15613
2004-10-19 16:51:26 +00:00
Torbjörn Andersson e31cd239bd Use the same REDUCE_MEMORY_USAGE trick here as in scumm/intern.h
svn-id: r15612
2004-10-19 14:19:52 +00:00
Chris Apers 1ac29aae1e Help PalmOS (and more ?) to save memory
svn-id: r15611
2004-10-19 12:30:42 +00:00
Torbjörn Andersson 61e438df22 Made the calculation of _samples_per_tick a bit less prone to arithmetic
overflow. It failed if the output rate was 44100 Hz. (It didn't use to, but
somewhere along the line an unsigned value was changed to a signed. This
seemed like a better fix, though.)

svn-id: r15610
2004-10-19 08:47:10 +00:00
Torbjörn Andersson 4d3913d1b2 Cleanup of the credits code. Use the new gets() function.
svn-id: r15609
2004-10-19 07:12:23 +00:00
Eugene Sandulenko acf6e4a12f Accepted patch #1048693 -- Making File::gets() more well-defined.
svn-id: r15608
2004-10-18 21:22:10 +00:00
Gregory Montoir 83560e5110 minor changes
svn-id: r15607
2004-10-18 19:15:00 +00:00
Travis Howell 95eb4e1131 Free some memory on exit
svn-id: r15606
2004-10-18 14:50:09 +00:00
Travis Howell 9531348692 _images not required.
Free extra HE resources on exit.

svn-id: r15605
2004-10-18 14:37:38 +00:00
Travis Howell 1922b330ad Add keyboard control for HE80+ games.
svn-id: r15604
2004-10-18 06:40:36 +00:00
Travis Howell a6da710923 Typos
svn-id: r15603
2004-10-18 05:23:43 +00:00
Travis Howell 33cab90202 Leftover
svn-id: r15602
2004-10-18 05:15:10 +00:00
Travis Howell 6ad08cd944 Cleanup
svn-id: r15601
2004-10-18 05:10:15 +00:00
Travis Howell f49f6b047d Correction/cleanup.
svn-id: r15600
2004-10-18 05:03:58 +00:00
Travis Howell e797a60e2a Extra case used in fbear introduction, no purpose.
svn-id: r15599
2004-10-18 00:44:10 +00:00
Eugene Sandulenko 3ebaf08d6c Fix compilation.
svn-id: r15598
2004-10-17 21:34:37 +00:00
Max Horn ea9d53be79 cleanup
svn-id: r15597
2004-10-17 19:40:34 +00:00
Max Horn 42909eb0b0 Use new setupPremix variant (incomplete)
svn-id: r15596
2004-10-17 19:40:05 +00:00
Max Horn 697da0eb9b Add comment
svn-id: r15595
2004-10-17 19:39:54 +00:00
Max Horn 365b9a1e27 Doxygen fix
svn-id: r15594
2004-10-17 19:39:46 +00:00
Max Horn 82a3d09a65 Fix warning
svn-id: r15593
2004-10-17 19:34:43 +00:00
Gregory Montoir 058598370a fix intro glitch regression
svn-id: r15592
2004-10-17 19:06:35 +00:00