David Salvisberg
b1e1d28879
Added rudimentary support for font outlines.
2014-12-31 13:49:18 +01:00
David Salvisberg
6829ddc09f
Removed store keybindings from main, since it now already gets stored onAccept.
2014-12-28 06:06:28 +01:00
David Salvisberg
7413c3d994
Make button config menu save changes to disk whenever the changes are accepted.
2014-12-27 14:40:08 +01:00
Jonas Kulla
11cfe887c2
Fix several classes not accepting disposed bitmaps
...
Fixes an error in Alpha Kimori.
2014-12-22 08:22:45 +01:00
Jonas Kulla
685f8b63b3
Input: Integer button codes are still allowed in RGSS3
2014-12-09 04:21:48 +01:00
Jonas Kulla
6c92101e05
icon.svg: Resize page to drawing for easier rasterization
2014-11-30 21:46:18 +01:00
Jonas Kulla
3faaed89d0
icon.svg: Use 'inkscape -l' to strip inkscape specific tags
2014-11-30 21:09:11 +01:00
Jonas Kulla
98b0b71359
Don't use relative paths when #including xxd output
2014-11-30 17:50:24 +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
faef0e8503
README: Add prebuilt windows binaries link
2014-11-30 17:41:34 +01:00
Jonas Kulla
f00cb60707
debugwriter.h: Use unbuffered cerr instead of clog
2014-11-29 17:55:18 +01:00
Jonas Kulla
c1aab96454
Rename src/debuglogger -> src/gl-debug
2014-11-29 17:51:37 +01:00
Jonas Kulla
bc31922c33
Allow inserting GL string markers (GREMEDY_string_marker)
2014-11-29 17:33:39 +01:00
Jonas Kulla
5979c5f778
Add placeholder application icon
2014-11-29 17:30:53 +01:00
Jonas Kulla
cfd9345e87
MRuby: Update module_rpg.c to newest bytecode format
2014-11-29 14:55:43 +01:00
Jonas Kulla
c2f8b6b749
SettingsMenu: Fix help label sometimes not appearing
2014-11-28 06:04:34 +01:00
Jonas Kulla
276160f0d5
gl-fun.h: Fix compilation with outdated SDL headers
2014-11-22 17:03:16 +01:00
Jonas Kulla
f236e34e2d
Serializable, Table: Some general cleanups
2014-11-20 14:45:54 +01:00
Jonas Kulla
33c571e691
MRI: Fix mingw build crash when linking with -mwindows
2014-11-20 13:51:35 +01:00
Jonas Kulla
9ac14800da
Keybindings: SDL_GetPrefPath result always ends with separator
2014-11-17 07:24:22 +01:00
Jonas Kulla
5c3f4b905a
Use fopen with binary mode everywhere (for Windows compat)
2014-11-17 07:18:39 +01:00
Jonas Kulla
7121b65b44
Work around Steam overlay screenshot bug
2014-11-09 06:24:40 +01:00
Jonas Kulla
9506c05ba6
Implement cropped and rescaling texture hack
2014-11-03 03:11:03 +01:00
Jonas Kulla
f7a3e3c5d2
Table: General clean up and code reduction
...
- Use STL vector instead of doing manual mallocs
- Throw away the resize optimizations; hardly useful
- Marshal.dump data layout is the same as ours (in LE),
so we can just memcpy everything instead of copying
one by one
Throwing away part of the very first code I wrote for mkxp
felt very refreshing I must say.
2014-11-02 23:37:35 +01:00
Jonas Kulla
a98ad3134b
TilemapVX: Implement flash tiles
2014-10-27 15:52:41 +01:00
Jonas Kulla
577f606dac
Tilemap: Factor out flash tile code
...
This will be reused later in TilemapVX.
2014-10-26 20:00:56 +01:00
Jonas Kulla
05b32d76ca
Minor cleanup
2014-10-25 23:38:19 +02:00
Jonas Kulla
c9d5059238
Pass value object attributes by reference (instead of pointer)
...
This underlines that no reference inside the setter is taken,
and that these attributes are non-nullable.
Also removes a couple of superfluous attribute macros.
2014-10-25 23:33:41 +02:00
Jonas Kulla
5549ff78f0
Bindings: Viewport: Don't dispose children in RGSS2/3
2014-10-24 18:55:03 +02:00
Jonas Kulla
1a489aafaf
Bindings: Fix inconsistency in Viewport dispose (RGSS1)
...
As noted, on Viewport dispose, RMXP always calls the core
dispose method for child objects regardless of whether
user scripts override it in sub classes.
Implement this behavior in mkxp to prevent infinite recursion.
2014-10-24 18:35:05 +02:00
Jonas Kulla
8b31f97bb4
MRuby: Fix compilation
2014-10-24 18:26:10 +02:00
Jonas Kulla
ecf9b065c8
MRI: Revise 'MKXP.data_directory' behavior
...
This function which was formerly a simple wrapper around
SLD_GetPrefPath() is changed to instead return the directory
assembled from org/app name specified in mkxp.conf, so one
can be sure that both mkxp and user scripts will always write
into the same directory when a custom path is preferred.
2014-10-22 04:16:15 +02:00
Jonas Kulla
af8f3a36d2
MRI: Move former 'System' module into 'MKXP' module
...
This breaks script compatibility.
'System' is way too generic of a name to reserve for mkxp use,
and I have already seen at least one occurance in the wild of
it being used by user scripts.
Ideally, all mkxp RGSS extensions would be moved under this
module, but I feel like the core modules (Input, Graphics etc)
are more safe as users are hesitant to directly extend these.
2014-10-22 04:15:40 +02:00
Jonas Kulla
8e1852a281
Remove left-over dead code
2014-10-21 19:51:08 +02:00
Jonas Kulla
4a8b0f30c8
MRI: Add 'System.raw_key_states' to query full keyboard state
...
Returns a byte array with all key states (0 = released,
1 = pressed) indexed via SDL_SCANCODE_* enums.
2014-10-20 10:27:01 +02:00
Jonas Kulla
e44a1e32fa
Reorder some lines
2014-10-20 10:20:08 +02:00
Jonas Kulla
6145c59305
fluid-fun: Don't dlclose libfluidsynth, ever
...
Some versions of the library do nasty things with thread
local storage without cleaning up after themselves.
2014-10-20 10:17:48 +02:00
Jonas Kulla
1c1d72b03e
README: VX / VX Ace support is no longer experimental
2014-10-18 02:21:19 +02:00
Jonas Kulla
e1a45c29e2
README: Add OSX build by Ali and clarify SDL2 patch note
2014-10-18 02:15:00 +02:00
Jonas Kulla
5094f5c7c1
Add minor assert
2014-10-16 09:10:27 +02:00
Jonas Kulla
47851718eb
MRI: Handle exceptions raised in preloaded scripts
2014-10-15 06:27:43 +02:00
Jonas Kulla
2cd70b9edd
Window: Don't update anything if width*height == 0
...
Fixes GL errors.
2014-10-15 06:26:46 +02:00
Jonas Kulla
19b1c3d7c2
README: Mention SDL patch needed for F1 menu
2014-10-12 14:54:30 +02:00
Jonas Kulla
64a26b4911
README: Add link to prebuilt binaries
2014-10-12 02:38:28 +02:00
Jonas Kulla
dd73db2e9d
Introduce F1 menu to reconfigure key bindings at runtime
2014-10-11 20:48:44 +02:00
Jonas Kulla
af145c3a01
mkxp.pro: Make MRI version a qmake config option
...
Example: qmake MRIVERSION=2.2
2014-10-11 15:36:21 +02: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
1b7ed5ed78
Font: Fix default 'shadow' value for RGSS1
2014-10-09 18:53:24 +02:00
Jonas Kulla
0c08fc2d16
gl-fun.h: Fix function type signature
2014-10-06 21:10:19 +02:00
Jonas Kulla
18076c9ae4
Merge branch 'master' of github.com:Ancurio/mkxp
...
Conflicts:
src/tileatlasvx.cpp
I fucked up somehow.
2014-10-03 20:21:07 +02:00