Commit graph

702 commits

Author SHA1 Message Date
Jonas Kulla
ac42667975 Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit 2017-04-23 21:10:02 +02:00
David Salvisberg
5378cca875 ImGui also wants even pushes/pops in childframe scopes. 2015-07-19 18:31:53 +02:00
David Salvisberg
9d8aad7ffe Tightened up file handling code for config stores so that Windows is happy. 2015-07-19 01:00:47 +02:00
David Salvisberg
464657e20e Fixed uneven Push Pop calls in their respective Begin End scopes. 2015-07-18 18:07:40 +02:00
David Salvisberg
0fc409785a Fixed alignment on native resolution checkbox description label. 2015-07-17 17:36:01 +02:00
David Salvisberg
e1d02e558b Reduced TTF font downscale ratio so that text doesn't ever get cut off with the game's font. 2015-07-17 16:44:48 +02:00
David Salvisberg
c858ed4f29 Added checkboxes for window sizes of even multiples of the native resolution 2015-07-17 16:37:01 +02:00
David Salvisberg
440972ddfa Ported glsl to version 110 (GL 2.0) 2015-07-15 19:21:52 +02:00
David Salvisberg
9e9c000dfd Replaced settings menu with a more powerful ImGUI implementation. 2015-07-14 11:41:31 +02:00
David Salvisberg
733a7fadda Improved handling of multiple connected joysticks, prefer SDL_GameControllers. 2015-02-27 01:48:55 +01:00
Jonas Kulla
e1ca17f1f0 SharedState: Don't reallocate global tex on every bind 2015-01-15 15:07:48 +01:00
Jonas Kulla
9a78864e2e Add config option working around buggy graphics drivers
"subImageFix=true" should fix missing text on radeonsi fglrx
as well as most mobile drivers. Also fixes tileset atlas on
mobile.
2015-01-15 15:04:49 +01:00
David Salvisberg
1ff7a6cc47 Changed default binds and the button descriptions. 2015-01-05 15:05:39 +01:00
David Salvisberg
160bfc0702 Added support for SDL_GameController with fallback to default method. 2015-01-04 14:46:13 +01:00
Jonas Kulla
02f19c03c9 Merge pull request #86 from Daverball/controller-fix
Xbox controllers require JoyHat events to be tracked on windows
2014-12-31 18:50:57 +01:00
David Salvisberg
90e1c09711 Added support for JHat events. 2014-12-31 16:39:28 +01:00
Jonas Kulla
d18e3e6a53 Merge pull request #84 from Daverball/hue-shader-fix
hue shader turns pure white pixels black on some GPUs.
2014-12-31 16:12:08 +01:00
David Salvisberg
8240f3333f Fixed hue shader turning pure white pixel to pure black on some GPUs. 2014-12-31 16:02:10 +01:00
Jonas Kulla
150abff1c0 Merge pull request #85 from Daverball/save-button-config
Button config menu should save config to disk whenever changes are accepted.
2014-12-31 14:13:53 +01:00
Jonas Kulla
78e246c11d Merge pull request #83 from Daverball/master
Added rudimentary support for font outlines.
2014-12-31 13:51:44 +01:00
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
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