scummvm/engines/gob
Sven Hesse 5bec0cbb9d GOB: Make coordinate parameters in Surface::fillRect() signed
And clip to [0, width), [0, height) before drawing.

This fixes bug #6864, which is a regression I introduced in
51fd528fe5 when I changed all
the drawing code to use the Surface class.

I thought that having unsigned coordinates makes sense, but
for some reason, Fascination sets _destSpriteX (which maps
to left in fillRect()) to -1, expecting the drawing code to
clip.
2015-05-07 00:34:02 +02:00
..
demos GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
detection GOB: Remove duplicate entries for Ween DOS 2014-07-08 21:03:47 +02:00
minigames/geisha GOB: Remove the last remnants of Draw::_vgaSmallPalette 2014-03-16 15:35:35 +01:00
pregob GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
save GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
sound GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
anifile.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
anifile.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
aniobject.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
aniobject.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
backbuffer.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
backbuffer.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
cheater_geisha.cpp ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
cheater.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
cheater.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
cmpfile.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
cmpfile.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
configure.engine
console.cpp ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
console.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
databases.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
databases.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
dataio.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
dataio.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
dbase.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
dbase.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
decfile.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
decfile.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw_bargon.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw_fascin.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw_playtoons.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
draw.cpp GOB: Remove the last remnants of Draw::_vgaSmallPalette 2014-03-16 15:35:35 +01:00
draw.h GOB: Remove the last remnants of Draw::_vgaSmallPalette 2014-03-16 15:35:35 +01:00
expression.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
expression.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
game.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
game.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
global.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
global.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
gob.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
gob.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin_v3.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin_v4.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
goblin.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
hotspots.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
hotspots.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
iniconfig.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
iniconfig.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_fascin.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_geisha.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v3.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v4.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v6.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init_v7.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
init.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_bargon.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_fascin.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_geisha.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_inca2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_littlered.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_playtoons.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v1.cpp GOB: Remove useless memcpy() 2014-10-19 00:08:32 +02:00
inter_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v3.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v4.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v5.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v6.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter_v7.cpp IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
inter.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
inter.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
map_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
map_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
map.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
map.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
module.mk
mult_v1.cpp
mult_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
mult.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
mult.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
palanim.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
palanim.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
POTFILES GOB: Update list of files that contain translatable strings 2014-10-04 01:02:03 +01:00
resources.cpp GOB: Calculate _totResStart even if no resources follow 2014-03-16 16:40:08 +01:00
resources.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
rxyfile.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
rxyfile.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
scenery_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
scenery_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
scenery.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
scenery.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
script.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
script.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
surface.cpp GOB: Make coordinate parameters in Surface::fillRect() signed 2015-05-07 00:34:02 +02:00
surface.h GOB: Make coordinate parameters in Surface::fillRect() signed 2015-05-07 00:34:02 +02:00
totfile.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
totfile.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
util.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
util.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
variables.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
variables.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
video_v1.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
video_v2.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
video_v6.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
video.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
video.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
videoplayer.cpp GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
videoplayer.h GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00