aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_resmgr.h
AgeCommit message (Collapse)Author
2009-09-06SCI: Rename resManager -> resMan; segManager -> segManMax Horn
svn-id: r43980
2009-09-04- Removed the gfx error defines. When resources are not found, or are ↵Filippos Karapetis
corrupted, we should error out instead of piggy-banking an error flag to another function - Do not try and set the position of the mouse cursor when it's hidden svn-id: r43941
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-08-25- Simplified the parameters of some functionsFilippos Karapetis
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722
2009-08-16SCI: Stage 1 of the game detection overhaul. The end goal is to autodetectWalter van Niftrik
as much as possible. All SCI_VERSION_* information was removed from detection.cpp (much of it was incorrect anyway). svn-id: r43449
2009-07-16Added a detection entry for Pepper's Adventures in Time, and fixed an issue ↵Filippos Karapetis
with _gfxop_set_pic(), which was causing crashes in that game svn-id: r42523
2009-07-11Removed the version parameter from GfxResManagerFilippos Karapetis
svn-id: r42387
2009-07-07- Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵Filippos Karapetis
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01 - Simplified the checks for EGA and VGA graphics - Fixed a bug in script_adjust_opcode_formats() - Simplified the code in GfxResManager::getView() a bit svn-id: r42206
2009-06-22Patch #2810483 (SCI: Convert gfx subsystem headers to Doxygen format), with ↵Max Horn
@brief removed svn-id: r41785
2009-06-06Objectified the graphics driverFilippos Karapetis
svn-id: r41214
2009-05-23Fixed the incorrectly placed views in the KQ6 intro, by reintroducing port ↵Filippos Karapetis
bounds in the graphics resource manager and removing two relevant hacks svn-id: r40803
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608
2009-05-14Added a parameter to the graphics resource manager to determine if the ↵Filippos Karapetis
running SCI1 game is VGA or not (better than modifying the detected SCI resource version) svn-id: r40566
2009-04-18Fix outdated commentsWillem Jan Palenstijn
svn-id: r40003
2009-04-18Retreive -> retrieveWillem Jan Palenstijn
svn-id: r39996
2009-04-01- Wrapped all the code for custom graphics options around a ↵Filippos Karapetis
CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code) - Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort() - Added some test code for setting palette intensity in KPalette() (currently disabled) svn-id: r39794
2009-03-29SCI: Merge static palette into global palette at startupWillem Jan Palenstijn
svn-id: r39747
2009-03-23CleanupFilippos Karapetis
svn-id: r39633
2009-03-23- Moved palette initialization inside the graphics resource managerFilippos Karapetis
- The static palette is no longer needlessly referenced directly outside the graphics resource manager - Moved the SCI interpreter version inside the graphics resource manager, instead of gfx_state_t svn-id: r39626
2009-03-22Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39621
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-16SCI: Removed sbtree code by Common::HashmapMax Horn
svn-id: r39439
2009-03-12Commited syke's patch as-isFilippos Karapetis
svn-id: r39366
2009-03-11Untangled the parameters in gfxr_interpreter_get_view() as well. Updated ↵Filippos Karapetis
comments svn-id: r39332
2009-03-11Got rid of misc_payload and stopped passing the whole graphics state ↵Filippos Karapetis
structure in places where it's not necessary svn-id: r39331
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
2009-03-08SCI: Added new header gfx/font.h and removed some dead codeMax Horn
svn-id: r39211
2009-02-26SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'Max Horn
svn-id: r38908
2009-02-24Normalized guard #definesEugene Sandulenko
svn-id: r38842
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Changed typedef struct -> structMax Horn
svn-id: r38752
2009-02-21SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header filesMax Horn
svn-id: r38735