aboutsummaryrefslogtreecommitdiff
path: root/saga/script.cpp
AgeCommit message (Collapse)Author
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-29Might as well initialise this variable.Torbjörn Andersson
svn-id: r16370
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263
2004-12-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-21- rewritten actors speech engine :Andrew Kurushin
1) there are three types of speech: one acor, multiple actor, non actor 2) slow speech implemented 3) uses native engine flags (async,noanimate...) instead of semaphores - proper timings implemented svn-id: r16237
2004-12-15Patch #1081904 ITE: MAC demo supportEugene Sandulenko
o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051
2004-12-08Use some disassembly-based values.Eugene Sandulenko
svn-id: r16000
2004-12-03First pass at migrating from the old Reinherit console to the ScummVMTorbjörn Andersson
console. Some things are likely to have broken. For instance, I believe the old console was could be visible during gameplay, while ScummVM's is modal. So any place where we output something to the console during gameplay should probably be removed. Some things I've stubbed out. Basically any code that registers a variable. Most of the debugging commands are untested. Syntax may have changed because of different command-line parsing. (I never actually used the old console, so I don't know for sure. :-) Actually, I'm not that interested in reproducing the old console commands faithfully. What we should do now is to make the immediately useful console stuff work. Anything that remains unimplemented should probably be removed. svn-id: r15976
2004-11-28Added debug message similar to the one for the scene LUT.Torbjörn Andersson
svn-id: r15941
2004-11-25Tiny, almost unnoticeable, step towards IHNM script loading. We'll need toTorbjörn Andersson
figure out the correct values for IHNM_SCRIPT_LUT and _scriptLUTEntryLen. svn-id: r15883
2004-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
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-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-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-08-27R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵Jonathan Gray
GAME svn-id: r14793
2004-08-22 o Eliminate all structure _tags.Eugene Sandulenko
o Fix RSCFile on MSVC8. o Started fixing script opcodes. svn-id: r14686
2004-08-12Merge SDEBUG_*, SF_* and STHREAD_* into Script class.Eugene Sandulenko
svn-id: r14568
2004-08-12Drop SSTACK_ in favor of common/stack.h implementation.Eugene Sandulenko
svn-id: r14566
2004-08-11Move CF_ commands to class and call them from wrappers. This will let usEugene Sandulenko
remove global _vm later. svn-id: r14552
2004-08-10Move CON_* to a class.Eugene Sandulenko
svn-id: r14538
2004-08-03Move TEXT_* to SagaEngine class.Eugene Sandulenko
svn-id: r14450
2004-08-02Fix #include paths.Eugene Sandulenko
svn-id: r14443
2004-08-01Clean up Script class a bit; add get/set functionsJoost Peters
svn-id: r14428
2004-08-01Made all MemoryReadStream local variables. This plugged a giantic constantEugene Sandulenko
leakage in the engine. svn-id: r14427
2004-08-01create Script class from SCRIPT_* and ScriptModuleJoost Peters
svn-id: r14425
2004-08-01move SDATA_* into seperate classJoost Peters
svn-id: r14424
2004-08-01merge gfx_mod.h into gfx.h and stick functions into a classJonathan Gray
svn-id: r14419
2004-08-01merge reinherit.h into saga.h and gfx_mod.h, note the error loading ↵Jonathan Gray
animations wasn't caused by this commit :) svn-id: r14405
2004-07-31Extended CVAR_RegisterFunc with callback object parameter.Eugene Sandulenko
Got rid of static structure in animation.cpp svn-id: r14397
2004-06-27Cleanup for MemoryReadStream; made it match the File-class interfaceMax Horn
svn-id: r14086
2004-05-05Replaced R_printf() with debug() and warning(). There are still a couple ofTorbjörn Andersson
standard printf()s left, though. svn-id: r13791
2004-05-04Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.Eugene Sandulenko
In fact there were no binary writes at all. svn-id: r13773
2004-05-01Proper #includes everywhereEugene Sandulenko
Improved game detector svn-id: r13724
2004-05-01indentPaweł Kołodziejski
svn-id: r13712
2004-04-30Move from custom unsigned types to those provided by main config.hEugene Sandulenko
svn-id: r13687
2004-04-25Fix many warnings; use C++ type system instead of C style typedefs; removed ↵Max Horn
various unused stuff; const correctness; etc. svn-id: r13622
2004-04-12WIP for SAGA engine.Eugene Sandulenko
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