Jonas Kulla
7017ca1c53
Use static lifetime for constant array
2015-07-21 12:13:25 +02:00
Jonas Kulla
384249c31a
Unify float literals to use f suffix and avoid double promotions
...
I might have missed some.
2015-07-21 12:13:24 +02:00
Jonas Kulla
d5bacf50f5
TileAtlasVX: Fix table extents being covered by below tiles
...
Fixes the appearance of tables in VX, which place table
tiles on the same layer as ground tiles.
2015-05-31 20:58:05 +02: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
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
df73045d81
TileAtlasVX: Followup fix
...
Use rectangle intersection to correctly clip source
rectangles with origin != (0,0).
2014-10-03 06:51:39 +02:00
Jonas Kulla
db78e55371
TileAtlasVX: Clamp blit src rect to tileset bitmap size
2014-10-02 16:41:53 +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
55f1542c76
Merge separate RGSS version build configs into one
...
Setup active RGSS version at runtime. Desired version can be
specified via config, or as default, auto detected from the game
files. This removes the need to build specifically for each
version, which should help packaging a lot.
This also greatly reduces the danger of introducing code that
wouldn't compile on all RGSS version paths (as certain code paths
were completely ifdef'd out).
This can be optimized more, eg. not compiling shaders that aren't
needed in the active version.
2014-08-28 23:22:05 +02:00
Jonas Kulla
7bcc31fb53
Silence "unused param" warning in release mode
2014-08-28 11:26:20 +02:00
Jonas Kulla
622845a404
TileAtlasVX: Handle table autotiles properly
2014-08-19 19:47:22 +02:00
Jonas Kulla
9c421aed45
Add minor comments
2014-08-16 16:14:00 +02:00
Jonas Kulla
ded18f9a02
TileAtlasVX: RGSS2 knows no shadow layer
2014-08-16 11:47:06 +02:00
Jonas Kulla
7790bd6c2c
Implement RGSS2 Tilemap class (TilemapVX)
2014-08-15 15:20:32 +02:00