mkxp/src
Jonas Kulla 6bbdf7e183 Bitmap#blt: Clamp source rect to source bitmap bounds
RGSS allows the source rectangle in both `blt` and
`stretch_blt` to lie outside the source bitmap bounds
(treating the missing data as (0, 0, 0, 0)) and to be
inverted (in which case the blitted image is also inverted).

This commit only hanldes a corner case that
arises in the game "Last Scenario"; emulating the full
RGSS behavior is however desirable.
2014-07-09 03:06:43 +02:00
..
al-util.h Audio: Remove unused float helper code 2014-05-24 18:26:04 +02:00
audio.cpp SoundEmitter: Optimize source allocation strategy 2014-06-15 06:26:34 +02:00
audio.h Don't expose global modules' con/destructors 2013-12-05 00:34:11 +01:00
autotiles.cpp Initial commit 2013-09-01 16:27:21 +02:00
binding.h Initial commit 2013-09-01 16:27:21 +02:00
bitmap.cpp Bitmap#blt: Clamp source rect to source bitmap bounds 2014-07-09 03:06:43 +02:00
bitmap.h Bitmap#blt: Clamp source rect to source bitmap bounds 2014-07-09 03:06:43 +02:00
boost-hash.h Transition from QtCore to stdc++ / STL / boost 2013-12-29 13:59:26 +01:00
config.cpp Merge branch 'dev' 2014-04-17 08:19:24 +02:00
config.h Merge branch 'dev' 2014-04-17 08:19:24 +02:00
debuglogger.cpp gl-fun.h: Fix KHR_debug function signatures 2014-06-24 23:56:13 +02:00
debuglogger.h Initial commit 2013-09-01 16:27:21 +02:00
debugwriter.h DebugWriter: Add std::vector print handler 2014-05-21 18:10:46 +02:00
disposable.h Exception: Constructor now takes printf style arguments 2013-12-29 18:05:11 +01:00
etc-internal.h can't sizeof an iVar in a static function 2013-12-31 16:32:12 -05:00
etc.cpp Sanitize #include statements 2013-12-04 17:48:37 +01:00
etc.h Sanitize #include statements 2013-12-04 17:48:37 +01:00
eventthread.cpp Remove screenshot functionality 2014-04-16 13:48:45 +02:00
eventthread.h Remove screenshot functionality 2014-04-16 13:48:45 +02:00
exception.h Spacing 2014-01-15 00:48:34 +01:00
filesystem.cpp Don't rely on non-standard typedef (thanks @ntzrmtthihu777) 2014-06-08 06:59:35 +02:00
filesystem.h Minor declaration fix 2014-04-16 20:54:29 +02:00
flashable.h Sprite: Implement wave effect (RGSS2) 2014-02-03 15:32:50 +01:00
font.cpp Font: Overhaul font asset discovery 2014-04-16 13:37:22 +02:00
font.h Font: Overhaul font asset discovery 2014-04-16 13:37:22 +02:00
gl-fun.cpp Add copyright notice to gl-fun.{cpp,h} 2014-06-15 07:52:26 +02:00
gl-fun.h gl-fun.h: Fix KHR_debug function signatures 2014-06-24 23:56:13 +02:00
gl-util.h Eliminate GLEW dependency 2014-06-13 18:46:45 +02:00
global-ibo.h Replace QVector, QList with std::vector, std::list 2013-12-26 20:18:33 +01:00
glstate.cpp Eliminate GLEW dependency 2014-06-13 18:46:45 +02:00
glstate.h GLState: Get rid of GL_TEXTURE_2D enable/disable 2014-05-30 23:13:58 +02:00
graphics.cpp Graphics: Respect non-default initial window size 2014-07-03 02:48:28 +02:00
graphics.h Don't expose global modules' con/destructors 2013-12-05 00:34:11 +01:00
input.cpp Don't unnecessarily expose internal constant 2014-05-30 23:13:58 +02:00
input.h Don't unnecessarily expose internal constant 2014-05-30 23:13:58 +02:00
intrulist.h Initial commit 2013-09-01 16:27:21 +02:00
main.cpp Eliminate GLEW dependency 2014-06-13 18:46:45 +02:00
plane.cpp Bitmap: Make #get_pixel/#set_pixel more accurate 2014-01-31 10:19:16 +01:00
plane.h Sanitize #include statements 2013-12-04 17:48:37 +01:00
quad.h Eliminate GLEW dependency 2014-06-13 18:46:45 +02:00
quadarray.h Eliminate GLEW dependency 2014-06-13 18:46:45 +02:00
scene.cpp Transition from QtCore to stdc++ / STL / boost 2013-12-29 13:59:26 +01:00
scene.h Spacing/spelling 2014-05-07 17:52:11 +02:00
serial-util.h Serialization: Fix typos resulting in corrupted data 2013-10-17 01:01:25 +02:00
serializable.h Remove Serializable's virtual destructor. It didn't do anything anyway. 2013-09-27 04:39:35 +02:00
shader.cpp Tilemap: Use vertex shader based autotile animation strategy 2014-07-06 19:44:19 +02:00
shader.h Tilemap: Use vertex shader based autotile animation strategy 2014-07-06 19:44:19 +02:00
sharedstate.cpp Font: Overhaul font asset discovery 2014-04-16 13:37:22 +02:00
sharedstate.h Font: Overhaul font asset discovery 2014-04-16 13:37:22 +02:00
sprite.cpp Sprite: Implement wave effect (RGSS2) 2014-02-03 15:32:50 +01:00
sprite.h Sprite: Implement wave effect (RGSS2) 2014-02-03 15:32:50 +01:00
table.cpp Table: Serialize actual table dimensions instead of '3' 2014-01-02 03:39:22 +01:00
table.h Sanitize #include statements 2013-12-04 17:48:37 +01:00
texpool.cpp Exception: Constructor now takes printf style arguments 2013-12-29 18:05:11 +01:00
texpool.h Rename 'Tex' to 'TEX' for consistency 2013-09-06 12:26:41 +02:00
tileatlas.cpp Tilemap: Use vertex shader based autotile animation strategy 2014-07-06 19:44:19 +02:00
tileatlas.h Rename typedef and fix wrong documenting comment 2014-01-16 19:16:09 +01:00
tilemap.cpp Tilemap: Use vertex shader based autotile animation strategy 2014-07-06 19:44:19 +02:00
tilemap.h Ifdef out more RGSS2 functionality 2013-10-06 10:28:03 +02:00
tilequad.cpp Cosmetic changes 2013-09-21 14:45:27 +02:00
tilequad.h Spacing/spelling 2014-05-07 17:52:11 +02:00
transform.h Sanitize #include statements 2013-12-04 17:48:37 +01:00
util.h Font: Overhaul font asset discovery 2014-04-16 13:37:22 +02:00
viewport.cpp Transition from QtCore to stdc++ / STL / boost 2013-12-29 13:59:26 +01:00
viewport.h Sanitize #include statements 2013-12-04 17:48:37 +01:00
window.cpp Window: Fix contents not being drawn if no windowskin is set 2014-07-09 02:47:32 +02:00
window.h Initial commit 2013-09-01 16:27:21 +02:00