mkxp-freebird/src
Jonas Kulla 9758e660c4 Tilemap/VX: Ensure proxy objects don't outlive their parents
Either of these would previously crash (same for VX):

tm = Tilemap.new
at = tm.autotiles
tm = nil
GC.start
at[0] = Bitmap.new(1, 1)

tm = Tilemap.new
at = tm.autotiles
tm.dispose
at[0] = Bitmap.new(1, 1)

Funnily, this makes RMXP itself crash too, but crashing is
never acceptable except for possibly resource exhaustion.
2014-09-26 18:21:50 +02:00
..
al-util.h ALStream: Fix sometimes not unqueuing all buffers before play 2014-07-31 03:39:36 +02:00
aldatasource.h Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
alstream.cpp Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
alstream.h Audio: Add MIDI format playback support 2014-08-02 06:42:55 +02:00
audio.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
audio.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
audiostream.cpp audio.cpp: Split up into smaller parts 2014-07-23 17:28:20 +02:00
audiostream.h audio.cpp: Split up into smaller parts 2014-07-23 17:28:20 +02:00
autotiles.cpp autotiles.cpp: Fix subrect pattern for indices 23 and 46 2014-08-07 10:46:58 +02:00
autotilesvx.cpp TileAtlasVX: Handle table autotiles properly 2014-08-19 19:47:22 +02:00
binding.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
bitmap.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
bitmap.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
boost-hash.h BoostSet: Add 'remove' and rename BoostHash::erase to remove 2014-09-05 01:06:08 +02:00
bundledfont.cpp Put bundled font into its own translation unit 2014-08-17 00:26:35 +02:00
config.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
config.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +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 Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
etc-internal.h Bitmap: Clip dest rect when blitting from mega surface 2014-08-09 21:21:38 +02:00
etc.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
etc.h Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
eventthread.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
eventthread.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
exception.h Spacing 2014-01-15 00:48:34 +01:00
filesystem.cpp tl;dr: I fucking suck at coding (fix double free) 2014-09-23 17:26:30 +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
fluid-fun.cpp Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
fluid-fun.h Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
font.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
font.h Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
gl-fun.cpp Hookup mkxp to run under a OpenGL ES 2.0 context 2014-07-19 14:26:42 +00:00
gl-fun.h gl-fun.h: Allow to alternatively be compiled with GLES2 headers 2014-07-21 01:49:06 +00:00
gl-meta.cpp GLMeta: Disable blending when blitting via quad draw 2014-07-20 13:20:43 +02:00
gl-meta.h gl-util.h: Remove wrappers for things abstracted via GLMeta 2014-07-16 05:22:43 +02:00
gl-util.h gl-util.h: Add GL ID != operator and TEXFBO::clear 2014-08-12 21:41:59 +02:00
global-ibo.h Actually switch to 16 bit index buffers 2014-07-19 09:31:39 +02:00
glstate.cpp Add internal 'KeepDestAlpha' BlendType (for use in WindowVX) 2014-08-12 22:26:54 +02:00
glstate.h GLState: Remove 'BlendNone' mode in favor of disabling blending alltogether 2014-07-20 13:17:12 +02:00
graphics.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
graphics.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
input.cpp Input: Fix default keybinds 2014-09-26 06:25:47 +02:00
input.h Don't unnecessarily expose internal constant 2014-05-30 23:13:58 +02:00
intrulist.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
main.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
midisource.cpp Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
plane.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
plane.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
quad.h quad.h: Cleanup static functions to use templated Vertex parameter 2014-08-12 21:41:59 +02:00
quadarray.h quadarray.h: Use size_t for everything (quad) count related 2014-08-12 21:41:59 +02:00
rgssad.cpp Add missing header 2014-07-25 14:58:11 +02:00
rgssad.h RGSSAD: Add RGSS3 archive reader 2014-07-24 02:45:20 +02:00
scene.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
scene.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
sdlsoundsource.cpp Audio: Add MIDI format playback support 2014-08-02 06:42:55 +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 Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
shader.h Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
sharedmidistate.h Load fluidsynth entrypoints dynamically (and make them optional) 2014-09-09 00:08:32 +02:00
sharedstate.cpp Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
sharedstate.h Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
soundemitter.cpp BoostSet: Add 'remove' and rename BoostHash::erase to remove 2014-09-05 01:06:08 +02:00
soundemitter.h SoundEmitter: Make SE source count configurable 2014-08-25 05:34:19 +02:00
sprite.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
sprite.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
table.cpp Table: Add clone constructor (and bind in MRI) 2014-08-05 05:24:13 +02:00
table.h Table: Add clone constructor (and bind in MRI) 2014-08-05 05:24:13 +02: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 TileAtlas: Fix broken atlas generation 2014-07-10 21:48:33 +02:00
tileatlas.h Rename typedef and fix wrong documenting comment 2014-01-16 19:16:09 +01:00
tileatlasvx.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
tileatlasvx.h TileAtlasVX: Handle table autotiles properly 2014-08-19 19:47:22 +02:00
tilemap.cpp Tilemap/VX: Ensure proxy objects don't outlive their parents 2014-09-26 18:21:50 +02:00
tilemap.h Tilemap/VX: Ensure proxy objects don't outlive their parents 2014-09-26 18:21:50 +02:00
tilemapvx.cpp Tilemap/VX: Ensure proxy objects don't outlive their parents 2014-09-26 18:21:50 +02:00
tilemapvx.h Tilemap/VX: Ensure proxy objects don't outlive their parents 2014-09-26 18:21:50 +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 Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
vertex.cpp Use macro from util.h for static array size 2014-07-23 21:26:44 +02:00
vertex.h GLMeta: Add vertex array object support 2014-07-13 14:05:12 +02:00
viewport.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
viewport.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
vorbissource.cpp Audio: Add MIDI format playback support 2014-08-02 06:42:55 +02:00
window.cpp Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
window.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00
windowvx.cpp WindowVX: Initialize all dirty flags and connect tmp tone 2014-09-26 06:24:43 +02:00
windowvx.h Revert Disposable concept back into core 2014-09-23 21:12:58 +02:00