aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
2009-03-25Changed the primitive equality check to not use Common::Rect, as the two ↵Filippos Karapetis
primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative) svn-id: r39695
2009-03-25Changed the font flag defines to an enumerationFilippos Karapetis
svn-id: r39690
2009-03-25Merged sciw_select_item() and sciw_unselect_item()Filippos Karapetis
svn-id: r39689
2009-03-25- Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI ↵Filippos Karapetis
elements mostly, like windows and status bars - Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h svn-id: r39687
2009-03-25Remove superfluous commaFilippos Karapetis
svn-id: r39686
2009-03-25Changed some flags to enumsFilippos Karapetis
svn-id: r39685
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-24SCI: Only pass the pointerpos to Menubar::mapPointer, not the full gfx_state_tMax Horn
svn-id: r39662
2009-03-24SCI: moved sci_strndup to menubar.cppMax Horn
svn-id: r39661
2009-03-24SCI: Fixed some leaks introduced by my previous changesMax Horn
svn-id: r39660
2009-03-24SCI: C++ify menu codeMax Horn
svn-id: r39659
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-22SCI: Fixed nasty bug in simulate_stippled_line_draw, caught only thanks to ↵Max Horn
warnings by the Wii compiler. svn-id: r39616
2009-03-21CleanupFilippos Karapetis
svn-id: r39593
2009-03-19Cleaned up gfxop_draw_rectangle(). Also, removed a check insode ↵Filippos Karapetis
BASIC_CHECKS() which is impossible to occur svn-id: r39540
2009-03-19Fixed issues with commit #39449, fixing some graphical glitches with the GUI ↵Filippos Karapetis
widgets svn-id: r39534
2009-03-18Renamed resmgr.cpp -> gfx_resmgr.cppFilippos Karapetis
Moved all files from gfx/resource/* to gfx/* svn-id: r39515
2009-03-18Slight cleanupFilippos Karapetis
svn-id: r39514
2009-03-18Cleaned up graphics initialization a bitFilippos Karapetis
svn-id: r39513
2009-03-18CleanupFilippos Karapetis
svn-id: r39506
2009-03-17CleanupFilippos Karapetis
svn-id: r39501
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Fix warning.Johannes Schickel
svn-id: r39498
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-17SCI: fix warningMax Horn
svn-id: r39483
2009-03-17Removed the "About FreeSCI" menu as discussed in -devel, now that the ↵Filippos Karapetis
FreeSCI contributors have been moved to the AUTHORS file svn-id: r39476
2009-03-16It seems that the SCI GUI code tries to show rectangles with negative ↵Filippos Karapetis
height. Added some sanity checks for this, but the *real* problem lies elsewhere svn-id: r39451
2009-03-16Changed the temporary helper functions to definesFilippos Karapetis
svn-id: r39450
2009-03-16Replaced some rect_t operations with our common ones. For now, two helper ↵Filippos Karapetis
functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed svn-id: r39449
2009-03-16SCI: Removed sbtree code by Common::HashmapMax Horn
svn-id: r39439
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
2009-03-15SCI: Indention changes, changed 'songlib_t' params to 'const songlib_t &'Max Horn
svn-id: r39429
2009-03-14SCI: Fixed warningMax Horn
svn-id: r39381
2009-03-14Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause ↵Filippos Karapetis
that's what it is), and changed its type to int * to avoid unneeded casts svn-id: r39375
2009-03-14Removed the unused struct "internal" inside gfx_pixmap_tFilippos Karapetis
svn-id: r39374
2009-03-12Commited syke's patch as-isFilippos Karapetis
svn-id: r39366
2009-03-12SCI: Removed most uses of the 'inline' keyword. It is usually better to let ↵Max Horn
the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;) svn-id: r39352
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-11...Max Horn
svn-id: r39327
2009-03-11SCI: Restored code to triger debugger console by Ctrl-d (accidentally ↵Max Horn
removed it in rev 39201) svn-id: r39326
2009-03-10Reverted some of the changes of commit #39192. The cursor reading code has ↵Filippos Karapetis
been placed back in a separate file, and not in the resource manager (but it's now 1 function) svn-id: r39293
2009-03-10- Renamed files inside gfx/resourceFilippos Karapetis
- Merged sci_picfill_aux.cpp and sci_picfill.cpp into picfill.cpp (as this is the only place where the auxiliary fill functions are used) svn-id: r39292
2009-03-08Formatting.Johannes Schickel
svn-id: r39245
2009-03-08Fix warning.Johannes Schickel
svn-id: r39244
2009-03-08Fix missing return.Willem Jan Palenstijn
svn-id: r39243
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-08Fix boxes not blocking control/priority map.Willem Jan Palenstijn
This is a regression from r39089 and caused text to be hidden behind trees in the KQ5 introduction and missing text in longbow. svn-id: r39226