aboutsummaryrefslogtreecommitdiff
path: root/saga
AgeCommit message (Collapse)Author
2004-11-03Whitespace fixTorbjörn Andersson
svn-id: r15710
2004-11-02Hacked Okk entry is not needed anymore.Eugene Sandulenko
svn-id: r15709
2004-11-02Removed unknown part of IMAGE_HEADER struct since it wasn't used in theTorbjörn Andersson
original code either. (Apparently it was reserved for future use.) I think the only remaining data structure with unknown members now is ANIMATION_HEADER. Of course, there's probably a lot that isn't implemented at all, too... svn-id: r15708
2004-11-01Renamed the "unknown" parameters. I hope I didn't make too many errors.Torbjörn Andersson
svn-id: r15707
2004-10-31UpdatesTorbjörn Andersson
svn-id: r15706
2004-10-31Renamed an "unknown" variable.Torbjörn Andersson
svn-id: r15705
2004-10-31Whitespace fixesTorbjörn Andersson
svn-id: r15704
2004-10-30Turn some methods into functions (potentially gives better code, and we may ↵Max Horn
want to move some of those into the graphics/ module one day) svn-id: r15703
2004-10-30Let Saga::SURFACE inherit from SURFACEMax Horn
svn-id: r15702
2004-10-30Renaming of struct members.Torbjörn Andersson
svn-id: r15696
2004-10-28Renamed some previously unknown variables.Torbjörn Andersson
svn-id: r15695
2004-10-28Updated with my recent actor flag changes.Torbjörn Andersson
svn-id: r15694
2004-10-28replaced printf usage in sagaPaweł Kołodziejski
svn-id: r15693
2004-10-28Remove strayTravis Howell
svn-id: r15692
2004-10-27Implement some script functions and report stubs.Eugene Sandulenko
svn-id: r15691
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-27Started to rework script threads. Partially moved to thread flags.Eugene Sandulenko
Scene skipping now works, but scripts aren't chained yet. svn-id: r15688
2004-10-26Better test for if it's the protagonist who leaves the scene.Torbjörn Andersson
svn-id: r15687
2004-10-26Note which entry corresponds to which actor in the actor table.Torbjörn Andersson
svn-id: r15686
2004-10-26Rename fields in R_ACTORTABLE struct (I think this is what they mean), andTorbjörn Andersson
added symbolic names for actor flags. svn-id: r15685
2004-10-22Properly nitialize _passThrough variable.Eugene Sandulenko
svn-id: r15658
2004-10-22Made the usage of the Rect data type more consistent with the rest ofTorbjörn Andersson
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-22Fixed two of my own stupid bugs:Torbjörn Andersson
* 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-21Better support of MT-32.Eugene Sandulenko
svn-id: r15636
2004-10-21A bunch of mostly panel-related fixes for the ITE intro. Apart from theTorbjörn Andersson
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-21Fixed some clipping problems. I think there are more still in there, but ITorbjörn Andersson
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-20FX_CROWD constants are correct.Eugene Sandulenko
Add some simple stub. svn-id: r15621
2004-10-19Oops, now it plays the correct music again, I hope. The sound effects seemTorbjörn Andersson
a bit better now, too. At least the crowd is no longer cheering when the fair is closed. svn-id: r15617
2004-10-19Cleanup. No need to have a lookup table for something that can be expressedTorbjörn Andersson
by simple arithmetics. svn-id: r15615
2004-10-19Initial, and slightly buggy, support for sound effects.Torbjörn Andersson
svn-id: r15614
2004-10-19Increased debug level in the name of sanity.Torbjörn Andersson
svn-id: r15613
2004-10-16fixed warningsPaweł Kołodziejski
svn-id: r15574
2004-10-16Introduced script events to fix the "actors appear before fade-out" bug.Torbjörn Andersson
There are some minor music-related changes here as well, but that's just cleanup. svn-id: r15567
2004-10-16Oops, forgot to remove these lines. Now all three forms of music (XMIDI,Torbjörn Andersson
MIDI and digitized music) use the same method to decide whether or not to loop. svn-id: r15566
2004-10-12Added support for digitized music, plus some other music-related fixes.Torbjörn Andersson
Note that I've only tried this with the music.rsc file from the full Linux version. It seems likely that the Mac version uses the same file format, but I have no way of verifying this. I'm told the demos use compressed audio, so the music files from them probably won't work yet. svn-id: r15527
2004-10-10Added missing word in subtitle.Torbjörn Andersson
svn-id: r15509
2004-10-10Fixed the nasty "pop" when playing the standalone VOC file in the intro.Torbjörn Andersson
Fixed the overlap when playing the standalone IAF file in the intro. svn-id: r15508
2004-10-10The thread variables I added yesterdays will be accessed by scripts, soTorbjörn Andersson
byte order will matter. svn-id: r15507
2004-10-09Initial attempt at fixing the SData problem. I'm still not sure exactly howTorbjörn Andersson
to fix the script "static" area, though. In addition, initialise a few variables, and test for NULL-ness of a few pointers. This fixes a few crashes I saw with yesterday's CVS snapshot. There's still an unexpected scene change in the intro (I think it triggers on Rhene walking too close to the exit), but at least it no longer crashes. svn-id: r15484
2004-10-08pass arguments by reference-to-const rather than by value, it's usually more ↵Gregory Montoir
efficient... svn-id: r15477
2004-10-08Prevent double slash in pathChris Apers
svn-id: r15473
2004-10-08Implement scene change via exits. You still cannot leave first sceneEugene Sandulenko
because it goes to now buggy isometric level. Use debugger to switch to some word, say, in Dog Castle and there you may go between rooms. svn-id: r15462
2004-10-07More de-C'fying. Pass Point object instead of direct reference.Eugene Sandulenko
svn-id: r15458
2004-10-07Turn ObjectMap into real object.Eugene Sandulenko
svn-id: r15457
2004-10-07Remove duplicated code in actor walk code.Eugene Sandulenko
Turn ActionMap into real object. Rename ActionMap variables to conform our code guidelines. svn-id: r15456
2004-10-05o Convert some objectMap methods to more C++-like.Eugene Sandulenko
o Add stubs for unhandled scene resources in first scene o Fix object map entry structure o Fix bug with objject_info() debug command All this was done in attempt to make room exits work until I realized that they are different hit zone list which is activate at end of walk sequence. svn-id: r15416
2004-10-04Fix button clicking. Now actor walks to correct spot and interface buttonsEugene Sandulenko
work. svn-id: r15415
2004-10-04R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.Eugene Sandulenko
svn-id: r15414
2004-10-03A few, mostly untested, fixes to the SAGA script engine:Torbjörn Andersson
* The frame pointer is updated. This won't make any difference since we don't actually *use* the frame pointer yet. * Return values from script functions are handled like in the original now, i.e. the function sets thread->retVal and lets the call instruction push it onto the stack. (There are two call instructions, one that handles return values and one that doesn't, so the script function doesn't know if it should push or not.) * Script return values are handled. None of this makes any noticeable difference to the ITE intro. svn-id: r15393
2004-10-01Set up file paths to handle the differences between the file layout of theTorbjörn Andersson
Windows and Linux versions. (TODO: Handle game detection.) Added preliminary support for the P2_A.aif file that the Linux version uses, where the Windows version uses p2_a.voc. Someone will have to verify the actual format of it, and we have a silly bug in playVoice() which will have to be fixed before things work properly. svn-id: r15365