aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.h
AgeCommit message (Collapse)Author
2005-09-29Fix fonts in intro. It is a very dirty code. Actually we should specifyEugene Sandulenko
font Ids in game settings. Also uhnm demo will definitely not work with current code as it has lesser number of fonts. svn-id: r18900
2005-08-11Fix bugs #1256398 "ITE: Clicking doesn't skip dialogue"Eugene Sandulenko
svn-id: r18660
2005-08-10fixed iso convertion Rif positionAndrew Kurushin
add some IHNM panels svn-id: r18652
2005-08-10Implement part of chapter selection panel.Eugene Sandulenko
svn-id: r18643
2005-08-07WIP on metaResources. Most resources are load. Now we start correctEugene Sandulenko
scene. But there are following problems: o Inclomplete support for actors speech, so opSpeak is skipped o For some weird reason actors do not appear at all. Actually code seems to be trying to read only protagonist frames o It crashes on reading sprites due to wrong input svn-id: r18624
2005-08-05o Some cleanupEugene Sandulenko
o Fix warnings o Implemented IHNM changeChapter() o WIP for metaResources svn-id: r18618
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-29Show scene substitute image for demo versions of ITE.Eugene Sandulenko
svn-id: r18589
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-12Made it possible to terminate dialog windows with Enter. (We could alreadyTorbjörn Andersson
terminate them with Esc.) This is so that, for instance, if you type a savegame name you can press Enter, rather than clicking on the "Save" button. I don't know if the original did this as well, but it feels natural to me. svn-id: r18537
2005-07-09gfx rearangementAndrew Kurushin
code cleanups svn-id: r18523
2005-07-03Implementation of sfShowMap. This was latest unimplemented script function :)Eugene Sandulenko
svn-id: r18487
2005-06-21When a key is pressed, go back to repeat phase 0 again. This is so that weTorbjörn Andersson
won't continue a fast repeat with the new key. (Annoying example: It could be tricky to type upper-case letters because if you didn't type the letter fast enough "Shift" would begin to repeat, and then whatever letter you typed would start repeating immediately.) svn-id: r18423
2005-06-19Support for mouse wheel in Options dialog and in Converse panelEugene Sandulenko
svn-id: r18414
2005-06-19implemented sfGetNumberAndrew Kurushin
now use MagicHat (be carefull not to exceed overall scene number) svn-id: r18410
2005-06-04Fixed warning.Torbjörn Andersson
svn-id: r18342
2005-06-04fixed lense creation bug ( fade in/out now has separate flag)Andrew Kurushin
svn-id: r18340
2005-05-31Allow entry of space and some letters such as 'r' and 'p' as parts ofEugene Sandulenko
save names. svn-id: r18305
2005-05-31multiple files save-load implementationAndrew Kurushin
svn-id: r18303
2005-05-29Implement key auto-repeat used in savegame dialog.Eugene Sandulenko
svn-id: r18297
2005-05-29implemented DOS version 1 pixel clippingAndrew Kurushin
game options WIP3 svn-id: r18293
2005-05-28game options WIP2Andrew Kurushin
svn-id: r18282
2005-05-23saveload WIPAndrew Kurushin
svn-id: r18232
2005-05-22stub drawButtonBoxAndrew Kurushin
svn-id: r18218
2005-05-22fixes some todo (hardcoded resource ids -> customized per game)Andrew Kurushin
preparation for option dialog (wip) svn-id: r18217
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