aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-09-17added a static method setDefaultDirectory to class File; used this to ↵Max Horn
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-17cleanupMax Horn
svn-id: r10277
2003-09-17remove unused variableMax Horn
svn-id: r10276
2003-09-17BS2 works on BE systems nowMax Horn
svn-id: r10275
2003-09-17cleanupTorbjörn Andersson
svn-id: r10274
2003-09-17cleanupTorbjörn Andersson
svn-id: r10273
2003-09-17Rewrote Read_file() to use our File class, and removed the unused functionsTorbjörn Andersson
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-17Removed some #includes that seem to be unnecessary. I think we're going toTorbjörn Andersson
have to clean up the header files at some point... svn-id: r10271
2003-09-17delete name only after closing the fileMax Horn
svn-id: r10270
2003-09-17cleanupTorbjörn Andersson
svn-id: r10269
2003-09-17Cleanup.Torbjörn Andersson
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-17cleanupTorbjörn Andersson
svn-id: r10267
2003-09-16Removed redundant presets storage.Jamieson Christian
svn-id: r10266
2003-09-16Partial fix for Bug [636985] ZAK256: No kazoo tuneJamieson Christian
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-16Removed some unnecessary #includes and #defines.Torbjörn Andersson
svn-id: r10264
2003-09-16Some cleanup. More to follow, I hope.Torbjörn Andersson
svn-id: r10263
2003-09-16Don't call the premix function when the mixer is paused. (This isTorbjörn Andersson
particularly noticeable in games with PC speaker emulation, but I could hear faint noises in AdLib music as well.) svn-id: r10262
2003-09-15Feature Request [806641] Increase MIDIJamieson Christian
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-15cleanupMax Horn
svn-id: r10260
2003-09-14actually this is the correct fix to "Cutscene - Press ESC to exit" :)Oliver Kiehl
svn-id: r10259
2003-09-14fix "Cutscene - Press ESC to exit" messageOliver Kiehl
svn-id: r10258
2003-09-14add putttime targetJonathan Gray
svn-id: r10257
2003-09-14if saveslot specified with -x doesn't exist, show restore menuOliver Kiehl
svn-id: r10256
2003-09-14enable ``proper'' -x loadingOliver Kiehl
svn-id: r10255
2003-09-14Fix for Bug [805593] MI2: Music stops in LeChuck's fortressJamieson Christian
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-14moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for ↵Max Horn
access of the actor position svn-id: r10253
2003-09-14Fingolfin, now I am really disappointed with you that you didn't see this ↵Oliver Kiehl
bug... ;) svn-id: r10252
2003-09-14A hack for bug #770581. This makes the sound much closer to theJochen Hoenicke
original, but I think to make it completely right a bigger change to the adlib backend would be necessary. svn-id: r10251
2003-09-14clarified some TODOsMax Horn
svn-id: r10250
2003-09-14reverse my fix for the sarcophagus problem (I reopened that bug report, as ↵Max Horn
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-14evil fix for #bug 801293 (ALL: Ctrl+alt+b opengl switch) and some cleanupMax Horn
svn-id: r10248
2003-09-14use old method to decide on text colouring for loom towns, I think the pink ↵Jonathan Gray
distaff when returning to the first room may be the last bug left now svn-id: r10247
2003-09-13disabled a stone old hack; Ender, maybe you remember some details about this ↵Max Horn
fix? anybody feel like playtesting the Mystery Vortex, please? :-) svn-id: r10246
2003-09-13simplified codeMax Horn
svn-id: r10245
2003-09-13fixed badly commitPaweł Kołodziejski
svn-id: r10244
2003-09-13fix for bug #732414 (ZAK256: Some verbs do not highlight correctly)Max Horn
svn-id: r10243
2003-09-13implemented fileWrite opcodePaweł Kołodziejski
svn-id: r10242
2003-09-13and another endian fixOliver Kiehl
svn-id: r10241
2003-09-13I am not happy at all with the slack our team has shown recently! I barely ↵Max Horn
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-13remove path in filename at delete func tooPaweł Kołodziejski
svn-id: r10239
2003-09-13fixed size logic in readFileToArray()Paweł Kołodziejski
svn-id: r10238
2003-09-13fix global vars storingMax Horn
svn-id: r10237
2003-09-13cleanupMax Horn
svn-id: r10236
2003-09-13cleanupMax Horn
svn-id: r10235
2003-09-13pack _parallax to be on the safe sideOliver Kiehl
svn-id: r10234
2003-09-13convert run lists in the res managerMax Horn
svn-id: r10233
2003-09-13implemented fileread opcodePaweł Kołodziejski
svn-id: r10232
2003-09-13Re-added BASS-specific hotkey section. (There used to be one, but it seemsTorbjörn Andersson
to have disappeared under mysterious circumstances.) svn-id: r10231
2003-09-13Add a new hull curve entry needed by Indy3. This fixes bug #770698.Jochen Hoenicke
svn-id: r10230
2003-09-13fix speech on BEOliver Kiehl
svn-id: r10229