aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.h
AgeCommit message (Collapse)Author
2005-05-12Compilation fix.Torbjörn Andersson
svn-id: r18073
2005-05-12fixed interpreter bug (negative address offset - may crush system)Andrew Kurushin
implemented inventory save-load svn-id: r18071
2005-04-24fixed object frawingAndrew Kurushin
implemented sfGetObjImage, sfSetObjImage, sfSetObjName svn-id: r17789
2005-04-23fixed sfDropObject implementationAndrew Kurushin
svn-id: r17767
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-21Add not yet correctly working save/load. Use key F7 for savingEugene Sandulenko
and F8 for loading. Now works only within current scene and restores to entrance #0 which is wrong. svn-id: r17726
2005-04-20Implement inventoryItemPosition()Eugene Sandulenko
svn-id: r17724
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-02-26implemented iso pathfindingAndrew Kurushin
glitches: some tiles draws above figures svn-id: r16935
2005-01-27Applied patch #1106775 "SAGA colours". This simplifies code considerably, andEugene Sandulenko
moreover getBlack() didn't always work correctly for some reason. If IHNM uses different colors we will switch to variables, but that could be addressed later or at least when someone will start to work on it more time than now. svn-id: r16647
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-20Use the kITEColor constants for the ITE mouse cursor. Ironically, this isTorbjörn Andersson
one case where the original didn't use its own colour constants, so I had to add a new one, kITEColorLightGrey, for colour 4. svn-id: r16603
2005-01-19Fix type with BrightWhite colorEugene Sandulenko
svn-id: r16599
2005-01-19o Made ITEColors enum public in interface.h. Please use them. These colorsEugene Sandulenko
stay in each scene except intro and fade-in/fade-outs. o Implemented status text coloring during work of auxiliary scripts. svn-id: r16598
2005-01-18another step in verb implementation:Andrew Kurushin
- objectMap responds to mouse move (but respond script not run well ?) loadStrings add some special count check - so all other LUT based resource should implement this technique svn-id: r16594
2005-01-18Initialize converse properly.Eugene Sandulenko
svn-id: r16591
2005-01-17First batch of converse implementation in scripts. To see it typeEugene Sandulenko
'scene_change 33' in debugger. svn-id: r16588
2005-01-15- added partial scene change by actor's walking (todo:entrance should be ↵Andrew Kurushin
supported) svn-id: r16568
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-13- introduced SagaEngine::getTextString (for i18n it should route to ↵Andrew Kurushin
corresponding string array) - first step in verb implementation: proper button draw, keyboard respond 'w','l' &etc - added comments and some fields to GameDisplayInfo svn-id: r16554
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-11o All fonts were mapped. Introduced new FONT_DONTMAP flagEugene Sandulenko
o Implemented and tested converse drawing. Still some features like arrows and hardcoded values are present, and it is not used in scripts svn-id: r16536
2005-01-10Untested converse. Drawing isn't possible due to lack of needed informationEugene Sandulenko
in ITE_interface structure. svn-id: r16533
2005-01-09- GameModule is goneAndrew Kurushin
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
2005-01-09rewritten sprite classAndrew Kurushin
- sprites decoded on first load - some speed optimization - actors uses kExtended flag to append spriteList svn-id: r16497
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
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-06Fix actor walking caused by wrong panel stateEugene Sandulenko
svn-id: r16446
2005-01-06Next batch of panel-related fixes. Still wrong.Eugene Sandulenko
NOTE: lines which start with `;' should contain calls to not yet implemented subsystems like Conversation subsystem svn-id: r16443
2005-01-02o Started putting all panels stuff in order. Still incompleteEugene Sandulenko
o Proper detection for Mac Wyrmkeep CD o Support for wyrmkeep logos svn-id: r16415
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-25Temporarily disable the status bar in IHNM. The only place where we drew itTorbjörn Andersson
so far, it shouldn't be drawn. Eventually we could probably handle this with yet another panel mode: no panel at all. svn-id: r15882
2004-11-07Initial inventory support.Torbjörn Andersson
svn-id: r15723
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-08pass arguments by reference-to-const rather than by value, it's usually more ↵Gregory Montoir
efficient... svn-id: r15477
2004-10-07More de-C'fying. Pass Point object instead of direct reference.Eugene Sandulenko
svn-id: r15458
2004-10-04R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.Eugene Sandulenko
svn-id: r15414
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-06Move INTERFACE_ to class.Eugene Sandulenko
svn-id: r14478
2004-05-01indentPaweł Kołodziejski
svn-id: r13701
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