Eugene Sandulenko
de14b2337f
Implementation of sfShowMap. This was latest unimplemented script function :)
...
svn-id: r18487
2005-07-03 20:02:56 +00:00
Torbjörn Andersson
d38a41e532
When a key is pressed, go back to repeat phase 0 again. This is so that we
...
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-21 15:41:35 +00:00
Eugene Sandulenko
2c9d2ffc97
Support for mouse wheel in Options dialog and in Converse panel
...
svn-id: r18414
2005-06-19 23:41:40 +00:00
Andrew Kurushin
97337c4623
implemented sfGetNumber
...
now use MagicHat (be carefull not to exceed overall scene number)
svn-id: r18410
2005-06-19 14:06:20 +00:00
Torbjörn Andersson
83f9ebc373
Fixed warning.
...
svn-id: r18342
2005-06-04 15:50:23 +00:00
Andrew Kurushin
d3587c3a1e
fixed lense creation bug ( fade in/out now has separate flag)
...
svn-id: r18340
2005-06-04 15:02:17 +00:00
Eugene Sandulenko
f8f9ed18a8
Allow entry of space and some letters such as 'r' and 'p' as parts of
...
save names.
svn-id: r18305
2005-05-31 23:41:27 +00:00
Andrew Kurushin
d1ffc9df2d
multiple files save-load implementation
...
svn-id: r18303
2005-05-31 20:08:46 +00:00
Eugene Sandulenko
5cd6d6b6f8
Implement key auto-repeat used in savegame dialog.
...
svn-id: r18297
2005-05-29 20:57:45 +00:00
Andrew Kurushin
99b9fc7070
implemented DOS version 1 pixel clipping
...
game options WIP3
svn-id: r18293
2005-05-29 15:39:35 +00:00
Andrew Kurushin
3d1c969377
game options WIP2
...
svn-id: r18282
2005-05-28 11:06:55 +00:00
Andrew Kurushin
82b86d495e
saveload WIP
...
svn-id: r18232
2005-05-23 18:53:36 +00:00
Andrew Kurushin
b804538dbe
stub drawButtonBox
...
svn-id: r18218
2005-05-22 12:21:16 +00:00
Andrew Kurushin
3b01bef51b
fixes some todo (hardcoded resource ids -> customized per game)
...
preparation for option dialog (wip)
svn-id: r18217
2005-05-22 11:59:22 +00:00
Torbjörn Andersson
93e49f2234
Compilation fix.
...
svn-id: r18073
2005-05-12 17:00:08 +00:00
Andrew Kurushin
91ff7f7a31
fixed interpreter bug (negative address offset - may crush system)
...
implemented inventory save-load
svn-id: r18071
2005-05-12 15:11:32 +00:00
Andrew Kurushin
a909052c8d
fixed object frawing
...
implemented sfGetObjImage, sfSetObjImage, sfSetObjName
svn-id: r17789
2005-04-24 15:17:38 +00:00
Andrew Kurushin
edad36ee60
fixed sfDropObject implementation
...
svn-id: r17767
2005-04-23 12:34:35 +00:00
Andrew Kurushin
cdede6caa4
implemented inventory
...
todo: timeout catchup & capital 'U' & 'D' handling
svn-id: r17748
2005-04-22 14:11:04 +00:00
Eugene Sandulenko
283a9f35ac
Add not yet correctly working save/load. Use key F7 for saving
...
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.
svn-id: r17726
2005-04-21 01:30:07 +00:00
Eugene Sandulenko
bd5f93cece
Implement inventoryItemPosition()
...
svn-id: r17724
2005-04-20 23:42:19 +00:00
Andrew Kurushin
d52032c75c
converse support improved (still has some bugs)
...
fixed: now protagonist can't be target object
fixed: statusbar color
added: *mouseButtonPressed in SagaEngine
svn-id: r17672
2005-04-18 20:03:14 +00:00
Andrew Kurushin
343d59c9d4
implemented iso pathfinding
...
glitches: some tiles draws above figures
svn-id: r16935
2005-02-26 17:37:16 +00:00
Eugene Sandulenko
0523480a70
Applied patch #1106775 "SAGA colours". This simplifies code considerably, and
...
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-27 20:07:04 +00:00
Andrew Kurushin
58ec0f0aad
problems solved:
...
- 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-21 21:55:54 +00:00
Torbjörn Andersson
0228f1645f
Use the kITEColor constants for the ITE mouse cursor. Ironically, this is
...
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-20 13:59:12 +00:00
Eugene Sandulenko
6f565c0ad8
Fix type with BrightWhite color
...
svn-id: r16599
2005-01-19 20:43:12 +00:00
Eugene Sandulenko
001bb7c74e
o Made ITEColors enum public in interface.h. Please use them. These colors
...
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-19 11:29:29 +00:00
Andrew Kurushin
b4b2e52df7
another step in verb implementation:
...
- 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-18 15:01:21 +00:00
Eugene Sandulenko
c9d0d4c840
Initialize converse properly.
...
svn-id: r16591
2005-01-18 10:45:36 +00:00
Eugene Sandulenko
dab894fdd4
First batch of converse implementation in scripts. To see it type
...
'scene_change 33' in debugger.
svn-id: r16588
2005-01-17 20:17:06 +00:00
Andrew Kurushin
fe424ed5ae
- added partial scene change by actor's walking (todo:entrance should be supported)
...
svn-id: r16568
2005-01-15 23:46:43 +00:00
Andrew Kurushin
2f20dd57c2
some work in progress on verb stuff:
...
- many structers and fields renamed to proper names
- added missing functions
svn-id: r16562
2005-01-15 20:12:49 +00:00
Andrew Kurushin
326dd0c255
- introduced SagaEngine::getTextString (for i18n it should route to 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-13 22:42:49 +00:00
Andrew Kurushin
244b227b19
- remove game.h & image.h
...
- 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-11 21:10:36 +00:00
Eugene Sandulenko
133ff34cb4
o All fonts were mapped. Introduced new FONT_DONTMAP flag
...
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-11 00:51:58 +00:00
Eugene Sandulenko
df7f9eb182
Untested converse. Drawing isn't possible due to lack of needed information
...
in ITE_interface structure.
svn-id: r16533
2005-01-10 22:51:01 +00:00
Andrew Kurushin
31ceb0bb71
- GameModule is gone
...
- structures renamed
- SagaEngine class gives all current game descriptions
regression : "verb" is broken cause work in progress
svn-id: r16511
2005-01-09 23:41:22 +00:00
Andrew Kurushin
f3b8221dd6
rewritten sprite class
...
- sprites decoded on first load
- some speed optimization
- actors uses kExtended flag to append spriteList
svn-id: r16497
2005-01-09 15:07:49 +00:00
Andrew Kurushin
bdb1b1eb1c
begining of verb implementation
...
introduced getObjectName
svn-id: r16491
2005-01-08 20:30:07 +00:00
Eugene Sandulenko
1fe593995d
o Fix for popped up actors at initial scene fade out
...
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-07 00:57:43 +00:00
Torbjörn Andersson
cfe84492ad
Placard functions are now event-driven, so the blocking palette faders are
...
no longer needed.
svn-id: r16450
2005-01-06 16:07:46 +00:00
Eugene Sandulenko
028a8e4302
Fix actor walking caused by wrong panel state
...
svn-id: r16446
2005-01-06 14:49:47 +00:00
Eugene Sandulenko
26d5810b81
Next batch of panel-related fixes. Still wrong.
...
NOTE: lines which start with `;' should contain calls to not yet
implemented subsystems like Conversation subsystem
svn-id: r16443
2005-01-06 14:02:53 +00:00
Eugene Sandulenko
63be4b6435
o Started putting all panels stuff in order. Still incomplete
...
o Proper detection for Mac Wyrmkeep CD
o Support for wyrmkeep logos
svn-id: r16415
2005-01-02 20:29:27 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Torbjörn Andersson
03c32f05b0
Temporarily disable the status bar in IHNM. The only place where we drew it
...
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-25 07:18:35 +00:00
Torbjörn Andersson
c55ff57fc6
Initial inventory support.
...
svn-id: r15723
2004-11-07 14:15:41 +00:00
Paweł Kołodziejski
c7e5ab1f2d
removed R_ prefix with few r_ too
...
svn-id: r15690
2004-10-27 21:32:28 +00:00