Commit graph

142 commits

Author SHA1 Message Date
DepressedTWM
14eec15108 meow 2026-05-18 09:57:51 +04:00
DepressedTWM
5fd7991db2 Cleanup 2026-05-18 07:39:57 +04:00
DepressedTWM
704c9b2f64 Школа такая поебота я не могу 2026-05-15 12:40:57 +04:00
ZakatTeamI2P
f4d2416c6d dgdfg 2026-05-12 15:41:57 +04:00
ZakatTeamI2P
ff714cd0ac I hate ruby 2026-05-09 20:28:10 +04:00
ZakatTeamI2P
c2939f22bb i 2026-05-09 20:28:10 +04:00
ZakatTeamI2P
03a41da4df Xui 2026-05-04 12:46:41 +04:00
DepressedTWM
f89abcc19d Debug 2026-05-01 04:02:29 -04:00
user
2ac06653d9 Small changes, small brain
Committer: ZakatTeamI2P <zakatteam@proton.me>
2026-04-30 14:18:18 -04:00
ZakatTeamI2P
e5e90d4a2b BrUh 2026-04-28 21:52:01 +04:00
ZakatTeamI2P
1cee186990 UwU 2026-04-28 21:44:27 +04:00
ZakatTeamI2P
4eba89fd0c Verbose logging, bugs fixes, minor changes, one SEGFAULT fix(sunshine bindings) and other i dont rememberrrrrrrrrr 2026-04-28 21:43:24 +04:00
Issac332
5a337f173b windows build fix
Я не знаю на сколько игра будет корректно работать в будущем с этими изменениями, но по крайней мере я добился того что бы оно хотя бы сбилдилось на винде под винду

билдинг я проводил из под msys2 с помощью ninja(make у меня почему то запускал обычный cmd):
Запускал `cmake` с аргументами `cmake -B build/ -G Ninja`(правда мне ещё пришлось указать путь до xxd, но скорее всего это я где то накосячил) и после `ninja` в `/build`
2026-04-28 19:02:02 +03:00
ZakatTeamI2P
cf058bd113 a 2026-04-23 19:24:23 +04:00
ZakatTeamI2P
948de95a89 Я пойду читать документацию руби 2026-04-19 19:07:12 +02:00
ZakatTeamI2P
17c3f38685 im tired 2026-04-19 14:13:45 +02:00
ZakatTeamI2P
94b77c141e IAAAAAAAAAAAAAA PIDORAAAAAAAAAAAAAAAAAAAAAAAAAS 2026-04-19 10:58:40 +02:00
ZakatTeamI2P
8e2f21e1d4 iiiiiiiiii fuuuuuuuuuuuuuuuuuuuuckiiiiiiiiiiiiiiiiin hateeeeeeeeeeeeeeeeee rubyyyyyyyyyyyyy 2026-04-17 15:04:32 +02:00
ZakatTeamI2P
799370de98 Debuging ruby error + added One shot mode 2026-04-12 12:49:07 +04:00
ZakatTeamI2P
a2e5e8adcd i want kil youself 2026-04-03 16:02:20 +04:00
meowtech
16432add0b some CMakeLists fixes and oldimpls directory fixes (ITS ABLE TO COMPILE, FINALLY!!1!) 2026-03-31 13:22:09 +00:00
ZakatTeamI2P
b051416902 n 2026-03-31 16:37:31 +04:00
ZakatTeamI2P
42345d72db imastupiiid 2026-03-31 02:13:53 +04:00
ZakatTeamI2P
3c13926f25 dgjmfrslkghr 2026-03-31 01:08:11 +04:00
meowtech
5b44fe7975 implementation for older SDL functions to use later 2026-03-30 19:28:56 +00:00
ZakatTeamI2P
fa016d495b ia pidoras 2026-03-30 22:45:44 +04:00
ZakatTeamI2P
5ae9caaf39 efjgfrdn8her50ny0hteri0jhermippg 2026-03-30 22:13:59 +04:00
meowtech
7dbbfc4706 sadbohsadsfvodsfuyvfiu 2026-03-30 16:08:18 +00:00
ZakatTeamI2P
9b9eb08445 dgfsdh 2026-03-30 19:41:40 +04:00
ZakatTeamI2P
197d7324be binding-mri changes for SDL3 2026-03-30 16:52:49 +04:00
Eliza Velasquez
8572f65917 Linux AppImage support 2020-06-16 15:53:22 -07:00
Eliza Velasquez
8c3ffd303d Fix Linux bitrot 2020-06-15 23:55:18 -07:00
Pera Pisar
28face2167 Linux changes (#62)
* Added RPATH to executable; lowercased name; fixed MRIVERSION option; made it look like an actual executable

* Silencing some compiler warnings

* Getting rid of journal binding header, fixing bugs with the Niko binding and synchronizing the two

* Journal update to fix several bugs

* Fix libpng warning by running mogrify on shrimp.png

* Improved automation of the Linux build

* Improved some aspects of wallpaper handling

* Bump default Ruby version to 2.5
2019-04-21 03:50:20 -07:00
Vinyl Darkscratch
d02a2162f4
Revert "Config: Add case-insensitive ini file parser"
This reverts commit 43cb318862.
2019-04-21 03:45:34 -07:00
Vinyl Darkscratch
62b5cda85a
Merge remote-tracking branch 'Ancurio-MKXP/master' 2019-04-21 03:45:13 -07:00
Luis Caceres
43cb318862 Config: Add case-insensitive ini file parser 2019-03-19 19:26:50 +01:00
Eliza Velasquez
c096f6f020 Fix October bug 2018-10-13 18:49:57 +00:00
Vinyl Darkscratch
9aacb5f136 Fix cleanup script and update Conan + CMakeLists to fix errors 2018-10-10 18:46:10 -07:00
Eliza Velasquez
4a0cb0b453 Fix physfs & ruby bugs and build for steam 2018-10-11 00:24:41 +00:00
Vinyl Darkscratch
a9b6d085c5 Merge branch 'master' into qmake-to-cmake 2018-10-07 10:54:37 -07:00
Vinyl Darkscratch
0deb8e67c2 Only build Steamshim if building for Steam 2018-10-07 10:54:11 -07:00
Eliza Velasquez
b0affd0b76 Miscellaneous fixes 2018-10-07 17:45:45 +00:00
Vinyl Darkscratch
ba53c20972 Update CMakeLists for Steamshim 2018-10-07 10:09:50 -07:00
Vinyl Darkscratch
bcb9b838f2 Temporarily disable CMake Steamshim on Windows 2018-10-06 18:23:56 -07:00
Vinyl Darkscratch
a86b1d8d29 Fix Steamshim path 2018-10-06 18:23:24 -07:00
Vinyl Darkscratch
e599cc1c54 Merge Steamshim CMake into master CMake 2018-10-06 18:17:03 -07:00
Vinyl Darkscratch
a13dead8cf Add macOS desktop code 2018-10-05 18:27:34 -07:00
Vinyl Darkscratch
31dcb7f904 Add bundle fixup 2018-10-05 18:27:26 -07:00
Vinyl Darkscratch
734f634995 Update macOS deployment target 2018-10-05 18:18:33 -07:00
Vinyl Darkscratch
5d125f2caa Merge branch 'master' into macos-mojave-fixes 2018-10-04 16:56:50 -07:00
Vinyl Darkscratch
f754921b44 Fix Windows compilation errors 2018-10-04 13:02:23 -07:00
Vinyl Darkscratch
7f9cf82019 Enable Build for Steam by default 2018-10-04 11:32:38 -07:00
Vinyl Darkscratch
9b15f70848 Re-add CMakeLists.txt 2018-10-02 11:42:49 -07:00
Vinyl Darkscratch
86b3f26c2a Remove deprecated CMakeLists.txt 2018-05-02 18:38:31 -07:00
Vinyl Darkscratch
8921e23ba5 Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
Carsten Teibes
b1bdf1e445 Fix CMake build, only use resource.h on Windows
This was broken in commit 01e17ed5c6 (move windows specific files).
2017-08-18 22:42:27 +02:00
Marty Plummer
01e17ed5c6 windows: move windows specific files
Moved the windows-specific files into their own subdir for
cleanliness's sake and mesonbuild organization.

Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
2017-08-10 21:58:31 +02:00
Marty Plummer
f5c30affaa mingw-w64: allow cmake cross-compile
Tested on gentoo with x86_64-w64-mingw32 toolchain and libraries.

Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
2017-05-25 13:01:11 +02:00
Vinyl Darkscratch
f59bc1d76a Add automated macOS compile script and remove unneeded CMakeLists 2017-03-30 17:05:02 -07:00
Vinyl Darkscratch
1da5418a3a Remove value in EXTERNAL_LIB_PATH from previous commit 2016-12-12 23:26:45 -08:00
Vinyl Darkscratch
0b7fdbf8e1 Updates for a future Mac build 2016-12-12 22:59:07 -08:00
Jonas Kulla
373b90af00 Graphics: Optimize Viewport effect rendering
Using the kitchen sink plane shader for viewport effects, even
if only a small part of them are active, incurs great performance
loss on mobile, so split the rendering into multiple optional
passes which additionally use the blending hardware for faster
mixing (lerping).
Also, don't mirror the PingPong textures if the viewport effect
covers the entire screen area anyway.
2014-12-31 18:52:19 +01:00
Jonas Kulla
3c0a530eba Sprite: Add special case shader for translucent effect
Translucent sprites (opacity < 255) are very common,
so using a custom shader instead of the full blown effect one
helps a lot, especially on mobile.
2014-12-31 18:52:19 +01:00
Jonas Kulla
a53163660f Shader: Refine preprocessing on GLES platform
Don't globally set float precision to mediump, only fragment
shaders need that and defining it for vertex shaders causes
tilemap cracks.

Also manually define low precision for variables that hold
color / alpha values.
2014-12-31 18:52:19 +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
c1aab96454 Rename src/debuglogger -> src/gl-debug 2014-11-29 17:51:37 +01:00
Jonas Kulla
5979c5f778 Add placeholder application icon 2014-11-29 17:30:53 +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
dd73db2e9d Introduce F1 menu to reconfigure key bindings at runtime 2014-10-11 20:48:44 +02:00
Jonas Kulla
c1d89e4f8d CMakeLists.txt: Bump default MRI version to 2.1 2014-10-03 20:15:52 +02:00
Jonas Kulla
5ea964eee8 CMakeLists.txt: Link against libiconv on OSX 2014-09-30 14:17:33 +02:00
Jonas Kulla
51a0f3903c Audio: Clean up threading and add AudioStream fadein (RGSS3) 2014-09-30 09:13:12 +02:00
Jonas Kulla
46497eae01 CMakeLists.txt: Add missing shader source 2014-09-30 01:34:10 +02:00
Jonas Kulla
757a1d5e39 Load fluidsynth entrypoints dynamically (and make them optional)
This removes the static dependency on fluidsynth being present
at buildtime (even headers aren't needed anymore).

Even though midi is a default format for the RPG XP/VX series,
it has fallen more and more out of use, with VX Ace completely
abandoning it from the RTP and making ogg vorbis the de facto
standard. Midi support is kept for legacy reasons, but isn't
encouraged. On top of all this, fluidsynth together with glib
is a heavy dependency that often times won't even be used.
Making it optional at build time is an attempt to unify and
keep build config fragmentation low.

In RGSS3, fluidsynth / midi is not initialized at all by
default, but rather on demand when either a midi track is
played back or Audio.setup_midi is called.
2014-09-09 00:08:32 +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
4daff93e29 Put bundled font into its own translation unit 2014-08-17 00:26:35 +02:00
Jonas Kulla
3bcf995832 Add option to turn off switching into executable dir on startup 2014-08-02 09:30:17 +02:00
Jonas Kulla
751fdc599e Audio: Add MIDI format playback support
This adds a new dependency with libfuildsynth. MIDI support
is built by default, but can be disabled if not desired.

All RTP songs should work well, but there are known problems
with other files (see README). Also, the pitch shift implementation
is somewhat poor and doesn't match RMXP (at least subjectively).

A soundfont is not included and must be provided by
the user themself.
2014-08-02 06:42:55 +02:00
Jonas Kulla
d7e0429ea6 CMakeLists.txt: Add 'vorbisfile' to dependencies if RGSS2=ON
Also add missing define.
2014-07-25 15:19:10 +02:00
Jonas Kulla
0d96207b39 CMakeLists.txt: Don't turn on "RGSS2" by default 2014-07-25 14:47:08 +02:00
Jonas Kulla
1ecdd9f980 filesystem.cpp: Split out RGSSAD parts 2014-07-23 22:57:39 +02:00
Jonas Kulla
f73b0ba4b5 audio.cpp: Split up into smaller parts 2014-07-23 17:28:20 +02:00
Thomas Schneider
20db1a7b39 Added some cmake deps 2014-07-13 22:18:27 +02:00
Jonas Kulla
c0f25548bd CMakeLists.txt: Add new file "tilemap.vert" 2014-07-09 17:11:05 +02:00
Jonas Kulla
282d547ad4 Remove Perftimer classes
Performance can still be crudely measured by turning off
the framelimit and observing the FPS count. For everything
else, there's always callgrind / apitrace.
2014-06-13 19:01:15 +02:00
Jonas Kulla
6c481e5eb8 Eliminate GLEW dependency
GL entrypoint resolution is now done manually. This has a couple
immediate benefits, such as not having to retrieve hundreds of
functions pointers that we'll never use. It's also nice to have
an exact overview of all the entrypoints used by mkxp.

This change allows mkxp to run fine with core contexts, not sure
how relevant that is going to be in the future.

What's noteworthy is that  _all_ entrypoints, even the ones core
in 1.1 and guaranteed to be in every libGL, are resolved
dynamically.
This has the added benefit of not having to link directly against
libGL anymore, which also cleans up the output of `ldd` quite
a bit (SDL2 loads most system deps dynamically at runtime).

GL headers are still required at build time.
2014-06-13 18:46:45 +02:00
Edward Rudd
05668f792a small tweaks to cmake for linux 2014-01-01 14:54:19 -05:00
Edward Rudd
1ce4970d62 setup source groups in the cmake to make IDEs more organized 2014-01-01 11:19:31 -05:00
Edward Rudd
835ea686c8 make indents consistent in cake.. also put a glaring note that the MRUBY support needs to be finished. 2014-01-01 10:46:33 -05:00
Edward Rudd
f106e31c6f add missed force32 option 2013-12-31 16:36:00 -05:00
Edward Rudd
02738be4c5 CMake's GLEW finds parent dir.. not GL subdir. 2013-12-31 16:31:58 -05:00
Edward Rudd
b1a2569dff add CMake project for easier building 2013-12-31 16:24:14 -05:00