aboutsummaryrefslogtreecommitdiff
path: root/saga/events.cpp
AgeCommit message (Collapse)Author
2005-10-11Cleanups. Mostly whitespace.Torbjörn Andersson
svn-id: r19022
2005-10-08_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return differentEugene Sandulenko
scene height for individual panel modes. svn-id: r18959
2005-10-05Simplified palette code.Eugene Sandulenko
svn-id: r18936
2005-10-05IHNM used only 248 colors for game graphics. Top part of the paletteEugene Sandulenko
was read from resources. Switching to this scheme fixes magenta outlines in subtitles. svn-id: r18935
2005-09-24WhitespaceTorbjörn Andersson
svn-id: r18877
2005-08-10Rename event types to comply with our standards.Eugene Sandulenko
svn-id: r18647
2005-08-10EVENT -> EventEugene Sandulenko
svn-id: r18644
2005-08-08Fix bug #1252277 "ITE: Actions not performed under OS X"Eugene Sandulenko
svn-id: r18637
2005-07-29WhitespacesEugene Sandulenko
svn-id: r18595
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-14font & text related changes:Andrew Kurushin
-rewritten font loading -actors box text output implemented -many fixes -implemented nonactors textoutput svn-id: r18542
2005-07-091. Fixed divide by zero defect (exception on my symbian target, Windows just ↵Lars Persson
return max val) 2. Fixed so Saga compiles for VC6. 3. Added GCC_PACK & pragma pack to gfx.h svn-id: r18527
2005-07-09code cleanupsAndrew Kurushin
transitionDissolve -> gfx del sdebug svn-id: r18524
2005-07-09gfx rearangementAndrew Kurushin
code cleanups svn-id: r18523
2005-07-08fix final sequence scene heightAndrew Kurushin
svn-id: r18518
2005-07-08implemented per scene actors clippingAndrew Kurushin
so last sequence should look much better (not perfect) svn-id: r18516
2005-07-05Hid most of debug output to deeper levels. We're pretty close to officialEugene Sandulenko
launch so it should be invisible to users. svn-id: r18497
2005-07-05- Stripped down unused SURFACE parameter in palette-related functionsEugene Sandulenko
- Fixed scenes glitch when loading saved game. This is done by closing load window right after game is loaded which differs from original but seems more logical to me - Fixed wrong palette when Dragon maze was loaded from a savegame. We just didn't process Palette resource for it. svn-id: r18494
2005-06-04fixed lense creation bug ( fade in/out now has separate flag)Andrew Kurushin
svn-id: r18340
2005-05-08fixed sfSceneEq bugAndrew Kurushin
fixed load actors entrance removed some orphans svn-id: r17964
2005-04-22o Fix save/load. Now it restores game properly but still at exit #0.Eugene Sandulenko
o Proper background for inset rooms. Crowd is gone now. o Draw black border around inset rooms. svn-id: r17744
2005-04-18converse support improved (still has some bugs)Andrew Kurushin
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
2005-03-18- changescene on fair for tentsAndrew Kurushin
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
2005-01-21problems solved:Andrew Kurushin
- Allow more than one script work at once - Proper implementation of address methods some opcodes may be broken - cause work in progress todo: rewrite opcodes with new address functionality svn-id: r16604
2005-01-15some work in progress on verb stuff:Andrew Kurushin
- many structers and fields renamed to proper names - added missing functions svn-id: r16562
2005-01-07Eliminate _scene->getMode() and use scene flags insteadEugene Sandulenko
svn-id: r16482
2005-01-07o Fix for popped up actors at initial scene fade outEugene Sandulenko
o Stub for new Wyrmkeep demos with substituted scenes o Converted some script func parameters to apropriate types o More panel fixes svn-id: r16472
2005-01-06Placard functions are now event-driven, so the blocking palette faders areTorbjörn Andersson
no longer needed. svn-id: r16450
2005-01-02Pausing an animation is done by changing its state now, not by setting aTorbjörn Andersson
flag. Added yet another event, and changed the ITE intro to reflect that. (Which means the waterfalls are no longer drawn over the game title.) svn-id: r16410
2005-01-02Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,Torbjörn Andersson
and used ARRAYSIZE() instead in two cases. svn-id: r16408
2005-01-02Fixed a few things in the IHNM intro. Most noticeably I've added an eventTorbjörn Andersson
for starting animations, which I use to prevent the first animation frame from being drawn too early. svn-id: r16407
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28- many actor walk related functions addedAndrew Kurushin
- implemented script functions for scriptDoors (except iso mode) - introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset() svn-id: r16363
2004-12-28Implement rest of animation-related opcodes.Eugene Sandulenko
svn-id: r16353
2004-12-24- aninamation cycle now approach to originalAndrew Kurushin
svn-id: r16290
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-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-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-26Added looping background noise to the IHNM intro. I don't know if it's theTorbjörn Andersson
correct sound or the correct volume, but the small extension to allow the engine to start looping sounds is worthwhile enough in itself, I think. svn-id: r15895
2004-11-20o Restore cursor after walkthroughEugene Sandulenko
o Add cursor events o Hide cursor during intro svn-id: r15844
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-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
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-04R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.Eugene Sandulenko
svn-id: r15414
2004-08-11Handle fades in scene load routine.Eugene Sandulenko
Introduce immediate events. svn-id: r14558
2004-08-11Move SYSINPUT_* and TRANSITION_* to SagaEngine classEugene Sandulenko
svn-id: r14555
2004-08-10Improved intro. Now it correctly shows game title.Eugene Sandulenko
svn-id: r14544
2004-08-10Moved PALANIM_* to a class.Eugene Sandulenko
svn-id: r14540
2004-08-10Move EVENT_* to a class.Eugene Sandulenko
svn-id: r14539