Jonas Kulla
87462fd7b0
Use more explicit vector math via method overloads
2015-02-10 17:04:00 +01:00
Jonas Kulla
60f101f2e6
Tilemap(VX): Factor out common code into tilemap-common.h
...
Renamed flashmap.h to tilemap-common.h as it already contained
shared functions.
2014-11-30 17:46:28 +01:00
Jonas Kulla
a98ad3134b
TilemapVX: Implement flash tiles
2014-10-27 15:52:41 +01:00
Jonas Kulla
520162f36a
Use safe way to get at a vector's data pointer
...
&std::vector<C>[0] is not guaranteed to not throw if the
vector is empty. Better safe than sorry.
2014-10-09 19:02:29 +02:00
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
Jonas Kulla
81ac0780f8
Revert Disposable concept back into core
...
Pretty much a revert of
e858bbdcf5
.
We need this in core to properly implement F12 reset.
2014-09-23 21:12:58 +02:00
Jonas Kulla
ac9b98157e
TilemapVX: Use SimpleShader for unanimated ground layers
...
Also remove some useless member variables.
2014-09-06 22:02:00 +02:00
Jonas Kulla
24ad0990da
TilemapVX: Deal correctly with Graphics.resize_screen
2014-08-22 23:57:12 +02:00
Jonas Kulla
622845a404
TileAtlasVX: Handle table autotiles properly
2014-08-19 19:47:22 +02:00
Jonas Kulla
0c72659025
Remove stale code
2014-08-19 19:47:22 +02:00
Jonas Kulla
062c7267d7
TilemapVX: Fix map viewport not updating on scene geometry change
2014-08-16 11:47:06 +02:00
Jonas Kulla
7790bd6c2c
Implement RGSS2 Tilemap class (TilemapVX)
2014-08-15 15:20:32 +02:00