Commit Graph

31 Commits

Author SHA1 Message Date
Johannes Schickel
79dfc7be97 MADE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel
7b126c5f24 MADE: Minimize #include usage. 2011-10-09 22:58:37 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
81111e2d59 MADE: Adapt to setPalette RGBA->RGB change.
This change is not tested. It should work just fine though, since it just
removes the RGB->RGBA conversion before calling setPalette.
2011-02-14 17:08:32 +01:00
Benjamin Haisch
dbf850999a Remove some unused struct members
svn-id: r46245
2009-12-03 19:18:47 +00:00
Filippos Karapetis
6852080916 Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class
svn-id: r39396
2009-03-14 15:43:37 +00:00
Benjamin Haisch
f525575495 - Applied patch #2668849 by sunmax
svn-id: r39271
2009-03-09 18:19:53 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Benjamin Haisch
fb31c62ad8 - Added support for Rodney's Fun Screen
- Added audio cd playback (still kinda broken though)
- Renamed getObjectPropertyPtr to findObjectProperty

svn-id: r32669
2008-06-12 11:09:04 +00:00
Benjamin Haisch
b9776d46b2 - Implemented opcodes: sfHomeText, sfDrawAnimPic
- Comments on unneeded opcodes
- Simplified getting/setting strings in Objects

svn-id: r32361
2008-05-29 12:57:11 +00:00
Benjamin Haisch
aa02a6758a - Hopefully fixed 'responsiveness' of the mouse cursor/event handling
- Disabled auto dirty rects which caused major gfx problems
- Added default mouse cursor for Manhole: N&E
- Fixed sound rate for Manhole: N&E
- Don't automatically show mouse cursor when a new cursor was loaded

svn-id: r32279
2008-05-26 07:27:46 +00:00
Benjamin Haisch
4074d49844 - Moved event polling from sfPollEvent to runScript
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position

svn-id: r32205
2008-05-21 10:07:33 +00:00
Benjamin Haisch
0ec51de272 - Added some visual effects (palette fading etc.)
- Moved Screen::getAnimFrameCount directly into o1_GETFRAMECOUNT
- Renamed variables/cleanup

svn-id: r32104
2008-05-14 09:54:15 +00:00
Benjamin Haisch
16ac1bcebf Changed clipping rectangles to use Common::Rect (thanks to [md5]/thebluegr)
svn-id: r32077
2008-05-12 22:28:52 +00:00
Benjamin Haisch
f54036b6a4 Implemented o1_EXCLUDEAREA for RtZ
svn-id: r32074
2008-05-12 21:47:38 +00:00
Benjamin Haisch
11e6527674 Implemented o1_ADDMASK and o1_SETMASK for LGOP2
svn-id: r32066
2008-05-12 17:43:33 +00:00
Filippos Karapetis
e0b9dec766 Implemented o1_CLIPAREA
svn-id: r31968
2008-05-09 16:11:01 +00:00
Benjamin Haisch
b6d2cf3553 Implemented vertical/horizontal flipping of sprites.
svn-id: r31931
2008-05-07 17:29:46 +00:00
Benjamin Haisch
fc6fe46951 Implemented text drawing and cleanup.
svn-id: r31756
2008-04-28 10:56:21 +00:00
Benjamin Haisch
3dc6263b17 Started work on text drawing code.
svn-id: r31719
2008-04-25 11:20:43 +00:00
Filippos Karapetis
673784e6ef Typo
svn-id: r31712
2008-04-24 23:07:22 +00:00
Filippos Karapetis
8b7486b5ca Implemented opcodes o1_DROPSHADOW, o1_TEXTCOLOR, o1_OUTLINE. Added some initial code for opcode o1_TEXTRECT
svn-id: r31711
2008-04-24 23:06:21 +00:00
Filippos Karapetis
b861f38d10 Some initial code for font loading
Implemented opcode o1_LOADANIM

svn-id: r31698
2008-04-24 18:45:11 +00:00
Benjamin Haisch
efeb8a3193 Added (early) midi player code.
Added "screen flash" effect.
Implemented opcodes:
- o1_PLAYMUS
- o1_STOPMUS
- o1_ISMUS
- o1_FLASH
- o1_LOADSND
- o1_LOADMUS

svn-id: r31682
2008-04-23 23:22:02 +00:00
Benjamin Haisch
d0ad5867e0 Fixed palette issues when showing the inventory and the menu.
Moved drawing code from drawFlex/drawAnimFrame to drawSurface.
Implemented opcodes:
- o1_VISUALFX
- o1_SCREENLOCK
- o1_SETTIMER
- o1_SETGROUND
- o1_SETCLIP
- o1_SETEXCLUDE

svn-id: r31675
2008-04-23 20:12:06 +00:00
Filippos Karapetis
f1a27858d5 Added palette locking and some wip sound playing code. Some cleanup
svn-id: r31654
2008-04-22 07:40:28 +00:00
Filippos Karapetis
54485c24c5 Some palette related fixes
svn-id: r31650
2008-04-21 20:20:34 +00:00
Filippos Karapetis
169bf5ddba More code merge
svn-id: r31649
2008-04-21 18:46:57 +00:00
Filippos Karapetis
36bec1d5c8 Code merge
svn-id: r31648
2008-04-21 18:40:28 +00:00
Torbjörn Andersson
7e07dd5ec7 Changed spaces to tabs.
svn-id: r31610
2008-04-20 15:36:40 +00:00
Filippos Karapetis
d0590a09ea Initial import of the work in progress MADE engine
svn-id: r31599
2008-04-20 14:43:56 +00:00