aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
AgeCommit message (Collapse)Author
2002-12-31implemented o8_getDateTimeMax Horn
svn-id: r6295
2002-12-31fix opcode that sets actor z cliping. Yeah I know that Guybrush now is drawn ↵Max Horn
wrong - but this change is not the cause for it, it only reveals the problem (which is already causing the canon to be drawn wrong) svn-id: r6293
2002-12-30More CMI opcode work. The Murray scene outside the Voodoo ladys house (-d1 ↵James Brown
-b201) and the Map (-d1 -b226) now mostly work svn-id: r6281
2002-12-30Implement findBlastObject correctly - inventory now worksJames Brown
svn-id: r6273
2002-12-30added two V8 opcodes; more meaningful error messageMax Horn
svn-id: r6269
2002-12-30hm...Max Horn
svn-id: r6265
2002-12-29added some comments / system call skeletionMax Horn
svn-id: r6259
2002-12-29disabled CMI smush audio, cleanup codec 47, correct path paramPaweł Kołodziejski
svn-id: r6252
2002-12-28de-verbalise some debug messages (move from debug(1) to debug(2)).. so we ↵James Brown
can see printDebug lines easier svn-id: r6227
2002-12-28Correct cursor put opcode slightlyJames Brown
svn-id: r6221
2002-12-28Initial (buggy) implementation of CURSOR_SET - the Cannon sequence now ↵James Brown
almost works, except for a centering bug svn-id: r6220
2002-12-28Implement MUMBLEJames Brown
svn-id: r6218
2002-12-28get rid of getStringLen and use the more powerful resStrLen instead; moved ↵Max Horn
resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing svn-id: r6215
2002-12-28cleanupMax Horn
svn-id: r6214
2002-12-27SO_ACTOR_SPECIAL_DRAW = shadow_mode! Looks much better this way, too :-)Max Horn
svn-id: r6210
2002-12-27like rtRoom, rtRoomScripts should never expire while the room they belong ↵Max Horn
too is loaded; this fixes the crash when picking up the fishing rod svn-id: r6208
2002-12-27cleanupMax Horn
svn-id: r6206
2002-12-27opcode 0xDD (find verb), used for conversationsMax Horn
svn-id: r6205
2002-12-27verb ids can be > 255 in V8; more V8 verbop correctionsMax Horn
svn-id: r6204
2002-12-27removing some annoying warningsMax Horn
svn-id: r6203
2002-12-27almost all scripts that use o8_getStringWidth pass 1 as first parameter, but ↵Max Horn
a few pass 3. So I assume this is a charset id svn-id: r6202
2002-12-27o8_getStringWidth also pops on paramMax Horn
svn-id: r6201
2002-12-27implemented V8 verbops fully, based on V6 - this contains some guessing and ↵Max Horn
may contain mistakes. Also added string width opcode svn-id: r6200
2002-12-27fixed flobject loading in V8Max Horn
svn-id: r6198
2002-12-27cleanupMax Horn
svn-id: r6187
2002-12-27Move some things around, to get rid of all these resource/ sprintf's for CMIJames Brown
svn-id: r6182
2002-12-26o8 startScript jugglingJames Brown
svn-id: r6181
2002-12-26group startScript/Object codes (no code change)Max Horn
svn-id: r6180
2002-12-26map V8 talk opcodes to the right V6 opcodes; however, talking still locks up ↵Max Horn
after the first sentence is uttered (looking into that now); various cleanup; added a guess at VAR_EGO (based on what cmidec says is the 'default_actor') svn-id: r6176
2002-12-26Fix incorrect opcode (now it at least starts the Verb Widget scripts)James Brown
svn-id: r6173
2002-12-26added missing returnPaweł Kołodziejski
svn-id: r6171
2002-12-26Update more CMI opcodes. The first room now starts, although actor text ↵James Brown
crashes if I try and draw it (Fingolfin?). Object Flags seem to be, suprise, wrong.. as the door to the outside starts open :) svn-id: r6169
2002-12-26CMI opcode workJames Brown
svn-id: r6168
2002-12-26SMUSH playback opcodeJames Brown
svn-id: r6167
2002-12-26dummy o8_startVideo implementationMax Horn
svn-id: r6166
2002-12-26added intensity roomopsMax Horn
svn-id: r6164
2002-12-26Allow the CMI logo room to runJames Brown
svn-id: r6163
2002-12-26reuse the old (ugly nasty dreaded) string system for V8, too (by supplying a ↵Max Horn
NUT based CharsetRenderer) svn-id: r6162
2002-12-26fixed save/load; more restructuring of the charset rendering codeMax Horn
svn-id: r6154
2002-12-25moved CharsetRendere into its own header/source file; changed ↵Max Horn
Scumm::_charset into a pointer, to make it possible to use different implementations of it svn-id: r6147
2002-12-25implemented V8 kernel function 'killAllScriptsButMe' - not sure if I did it ↵Max Horn
right, though svn-id: r6145
2002-12-25text center mode hackMax Horn
svn-id: r6144
2002-12-25two good rules of thumb: don't use typecasts if you don't have to - type ↵Max Horn
cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen... svn-id: r6143
2002-12-25added some stuff to lock/unlock object v2Paweł Kołodziejski
svn-id: r6142
2002-12-25added some stuff to lock/unlock objectPaweł Kołodziejski
svn-id: r6141
2002-12-25cleanupMax Horn
svn-id: r6140
2002-12-25chenged opcode o8_breakHerVar to o6_delayFramesPaweł Kołodziejski
svn-id: r6139
2002-12-25changes in o8_kludgePaweł Kołodziejski
svn-id: r6137
2002-12-25breakHereVar takes an argument -> Ctrl-C now works again (skips to the 'Part ↵Max Horn
I' screen) svn-id: r6135
2002-12-25use translateText for V8 print opcodesMax Horn
svn-id: r6134