Commit Graph

796 Commits

Author SHA1 Message Date
Mathew Velasquez 52ad0e9f3e Changed c++11 to gnu11 to fix windows build 2016-01-04 21:30:26 -05:00
Mathew Velasquez 917233977d Added additional rule to gitignore 2016-01-04 21:30:26 -05:00
Mathew Velasquez a28082cae3 Rudimentary map wrapping added 2016-01-04 21:30:26 -05:00
Mathew Velasquez 652ef21a50 Started on light viewport, reorganized viewports 2016-01-04 21:30:26 -05:00
Mathew Velasquez d0fb509fa5 Message blip delay changed 2016-01-04 21:30:26 -05:00
Mathew Velasquez eee13befa7 Removed dataPathOrg/App config options, changed example config 2016-01-04 21:30:25 -05:00
Mathew Velasquez 5118df09f4 Added scripts 2016-01-04 21:30:25 -05:00
Mathew Velasquez d40ae86ba4 Tweaked configuration options 2016-01-04 21:30:25 -05:00
Mathew Velasquez 0b04d60ce0 Raise exception on FileSystem::openReadRaw 2016-01-04 21:30:25 -05:00
Mathew Velasquez 0c64b6c4b5 Added C++11 to project 2016-01-04 21:30:25 -05:00
Mathew Velasquez 180b0b99ed Maps no longer wrap at edges, but display blank tiles 2016-01-04 21:30:25 -05:00
Mathew Velasquez 1c70d4bcbe updated windows build 2016-01-04 21:30:25 -05:00
Mathew Velasquez f58dbf37ee removed all traces of INI_ENCODING 2016-01-04 21:30:25 -05:00
Mathew Velasquez ead39083d1 fixed OS X build 2016-01-04 21:30:25 -05:00
Mathew Velasquez 186dc1bfe9 added SDL controller support 2016-01-04 21:30:25 -05:00
Mathew Velasquez 5f99c595af overhauled input symbols to be more gamepad-friendly 2016-01-04 21:30:25 -05:00
Mathew Velasquez 3b64e7871b Manually rebased over latest mkxp commit. Some features, such as lighting, are not reimplemented yet. 2016-01-04 21:30:25 -05:00
Mathew 5a7480a406 Font: Updated default font array size 2015-12-01 14:11:58 -05:00
Mathew Velasquez c75edbb83a Font: Fix default fonts for VX+ 2015-11-30 16:43:37 -05:00
Jonas Kulla 53b5b923d4 Merge pull request #138 from mook/graphics-playmovie-stub
MRI: Stub out Graphics.play_movie
2015-10-30 16:20:47 +01:00
Mook 8e411cbcfe Graphics: Stub out play_movie
Some people are using it to detect the RGSS version.
2015-10-30 08:01:36 -07:00
Jonas Kulla 7bf6eca362 EventThread: Comment out unneeded SDL2 constants 2015-07-26 23:56:50 +02:00
Jonas Kulla 4d97a17c44 TilemapVX: Ensure legs of out-of-view table tiles are drawn 2015-07-21 12:13:25 +02:00
Jonas Kulla 7017ca1c53 Use static lifetime for constant array 2015-07-21 12:13:25 +02:00
Jonas Kulla 30465691ae Tilemap: Fix map viewport calculation
Calculation was completely off as it didn't take into
account the imposed viewport origin.

All in all, similar fixes as the previous ones to TilemapVX.
2015-07-21 12:13:25 +02:00
Jonas Kulla dd7545fcf2 TilemapVX: Clean up the horrible map viewport calculation code
Also rename "offset" to "origin" which makes a lot more sense
for ox/oy attributes.
2015-07-21 12:13:24 +02:00
Jonas Kulla 5aaeb0206c Remove some stuff that was accidentally committed 2015-07-21 12:13:24 +02:00
Jonas Kulla 9a3dd2d554 Config: Enable smoothScaling by default
There's really no reason not to.
2015-07-21 12:13:24 +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 d1ee507ec4 Vec2i, IntRect: Add unequal operator 2015-07-21 12:13:24 +02:00
Jonas Kulla 21247b18b5 Merge pull request #127 from cremno/add-sprite-bush_opacity
MRI: add Sprite#{bush_opacity,bush_opacity=} bindings
2015-07-21 12:12:24 +02:00
cremno 861d261af2 add Sprite#{bush_opacity,bush_opacity=} 2015-07-21 07:27:53 +02:00
Jonas Kulla fe6799d00b TilemapVX: Fix map viewport calculation 2015-07-10 04:58:28 +02:00
Jonas Kulla fe709b6010 Use vector math 2015-07-10 04:51:29 +02:00
Jonas Kulla 54c1107f19 FileSystem: Fix file lookup if unrelated files with same name exist
Before, even though we did match all possible extensions,
we only took the first match and tried opening it.
If we were looking for a .png image, but there was an unrelated
.txt file with the same name (as it actually happens in RTPs),
we would potentially see the .txt first, try opening it,
and fail alltogether, even though the image file existed.

Now we try opening all matching files until we find one that
we can parse.

This fixes #101.
2015-07-09 15:38:50 +02:00
Jonas Kulla 533e69275a Constify 2015-07-09 14:53:59 +02:00
Jonas Kulla e4558c9dfb Use FS::openReadRaw() where ext supplementing makes no sense
Specifically, in places where the full filename is always supplied,
eg. when reading .rxdata type files.
2015-07-09 12:58:01 +02:00
Jonas Kulla 5382cc11a3 MidiSource: Close source SDL_RWops before throwing error 2015-07-09 12:38:04 +02:00
Jonas Kulla 1e9e24e45c README: Add note about RGSS version support 2015-07-09 12:33:55 +02:00
Jonas Kulla 9acdd206f6 Vec4: Rename 'xyzHasEffect()' to something that makes sense 2015-07-07 16:07:04 +02:00
Jonas Kulla 6e176a454c Constify 2015-07-07 16:06:45 +02:00
Jonas Kulla afab51279e Graphics: Fix viewport color/flash effectiveness calculation
Fixes #121.
2015-07-07 16:06:11 +02:00
Jonas Kulla 61849a9158 GLMeta: Eliminate redundant parameter 2015-07-07 15:25:48 +02:00
Jonas Kulla 2d31d08fa6 Add some general fixes from #111 found by @chosenofbear 2015-06-18 07:21:55 +02:00
Jonas Kulla e778dc17c5 Relocate SDL_sound patches into forked repo 2015-06-18 07:11:38 +02:00
Jonas Kulla 6380a93cec Graphics: Fix ::transition() "filename" default value
The default value is an empty string, which triggers the simple
transition. Passing null is not legal (and wasn't possible in
mkxp from Ruby side anyway).

Fixes #108.
2015-06-10 13:30:26 +02:00
Jonas Kulla 064b7ac80d README: Add link to dependency kit 2015-06-03 16:01:29 +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 e4bc08e972 Fix for old, broken OpenAL-Soft headers
See 4219b91bbb
2015-05-26 01:40:53 +02:00
Jonas Kulla 88eca58268 Revert "check Ruby strings for embedded null bytes"
This reverts commit 29dfda0011.
It turned out to be a bad idea after all.
2015-05-11 23:13:02 +02:00