Max Horn
231cb16b5b
some tweaks to the build system (work toward plugin support)
...
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
468275bb94
added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
...
svn-id: r10278
2003-09-17 21:06:16 +00:00
Max Horn
c0d1061a2d
cleanup
...
svn-id: r10277
2003-09-17 20:34:20 +00:00
Max Horn
0e5e39e64e
remove unused variable
...
svn-id: r10276
2003-09-17 20:07:21 +00:00
Max Horn
1f2ee37642
BS2 works on BE systems now
...
svn-id: r10275
2003-09-17 19:12:45 +00:00
Torbjörn Andersson
f291b13134
cleanup
...
svn-id: r10274
2003-09-17 17:34:04 +00:00
Torbjörn Andersson
0604d3ff10
cleanup
...
svn-id: r10273
2003-09-17 16:59:12 +00:00
Torbjörn Andersson
27b734a044
Rewrote Read_file() to use our File class, and removed the unused functions
...
Direct_read_file() and Direct_write_file().
This change is completely untested, but that should be ok since Read_file()
(which is now the only function left in tony_gsdk.cpp) only seems to be
used in debug builds.
Perhaps we should remove these files completely?
svn-id: r10272
2003-09-17 14:33:47 +00:00
Torbjörn Andersson
ccf2eb2cc6
Removed some #includes that seem to be unnecessary. I think we're going to
...
have to clean up the header files at some point...
svn-id: r10271
2003-09-17 14:03:11 +00:00
Max Horn
1d60dc552d
delete name only after closing the file
...
svn-id: r10270
2003-09-17 13:28:48 +00:00
Torbjörn Andersson
d6c2957d5c
cleanup
...
svn-id: r10269
2003-09-17 13:03:13 +00:00
Torbjörn Andersson
7d0b682cc9
Cleanup.
...
Since this file contains a list of global variables which are accessed
both directly by the engine and - presumably - by the scripts, this could
lead to some nasty regressions. I've triple-checked the list against the
old version, so it *should* be ok, I just thought I'd point it out.
svn-id: r10268
2003-09-17 09:03:40 +00:00
Torbjörn Andersson
2536823c23
cleanup
...
svn-id: r10267
2003-09-17 06:28:27 +00:00
Jamieson Christian
dffa1cbc2f
Removed redundant presets storage.
...
svn-id: r10266
2003-09-16 21:28:46 +00:00
Jamieson Christian
091b41a278
Partial fix for Bug [636985] ZAK256: No kazoo tune
...
Implemented a parser for Euphony music. No
FM instrument support yet, as the FM chip used
by FM Towns is not being emulated yet. In the
meantime, a stock FM-emulated GM instrument is
being used instead.
This at least makes the Zak Towns kazoo tune
and the Loom Towns distaff audible. Emulation
of the FM Towns synth chip, or suitable
emulation using the OPL2 synth, is still
under investigation.
svn-id: r10265
2003-09-16 11:44:48 +00:00
Torbjörn Andersson
00c1fdce3a
Removed some unnecessary #includes and #defines.
...
svn-id: r10264
2003-09-16 09:57:57 +00:00
Torbjörn Andersson
48d0761286
Some cleanup. More to follow, I hope.
...
svn-id: r10263
2003-09-16 07:11:29 +00:00
Torbjörn Andersson
bc90c04c25
Don't call the premix function when the mixer is paused. (This is
...
particularly noticeable in games with PC speaker emulation, but I could
hear faint noises in AdLib music as well.)
svn-id: r10262
2003-09-16 07:06:17 +00:00
Jamieson Christian
e0129c34e7
Feature Request [806641] Increase MIDI
...
performance by omitting redundancies
Removed the use of the _bank member for iMuse Parts.
The member is still being saved/loaded, and a
warning will display if a non-zero _bank value is
set. If it turns out some musical passage is actually
using the _bank, we'll need to reinstate it.
Otherwise, after sufficient testing we can obsolete
it in the savegames.
svn-id: r10261
2003-09-15 21:35:30 +00:00
Max Horn
8f26c43b49
cleanup
...
svn-id: r10260
2003-09-15 19:48:54 +00:00
Oliver Kiehl
7eaf33e014
actually this is the correct fix to "Cutscene - Press ESC to exit" :)
...
svn-id: r10259
2003-09-14 23:42:07 +00:00
Oliver Kiehl
685d44940f
fix "Cutscene - Press ESC to exit" message
...
svn-id: r10258
2003-09-14 23:39:06 +00:00
Jonathan Gray
f69d97aadb
add putttime target
...
svn-id: r10257
2003-09-14 22:46:47 +00:00
Oliver Kiehl
ffd39dc95a
if saveslot specified with -x doesn't exist, show restore menu
...
svn-id: r10256
2003-09-14 21:45:42 +00:00
Oliver Kiehl
fe349d2d99
enable ``proper'' -x loading
...
svn-id: r10255
2003-09-14 21:10:14 +00:00
Jamieson Christian
d91278198b
Fix for Bug [805593] MI2: Music stops in LeChuck's fortress
...
Implemented _cmd_queue save/load. In addition to requiring
_cmd_queue information, this bug arises from a rare assumption
that sound resources are loaded in memory even though they
aren't currently playing. Therefore, a list of sound resources
loaded in memory is included in the savegame, so that all
relevant sound resources are reloaded when the savegame is
loaded. This also fixes an unreported music bug in S&M when
saving a game while outside the Bumpusville mansion.
As a result of savegame format modifications, we are now at
savegame version 23.
svn-id: r10254
2003-09-14 20:34:48 +00:00
Max Horn
6512592d0f
moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
...
svn-id: r10253
2003-09-14 18:16:45 +00:00
Oliver Kiehl
fd7727e9d2
Fingolfin, now I am really disappointed with you that you didn't see this bug... ;)
...
svn-id: r10252
2003-09-14 15:07:39 +00:00
Jochen Hoenicke
c902282a05
A hack for bug #770581 . This makes the sound much closer to the
...
original, but I think to make it completely right a bigger change to
the adlib backend would be necessary.
svn-id: r10251
2003-09-14 15:03:12 +00:00
Max Horn
f36473e25b
clarified some TODOs
...
svn-id: r10250
2003-09-14 13:42:28 +00:00
Max Horn
aa94497631
reverse my fix for the sarcophagus problem (I reopened that bug report, as this broke lots of other locked boxees. Now that I have dosbox to compared with the original Zak, I see that we are doing something wrong, and have a notion of what that might be; still need to figure out a way how to fix it
...
svn-id: r10249
2003-09-14 13:36:49 +00:00
Max Horn
ad09725b3e
evil fix for #bug 801293 (ALL: Ctrl+alt+b opengl switch) and some cleanup
...
svn-id: r10248
2003-09-14 12:52:38 +00:00
Jonathan Gray
dbc29272e9
use old method to decide on text colouring for loom towns, I think the pink distaff when returning to the first room may be the last bug left now
...
svn-id: r10247
2003-09-14 00:37:47 +00:00
Max Horn
47827b1f22
disabled a stone old hack; Ender, maybe you remember some details about this fix? anybody feel like playtesting the Mystery Vortex, please? :-)
...
svn-id: r10246
2003-09-13 23:50:29 +00:00
Max Horn
30e4785896
simplified code
...
svn-id: r10245
2003-09-13 21:20:05 +00:00
Paweł Kołodziejski
199e9632b8
fixed badly commit
...
svn-id: r10244
2003-09-13 21:04:47 +00:00
Max Horn
398af102a1
fix for bug #732414 (ZAK256: Some verbs do not highlight correctly)
...
svn-id: r10243
2003-09-13 20:55:42 +00:00
Paweł Kołodziejski
b735d9031d
implemented fileWrite opcode
...
svn-id: r10242
2003-09-13 20:54:12 +00:00
Oliver Kiehl
52ff6acc1f
and another endian fix
...
svn-id: r10241
2003-09-13 20:42:08 +00:00
Max Horn
7eb758f697
I am not happy at all with the slack our team has shown recently! I barely concealed these obvious mistakes, to check who's paying attention. And only one person (olki) did notice, and even he only got 50%... tsk tsk tsk, how shall this go on. What will happen if I make real mistakes instead of purposeful ones? *cough cough* yeah, right
...
svn-id: r10240
2003-09-13 19:26:44 +00:00
Paweł Kołodziejski
bd11fd1217
remove path in filename at delete func too
...
svn-id: r10239
2003-09-13 18:45:56 +00:00
Paweł Kołodziejski
971fff61b8
fixed size logic in readFileToArray()
...
svn-id: r10238
2003-09-13 18:36:16 +00:00
Max Horn
2afc2c0ca9
fix global vars storing
...
svn-id: r10237
2003-09-13 18:18:02 +00:00
Max Horn
42bf2a855c
cleanup
...
svn-id: r10236
2003-09-13 18:06:19 +00:00
Max Horn
54a6946eee
cleanup
...
svn-id: r10235
2003-09-13 17:36:53 +00:00
Oliver Kiehl
51703e1014
pack _parallax to be on the safe side
...
svn-id: r10234
2003-09-13 17:36:39 +00:00
Max Horn
5aa69da8ef
convert run lists in the res manager
...
svn-id: r10233
2003-09-13 17:36:31 +00:00
Paweł Kołodziejski
0c0f967c59
implemented fileread opcode
...
svn-id: r10232
2003-09-13 16:25:33 +00:00
Torbjörn Andersson
1976374521
Re-added BASS-specific hotkey section. (There used to be one, but it seems
...
to have disappeared under mysterious circumstances.)
svn-id: r10231
2003-09-13 15:23:18 +00:00
Jochen Hoenicke
bcb87f4126
Add a new hull curve entry needed by Indy3. This fixes bug #770698 .
...
svn-id: r10230
2003-09-13 15:02:59 +00:00