aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
AgeCommit message (Collapse)Author
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
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-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
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-30Let Saga::SURFACE inherit from SURFACEMax Horn
svn-id: r15702
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-22Made the usage of the Rect data type more consistent with the rest ofTorbjörn Andersson
ScummVM. Note that these are only the cases I was able to find in one morning. There may be others left to fix. But I'm sure at least most of them will be found when we start cleaning up the codebase a bit. svn-id: r15641
2004-10-04R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.Eugene Sandulenko
svn-id: r15414
2004-08-11Fix scene description structure data types and rename it.Eugene Sandulenko
svn-id: r14556
2004-08-04Move SCENE_* to class.Eugene Sandulenko
svn-id: r14463
2004-08-03Rename some class variables in Font class.Eugene Sandulenko
Fix compilation. svn-id: r14452
2004-08-03Move SPRITE_ to a classEugene Sandulenko
svn-id: r14451
2004-08-03Move TEXT_* to SagaEngine class.Eugene Sandulenko
svn-id: r14450
2004-08-03Move FONT_* to class.Eugene Sandulenko
svn-id: r14449
2004-08-02Fix #include paths.Eugene Sandulenko
svn-id: r14443
2004-08-01Made all MemoryReadStream local variables. This plugged a giantic constantEugene Sandulenko
leakage in the engine. svn-id: r14427
2004-08-01merge gfx_mod.h into gfx.h and stick functions into a classJonathan Gray
svn-id: r14419
2004-08-01merge reinherit.h into saga.h and gfx_mod.h, note the error loading ↵Jonathan Gray
animations wasn't caused by this commit :) svn-id: r14405
2004-06-27Cleanup for MemoryReadStream; made it match the File-class interfaceMax Horn
svn-id: r14086
2004-05-05Replaced R_printf() with debug() and warning(). There are still a couple ofTorbjörn Andersson
standard printf()s left, though. svn-id: r13791
2004-05-04Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.Eugene Sandulenko
In fact there were no binary writes at all. svn-id: r13773
2004-05-01Proper #includes everywhereEugene Sandulenko
Improved game detector svn-id: r13724
2004-05-01indentPaweł Kołodziejski
svn-id: r13715
2004-04-30Move from custom unsigned types to those provided by main config.hEugene Sandulenko
svn-id: r13687
2004-04-25More ScummVMificationMax Horn
svn-id: r13624
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