Paul Gilbert
cb366384f7
In OSystem_SDL::closeMixer moved the call to SDL_CloseAudio to before the deletion of the _mixer variable in to fix an assert that was being generated in OSystem_SDL::mixCallback
...
svn-id: r33095
2008-07-18 09:36:49 +00:00
Torbjörn Andersson
702e26965c
Don't crash if you try to use music file #2 as music file #1 . When the music
...
wasn't found, it would close the file even if something else was already
playing from it. (Some music is in both files.)
svn-id: r33094
2008-07-18 04:16:00 +00:00
Max Horn
0f74124d78
Committing PS2 changes on behalf of the other Max ;)
...
svn-id: r33089
2008-07-17 15:56:24 +00:00
Kari Salminen
67bef188d3
Patch #2019455 : Patch for reducing the BSS size of Cine engine.
...
svn-id: r33087
2008-07-17 07:13:41 +00:00
Nicola Mettifogo
17d86414cb
Fixed regression bug in dialogue, which de-facto allowed user to skip in-game protection.
...
svn-id: r33086
2008-07-17 00:38:11 +00:00
Bertrand Augereau
bd17a600dc
Split the drawVertImage function in the agos engine to make it clearer
...
and easier to profile
svn-id: r33083
2008-07-16 09:08:44 +00:00
Gregory Montoir
cdade7eff3
fix bug #1876741 : changed .SB playback rate to 11840Hz (matches dos game)
...
svn-id: r33079
2008-07-15 20:31:11 +00:00
Gregory Montoir
2bae0df17e
fix bug #1995042 : stop previous sfx playback when starting a new sfx (matches original dos code). Also removed the "sound skipping" hack in final bam scene.
...
svn-id: r33078
2008-07-15 20:26:12 +00:00
Max Horn
943b4c2036
Implemented audio double buffering (for now OSX only)
...
svn-id: r33075
2008-07-15 17:13:06 +00:00
Nicola Mettifogo
551f6d71c3
Made frame unpacking buffer dynamic (this frees some BSS space).
...
svn-id: r33072
2008-07-15 10:59:58 +00:00
Max Horn
619b45e4d3
config.log and tmp files should be put into the configure (= current) dir, not the source dir
...
svn-id: r33070
2008-07-15 10:47:24 +00:00
Kari Salminen
60357650e0
Fix for bug #2016647 (FW: crash with italian amiga version).
...
- Consists of a workaround for a script bug that used local
variable 251 when it should've used global variable 251.
- Also added a fix for a crash when failing copy protection
in Amiga or Atari ST versions of Future Wars.
NOTE: That any of the Amiga or Atari ST versions of Future Wars
haven't crashed right in the beginning before seems like plain
luck because accessing local variable 251 is out of bounds!
svn-id: r33068
2008-07-14 23:10:51 +00:00
Willem Jan Palenstijn
ba4ba85124
remove accidentally committed debugging code; fix shadowing warning
...
svn-id: r33064
2008-07-14 21:04:42 +00:00
Willem Jan Palenstijn
ff5f3730c5
Don't draw scumm saveload dialog while reflowing layout, as that would use uninitialized values
...
svn-id: r33063
2008-07-14 21:00:39 +00:00
Bertrand Augereau
9c91f091ff
Register spilling avoided in AGOS background drawing (and 2x unrolling)
...
svn-id: r33062
2008-07-14 20:34:31 +00:00
Max Horn
c25c406c00
cleanup (and test for Marwan's branch.... ;)
...
svn-id: r33061
2008-07-14 19:14:26 +00:00
Nicola Mettifogo
c48f3ca8d8
Removed all labels from the rendering list to avoid random crashes after introduction is over.
...
svn-id: r33058
2008-07-14 13:35:43 +00:00
Paul Gilbert
eaeb1587f4
Fix for missing data in the savegame format that could result in not being able to talk to Goewin in the apothecary after restoring a savegame
...
svn-id: r33057
2008-07-14 10:33:57 +00:00
Max Horn
0860df5d0e
Fixed code formatting
...
svn-id: r33056
2008-07-14 07:54:18 +00:00
Nicola Mettifogo
d0ae6885ac
Fixed regression in walk code. Now standing frames are correctly selected when the character encounters an unexpected blocking object in his/her path.
...
svn-id: r33053
2008-07-14 00:21:05 +00:00
Nicola Mettifogo
7b2645248c
Made sure characters are not removed from the rendering list during switches.
...
svn-id: r33052
2008-07-14 00:13:31 +00:00
Nicola Mettifogo
ef95c6ff70
More refactoring of walk code.
...
svn-id: r33033
2008-07-13 13:04:36 +00:00
Florian Kagerer
ba5f14692f
- fix for bug #2016965 : KYRA: does not compile in MSVC71
...
svn-id: r33030
2008-07-13 12:20:24 +00:00
Nicola Mettifogo
059936854c
Cleanup of walk code.
...
svn-id: r33023
2008-07-13 06:27:31 +00:00
Nicola Mettifogo
2a80bd0678
Cleanup and improved debugging output for CommandExec::run()
...
svn-id: r33022
2008-07-13 03:39:42 +00:00
Nicola Mettifogo
9c2d96530b
Properly implemented the OFF command. The new rendering order for graphics let this mistake finally surface.
...
svn-id: r33021
2008-07-13 03:30:14 +00:00
Bertrand Augereau
5de579930d
Minor constness fix to help with aliasing
...
svn-id: r33017
2008-07-12 20:35:44 +00:00
Sven Hesse
c1ec21d999
Changed tricky variable access from pointers to a new class that minds endianess.
...
This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems).
svn-id: r33014
2008-07-12 15:21:38 +00:00
Max Horn
7ddd961bf2
cleanup
...
svn-id: r33010
2008-07-11 20:28:50 +00:00
Max Horn
815d75e870
Don't use kPlainSoundType if you don't have to
...
svn-id: r33009
2008-07-11 20:28:14 +00:00
Nicola Mettifogo
c829fd3eaf
Added a script (courtesy of salty-horse) to create/set properties for source files under version control by Subversion. Specifically, the mime-type, eol-style and keywords properties are handled.
...
svn-id: r33007
2008-07-11 15:07:13 +00:00
Nicola Mettifogo
8ba56e98cf
Cleanup.
...
svn-id: r33006
2008-07-11 13:36:22 +00:00
Kari Salminen
273129330a
Update MSVC project files.
...
svn-id: r33004
2008-07-11 13:13:28 +00:00
Nicola Mettifogo
8ed023142a
Moved program and command execution code out of the engine, into their own brand new
...
classes.
svn-id: r33003
2008-07-11 13:06:28 +00:00
Nicola Mettifogo
fe65583657
Fixed leak in sound code by explicitly deleting the midi driver.
...
svn-id: r33002
2008-07-11 12:55:08 +00:00
Bertrand Augereau
f41ab55021
Fixed a few warnings
...
svn-id: r32994
2008-07-10 18:01:54 +00:00
Torbjörn Andersson
c8488c060c
Fixed Kyra 3 detection regression.
...
svn-id: r32992
2008-07-10 16:19:17 +00:00
Johannes Schickel
985a032871
Typo.
...
svn-id: r32990
2008-07-10 12:14:00 +00:00
Johannes Schickel
a117024d23
Added filename to unkown command/opcode warnings for TIM scripts.
...
svn-id: r32989
2008-07-10 12:12:42 +00:00
Johannes Schickel
e1e95f0c0e
Added filename to unknown opcode/command warnings of EMC scripts.
...
svn-id: r32988
2008-07-10 12:05:38 +00:00
Johannes Schickel
9a34ef702d
Fixed mem leak in MIDI related code.
...
svn-id: r32987
2008-07-10 11:28:51 +00:00
Johannes Schickel
092d9f38c5
Workaround for gcc 2.95 compiler bug.
...
svn-id: r32986
2008-07-10 11:25:43 +00:00
Nicola Mettifogo
03cd937b13
Fixed destruction of sprites in BRA.
...
svn-id: r32983
2008-07-10 02:00:54 +00:00
Neil Millstone
9f96471f47
DS: Backend changes for new mixer code
...
svn-id: r32978
2008-07-09 16:50:23 +00:00
Nicola Mettifogo
12cefc4132
Fixed leaks in NS and BRA.
...
svn-id: r32976
2008-07-09 13:27:09 +00:00
Nicola Mettifogo
18b48c74a9
Fixed regression introduced with GfxObj: the character sprite was sometimes removed from the rendering list.
...
svn-id: r32974
2008-07-09 10:52:46 +00:00
Max Horn
d24e770605
cleanup / code formatting
...
svn-id: r32973
2008-07-09 10:42:47 +00:00
Nicola Mettifogo
a294d22213
Added a couple of NULLity checks.
...
svn-id: r32972
2008-07-09 02:49:20 +00:00
Bertrand Augereau
d9f0753009
New configure flag --enable-profiling to compile and link with -pg (for
...
gprof)
svn-id: r32970
2008-07-09 02:19:57 +00:00
Joost Peters
a833c9dd86
set DEPDIR
...
svn-id: r32969
2008-07-08 17:46:26 +00:00