aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
AgeCommit message (Collapse)Author
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-11I was going to fix the IHNM sprite loader, but when I got here this morningTorbjörn Andersson
sev had already done that. All that was left for me was this final bit of cleanup. :-) svn-id: r19014
2005-10-11Some IHNM changes:Eugene Sandulenko
o Fix status text color. (Though text is all ITE-specific) o Enable inventory drawing o Load inventory sprites o Hid now unneeded actor loading debug output svn-id: r19011
2005-10-11Fixed sprite loading. Now that ugly hack is gone, no wrong reads and everyEugene Sandulenko
chapter is selectable without crash. As a side effect all buttons now have correct backgrounds ;). svn-id: r19010
2005-10-10IHNM verb panel fixes:Torbjörn Andersson
* Verb buttons and texts are drawn at the correct coordinates. I've compared it to the screenshot on Mobygames. * Verb text is drawn without shadow. * The "Walk to", "Look at", "Take" and "Use" buttons all have the correct background. For some reason, I can't find the sprites for the remaining four buttons. svn-id: r19004
2005-10-10Show save reminder in IHNM correctly.Eugene Sandulenko
svn-id: r18996
2005-10-10Draw main panel. Buttons lack backgorunds and save reminder is buggy atm.Eugene Sandulenko
svn-id: r18994
2005-10-08Put actors on the ground. No more upside down. Though probably drawClip()Eugene Sandulenko
has to be fixed too, but now we have no test case for this. svn-id: r18966
2005-10-08Now most artefacts are gone and we're in proper panel mode when runningEugene Sandulenko
character selection. svn-id: r18961
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-07Cleanup sprite header reader.Eugene Sandulenko
svn-id: r18956
2005-10-07Draw acrtors (eriktorbjorn, rejoice).Eugene Sandulenko
It: o breaks intro, as now everything seems to be shifted. o Shows problem at our firt scene where there is no inventory drawn o Shows problem with our animation code, actor frames are wrong o Draws actors upside down and probably at wrong location o Due to incomplete implementation of whichObject() it crashes when you hover over characters. svn-id: r18952
2005-08-15Fix bug #1258479 "ITE: Graphical glitches in wildcat tribe"Eugene Sandulenko
svn-id: r18688
2005-08-12Fix bug #1257309 "ITE: Invalid read during startup"Eugene Sandulenko
svn-id: r18669
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-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-09Fix bug #1235211: "SAGA: Fails to compile with gcc4.0"Eugene Sandulenko
svn-id: r18526
2005-07-09gfx rearangementAndrew Kurushin
code cleanups svn-id: r18523
2005-07-08implemented per scene actors clippingAndrew Kurushin
so last sequence should look much better (not perfect) svn-id: r18516
2005-07-08Extended the sprite draw() functions so that a clip rect can be specified,Torbjörn Andersson
and used that to clip the puzzle piece being moved around to avoid graphics glitches. svn-id: r18515
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-05Clip actors and objects to the scene (which may be an inset), and onlyTorbjörn Andersson
allow interaction with actors and objects inside this same area. Other hit zones may - indeed must - still exist outside the inset, and they are not affected by this patch. This fixes some glitches at the glass makers's house in ITE. svn-id: r18493
2005-06-02oopsEugene Sandulenko
svn-id: r18314
2005-06-02Implement game load with '-x' comman-line parameter.Eugene Sandulenko
Fix couple valgrind and compiler warnings. svn-id: r18313
2005-05-22fixes some todo (hardcoded resource ids -> customized per game)Andrew Kurushin
preparation for option dialog (wip) svn-id: r18217
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-18o Unstubbed sfPreDialog -- we have enough code for thatEugene Sandulenko
o Started to restore inventory functionality svn-id: r17666
2005-04-16fixed: sprite hittest, speech draws in screen boundsAndrew Kurushin
svn-id: r17635
2005-02-18iso mode drawing work in progressAndrew Kurushin
svn-id: r16802
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-18implemented Sprite::hitTestAndrew Kurushin
Actors & Objects can be hited svn-id: r16596
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-09fix warningMax Horn
svn-id: r16498
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-04o Fix regression with Win32 CD ITE at wyrmkeep logoEugene Sandulenko
o Support for sprites in Mac versions o Improvements on scene flags o More code on proper interface modes handling. Just a tiny bit was committed as other stuff breaks intro due to incompleteness. svn-id: r16425
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-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-28Remove leftover debug messageEugene Sandulenko
svn-id: r16361
2004-12-28Partial fix for Mac intro. Sprites are still incorrect because of lack ofEugene Sandulenko
m68k asm knowledge :) svn-id: r16356
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-21Implement sprites scaling. Though it seems too zealous for me, i.e. spritesEugene Sandulenko
scale down too fast. Will compare it with original soon. svn-id: r16244
2004-12-19- implemented perspective actors calculationAndrew Kurushin
TODO: decodeRLESprite must do scale svn-id: r16135
2004-12-18sprite loading fix in win demoAndrew Kurushin
svn-id: r16119