Age | Commit message (Collapse) | Author |
|
* 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
|
|
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
|
|
svn-id: r15613
|
|
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
|
|
* 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
|
|
it appears that scripts are allowed to access the stack like any other
memory area, so it's probably important that our stacks behave as closely
to the original as possible.
I don't know if this implementation does that yet, but it's a start.
svn-id: r15240
|
|
as exciting as it first sounds, because even before this patch the script
would run in its entirety - it just didn't know when to stop.
I guess the exciting things don't happen until the next script is triggered
(TorneyScene?). I think it will be easier to start fixing the numerous
deficiencies (stack handling, SData, missing script functions, etc.) when
we have something more concrete to work with.
svn-id: r15215
|
|
runs for much longer now, but - unsurprisingly - it doesn't work yet.
svn-id: r15192
|
|
svn-id: r14790
|
|
o Fix RSCFile on MSVC8.
o Started fixing script opcodes.
svn-id: r14686
|
|
svn-id: r14568
|
|
svn-id: r14566
|
|
svn-id: r14561
|
|
svn-id: r14538
|
|
svn-id: r14450
|
|
svn-id: r14443
|
|
svn-id: r14441
|
|
svn-id: r14428
|
|
leakage in the engine.
svn-id: r14427
|
|
svn-id: r14425
|
|
svn-id: r14424
|
|
svn-id: r14419
|
|
animations wasn't caused by this commit :)
svn-id: r14405
|
|
svn-id: r14086
|
|
disassembly.
svn-id: r13835
|
|
standard printf()s left, though.
svn-id: r13791
|
|
In fact there were no binary writes at all.
svn-id: r13773
|
|
Only timers left.
svn-id: r13723
|
|
svn-id: r13715
|
|
svn-id: r13687
|
|
various unused stuff; const correctness; etc.
svn-id: r13622
|
|
o text formatting is not consistent with rules, just indent utility is too
dumb for that
o it does not use OSystem, i.e. it runs on direct SDL calls
o it may not even compile on your box
o if you enable it, expect zillions of warnings
o no sound
Now it runs ITE intro as reinherit did
svn-id: r13564
|