Commit Graph

993 Commits

Author SHA1 Message Date
DepressedTWM 278f016684 BSD build support 2026-05-25 10:34:04 +04:00
Issac332 da0fe12086 WME TRAVEL MENU lksxfjglk;jfsdgk;ljfsg;ljkhdfg;kljhdfsgjk;l
So far, only for barrens
2026-05-24 19:00:36 +03:00
Issac332 c6524a77ca DebugAction added to keybindings menu 2026-05-23 23:25:19 +03:00
Issac332 fc3ce84420 Added wallhack 2026-05-23 22:59:45 +03:00
ZakatTeamI2P 5ed6f9135c a 2026-05-23 15:45:17 +04:00
ZakatTeamI2P d4d0ca4644 Fuck smooth scaling 2026-05-20 23:18:44 +04:00
ZakatTeamI2P 2816992fcf Meow 2026-05-20 21:55:38 +04:00
ZakatTeamI2P 245b7f7153 a 2026-05-20 18:33:29 +04:00
DepressedTWM 291f05af1f Linux DE detection fix 2026-05-20 11:41:28 +04:00
DepressedTWM 3f0e19c4df Now i need fix messegeboxes 2026-05-20 11:35:44 +04:00
DepressedTWM 12f832f404 meow 2026-05-20 09:39:59 +04:00
DepressedTWM f216f616a0 Оптимизация потребления ОЗУ(на байт 20 +-) 2026-05-19 23:26:08 +04:00
ZakatTeamI2P 908e9d7bca meow 2026-05-19 14:09:39 +04:00
DepressedTWM e59ac9f339 Memory usage optimization 2026-05-19 13:18:04 +04:00
DepressedTWM ec6247b5c7 я выпил 0.5 л успокоительного 2026-05-19 12:07:59 +04:00
DepressedTWM acbac0b959 космитические изменения и обновление oneshot.conf 2026-05-19 08:27:52 +04:00
DepressedTWM 8fce0cdc18 HOPE 2026-05-18 23:40:43 +04:00
ZakatTeamI2P a6e2dc795a Fuck 2026-05-18 23:08:54 +04:00
ZakatTeamI2P a4d86310d8 meow 2026-05-18 16:39:35 +04:00
DepressedTWM b227742b15 Now we show Sunshine version in Title menu! 2026-05-18 12:15:40 +04:00
DepressedTWM ec0018ad76 Чем проще кодовая база - тем проще её поддерживать 2026-05-18 11:34:36 +04:00
DepressedTWM 44f2ef26f6 Fixes and other bullshit x2 2026-05-18 11:27:23 +04:00
DepressedTWM 4d1ae57bc5 Fixes and other bullshit 2026-05-18 11:22:33 +04:00
DepressedTWM 8d9568bd5f Bypass the walls! 2026-05-18 10:15:10 +04:00
DepressedTWM d5bb0f501a School is soooooo boooorrrrriiiiiinnnngggf 2026-05-18 09:50:04 +04:00
ZakatTeamI2P aa65d1783b Patcher for 16:9 2026-05-17 14:31:03 +04:00
Issac332 6b4e0a92b4 Win fixes
now game launchable on windows
2026-05-17 13:01:41 +03:00
ZakatTeamI2P c2af9b3ff9 im so shitttyyyy 2026-05-15 23:56:06 +04:00
ZakatTeamI2P cc506bf087 bruh 2026-05-15 15:50:43 +04:00
DepressedTWM 704c9b2f64 Школа такая поебота я не могу 2026-05-15 12:40:57 +04:00
DepressedTWM 9a074f8e82 vsync for SDL screen 2026-05-15 10:37:43 +04:00
ZakatTeamI2P bb75ba21f4 fixes 2026-05-12 15:46:18 +04:00
DepressedTWM 07b89ef555 meow x2 2026-05-12 15:05:32 +04:00
DepressedTWM e5714fbb75 meow 2026-05-12 10:51:29 +04:00
ZakatTeamI2P c2939f22bb i 2026-05-09 20:28:10 +04:00
meowtech 372e2e91b0 ummm.. i did something and settingmenu works now 2026-05-09 01:50:15 +03:00
meowtech f96ee17823 fooonts :3 2026-05-08 22:25:50 +03:00
ZakatTeamI2P 03a41da4df Xui 2026-05-04 12:46:41 +04:00
ZakatTeamI2P e29a3c366c h 2026-05-04 11:41:06 +04:00
ZakatTeamI2P a81aa34411 Big fixes! 2026-05-03 20:21:29 +04:00
ZakatTeamI2P c0306a0042 wow 2026-05-03 16:39:50 +04:00
ZakatTeamI2P ff435253ef V 2026-05-03 15:36:26 +04:00
DepressedTWM 95012997fc 100git add .git add . 2026-05-01 09:15:06 -04:00
ZakatTeamI2P 2f754e1cab im stupid 2026-04-29 20:52:26 +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 78e4b16153 efesdg 2026-04-19 11:30:25 +02:00
ZakatTeamI2P 94b77c141e IAAAAAAAAAAAAAA PIDORAAAAAAAAAAAAAAAAAAAAAAAAAS 2026-04-19 10:58:40 +02:00
ZakatTeamI2P 799370de98 Debuging ruby error + added One shot mode 2026-04-12 12:49:07 +04:00
ZakatTeamI2P cbac6c0c6f i hate ruby 2026-04-04 01:25:41 +04:00
ZakatTeamI2P 3e3c97fe01 Removed костыли ебаные 2026-04-04 00:11:31 +04:00
ZakatTeamI2P dc0c4ab781 Ported from ModShot-core Ruby 3 changes, custom window title 2026-04-03 00:23:19 +04:00
meowtech dc9da51385 dsfbhsfysdodsaoiufdsodhsdswe0gya43g0a4g08yeradrouyvdfsagyafesgdsfayugdsfbiowesa 2026-03-31 14:40:44 +00:00
meowtech 16432add0b some CMakeLists fixes and oldimpls directory fixes (ITS ABLE TO COMPILE, FINALLY!!1!) 2026-03-31 13:22:09 +00:00
meowtech c1b6881b8a fixes again (hopefully i didn't break anything) 2026-03-31 10:45:50 +00:00
ZakatTeamI2P 0a1023c5ed ;3 2026-03-31 02:33:58 +04:00
ZakatTeamI2P c9af737845 Merge branch 'master' of https://github.com/ZakatTeamI2P/mkxp-sunshine 2026-03-31 02:29:27 +04:00
ZakatTeamI2P cc14085fc0 a 2026-03-31 02:29:05 +04:00
meowtech 768426965f some fixes 2026-03-30 22:26:46 +00:00
meowtech f363187c82 settingsmenu.cpp 2026-03-30 22:21:48 +00:00
ZakatTeamI2P 42345d72db imastupiiid 2026-03-31 02:13:53 +04:00
meowtech 8b3272c1c0 changew fow SDW3 :3c 2026-03-30 22:12:47 +00:00
meowtech f01e12e703 changes for SDL3 again... 2026-03-30 21:59:06 +00:00
ZakatTeamI2P b2221612b4 UwU 2026-03-31 01:57:25 +04:00
meowtech faaf7b5ed5 changes for SDL3.. 2026-03-30 21:48:45 +00:00
ZakatTeamI2P f142b26df1 C+++++++++++++ 2026-03-31 01:44:57 +04:00
meowtech 73e70ebdb4 bitmap.cpp changes 2026-03-30 21:29:09 +00:00
meowtech 8c38116f5b code changes for SDL3... again 2026-03-30 21:01:56 +00:00
meowtech 41731bc796 alstream.cpp changes 2026-03-30 20:54:52 +00:00
ZakatTeamI2P 9e127aabae :( 2026-03-31 00:20:44 +04:00
ZakatTeamI2P adfa3b703e Merge branch 'master' of https://github.com/ZakatTeamI2P/mkxp-sunshine 2026-03-31 00:12:07 +04:00
ZakatTeamI2P 8d541597d3 SAPF{DOGPFOSG 2026-03-31 00:10:53 +04:00
meowtech 5b44fe7975 implementation for older SDL functions to use later 2026-03-30 19:28:56 +00:00
ZakatTeamI2P d1cf3a0435 NULL 2026-03-30 23:02:31 +04:00
ZakatTeamI2P 661ce21503 fjhgfoig 2026-03-30 22:51:26 +04:00
ZakatTeamI2P fa016d495b ia pidoras 2026-03-30 22:45:44 +04:00
meowtech 01ad634093 filesystem.cpp changes with SDL3 2026-03-30 18:41:20 +00:00
ZakatTeamI2P 7b740a8a1a asfs 2026-03-30 22:27:19 +04:00
ZakatTeamI2P 5ae9caaf39 efjgfrdn8her50ny0hteri0jhermippg 2026-03-30 22:13:59 +04:00
ZakatTeamI2P 7ae600021a Fixes 2026-03-30 21:56:04 +04:00
meowtech 6ff7405d31 sabijdsads 2026-03-30 17:31:03 +00:00
ZakatTeamI2P b4703792c1 AAAAAAAAAAAAAAAAAAAAAAAA 2026-03-30 21:13:57 +04:00
ZakatTeamI2P f7ab2765aa Kill me x2 2026-03-30 20:53:04 +04:00
ZakatTeamI2P 1f06d5ecf1 Kill me 2026-03-30 20:46:24 +04:00
ZakatTeamI2P d41739ce26 Merge branch 'master' of https://github.com/ZakatTeamI2P/mkxp-sunshine 2026-03-30 20:28:23 +04:00
ZakatTeamI2P 9b3058cad2 SDL3 changesssssssssssssssssssss UwU naxui 2026-03-30 20:28:12 +04:00
meowtech d7102977bf stuff for SDL3 2026-03-30 16:21:18 +00:00
meowtech f908f4917b stuff for SDL3 2026-03-30 16:20:24 +00:00
ZakatTeamI2P e04cbc061b edgophrsfhoip[wrj[iyn53 2026-03-30 20:11:38 +04:00
ZakatTeamI2P 9b9eb08445 dgfsdh 2026-03-30 19:41:40 +04:00
ZakatTeamI2P eb19b3fdc4 font.cpp and other p[gkfsdhg';[sdfg 2026-03-30 19:20:48 +04:00
ZakatTeamI2P ce6fe42cd9 filesystem.cpp changes for SDL3 2026-03-30 19:15:27 +04:00
ZakatTeamI2P 6023dce340 eventthread.h changes for SDL3 2026-03-30 19:03:17 +04:00
ZakatTeamI2P 060eea022c eventthread.cpp changes for SDL3 syka bliat 2026-03-30 19:00:58 +04:00
ZakatTeamI2P 72166a0c6c bitmap.cpp changes for SDL3 2026-03-30 17:26:18 +04:00
ZakatTeamI2P 81c9945284 audiostream.* changes for SDL3 2026-03-30 17:14:49 +04:00
ZakatTeamI2P e5b0ebfc19 audio.cpp changes for SDL3 2026-03-30 17:11:55 +04:00
ZakatTeamI2P b63c3f2079 alstream.h changes for SDL3 2026-03-30 17:09:46 +04:00
ZakatTeamI2P e807343c26 alstream.cpp changes for SDL3 2026-03-30 17:07:56 +04:00
ZakatTeamI2P 15499eea19 al-util.h changes for SDL3 2026-03-30 17:05:10 +04:00
Eliza c09d7ae3e5
Merge pull request #30 from elizagamedev/gir/openLocChanges
open localization work
2021-11-18 06:39:00 +00:00
GIR GIR c689eba8f2 -make the registry editing code windows only, because it's using windows api 2021-11-13 23:10:35 -08:00
GIR GIR 6e197943c0 -settings menu now loads font name and font size from 2 .ini files, so that these can be set for new languages that need to be added 2021-11-12 02:09:10 -08:00
GIR GIR 42f3db8fb7 -oneshot now writes to Software\\OneShot\\GameDirectory in registry the game's path
-journal now reads gamepath from registry to load images, instead of packing images into journal executable directly
-also converted journal to a visual studio solution (for windows)
2021-11-08 00:52:01 -08:00
GIR GIR 6b7e357e92 -made it so settings menu strings are loaded from .po files instead of .locs
-fixed issue where BlitScaled was just drawing white rectangles instead of stretching the txtSurf, so I just let this use BlitSurface instead with text getting cut off if it's too long.
2021-11-06 02:29:46 -07:00
Julia K 0d9eb20ce2
Support SDL <2.0.8 2020-06-13 00:49:29 +02:00
Pera Pisar 9b926e0cdb
Grab a localized documents directory variant on Linux 2019-04-25 02:50:24 +02:00
Pera Pisar acef1b4c0e
Fix library blacklist and GTK dialogs 2019-04-22 23:03:35 +02:00
Pera Pisar 9a1d321215
Introduce library blacklist; enable GTK dialogs on all Linux distributions 2019-04-22 01:58:57 +02: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
Jonas Kulla 9dcfb66e86 fluid-fun: Define destructor signature based on fluidsynth version
As per @carstene1ns 's suggestion.
2019-03-22 21:16:57 +01:00
Jonas Kulla d4b9adc1d1 fluid-fun: Adjust function signature to fluidsynth 2.0
This breaks compilation with FLUID_SHARED against <2.0 versions,
which should be reasonable given that the default mode can still
dynamically load both variants.

Fixes #219.
2019-03-21 08:07:02 +01:00
Luis Caceres 43cb318862 Config: Add case-insensitive ini file parser 2019-03-19 19:26:50 +01:00
Vinyl Darkscratch 0a4ab04161 Merge remote-tracking branch 'origin/linux' 2018-12-28 02:08:07 -08:00
KockaAdmiralac 6ebb92c6b9
Fix crash when XDG_CURRENT_DESKTOP isn't defined 2018-12-19 22:19:18 +01:00
Vinyl Darkscratch 784f129391 Add logging for desktop background changes 2018-12-11 09:54:18 -08:00
Eliza Velasquez c096f6f020 Fix October bug 2018-10-13 18:49:57 +00:00
Eliza Velasquez bab22d87be Fix font enumeration
Currently, the font enumeration callback erroneously stops searching if
it finds any files that aren't fonts. In the case that you have, say, a
desktop.ini or a .DS_Store or a license file, it may prevent all of the
fonts from being loaded. This commit resolves this.
2018-10-13 20:28:36 +02:00
Eliza Velasquez 4a0cb0b453 Fix physfs & ruby bugs and build for steam 2018-10-11 00:24:41 +00:00
Vinyl Darkscratch 65b9854d83 Style fix 2018-10-07 11:13:20 -07:00
Vinyl Darkscratch eb995df65a Add case-insensitive search for fonts folder 2018-10-07 11:12:39 -07:00
Eliza Velasquez b0affd0b76 Miscellaneous fixes 2018-10-07 17:45:45 +00:00
Vinyl Darkscratch 02c9c6f6e4 Disable redundant JPG support 2018-10-06 19:31:58 -07:00
Vinyl Darkscratch 88c3867ff5 Finish Mojave fixes 2018-10-04 17:51:00 -07:00
Vinyl Darkscratch 49e37cec7e Merge branch 'master' into macos-mojave-fixes 2018-10-04 11:22:42 -07:00
Vinyl Darkscratch f1f95b1630 Update crash message 2018-10-03 05:51:48 -07:00
Vinyl Darkscratch f9f13bf022 Dispatch popup dialogues to main thread 2018-10-03 05:51:37 -07:00
Vinyl Darkscratch 65dc6bf7d0 Revert PhysFS changes 2018-10-02 19:25:10 -07:00
Vinyl Darkscratch 6066975d92 Rename function 2018-10-02 13:41:06 -07:00
Vinyl Darkscratch 220de0c33c Merge remote-tracking branch 'origin/linux' 2018-10-02 11:25:30 -07:00
Vinyl Darkscratch b19153a6d3 Merge remote-tracking branch 'elizagamedev/master' 2018-10-02 11:24:39 -07:00
Eliza Velasquez a6062dea24 Initial Conan work 2018-09-27 07:10:32 +00:00
Jonas Kulla 294e86c12f RGSSAD: Fix parsing of top level directory entries
We were spamming every path into the hash (including the top
level ones) without noticing... oh well.
2018-09-27 06:34:48 +00:00
Carsten Teibes 9e5877b350 Adapt RGSS archivers and filesystem to physfs 3.0 API 2018-09-27 06:34:39 +00:00
KockaAdmiralac 56af69d59f
Potential Deepin support 2018-08-15 22:01:01 +02:00
KockaAdmiralac c8b0b92513
Remove needless code; fix KWin compositor disabling; enable GTK dialogs on XFCE 2018-08-04 16:13:20 +02:00
KockaAdmiralac a59e26595d
Testing reset functionality on KDE, expose DE to Ruby, add fallback wallpaper for unsupported DEs 2018-08-02 21:53:33 +02:00
KockaAdmiralac e75ef54a75
Add fallthrough notes to intentional fallthroughs against compiler warnings and for better code readability 2018-07-15 22:04:09 +02:00
Vinyl Darkscratch aa421131eb Merge branch 'master' into linux 2018-07-03 11:51:44 -07:00
Vinyl Darkscratch 4553e2f2bf Merge remote-tracking branch 'MKXP/master' 2018-07-03 11:36:50 -07:00
KockaAdmiralac 0c2b3f36a5
SILENCE ALL WARNINGS! 2018-06-16 11:07:04 +02:00
KockaAdmiralac 0a80ce24ef
Restore GTK dialogs on Cinnamon 2018-06-16 10:34:03 +02:00
KockaAdmiralac 1890afabbb
Remove unused code 2018-06-16 09:53:42 +02:00
KockaAdmiralac 8060adceee
Fix indentation in i18n.cpp, remove unused havePendingTitle, output when writing to pipe fails 2018-06-16 09:21:53 +02:00
Vinyl Darkscratch 3a6e61604b Implement KDE and LXDE detection 2018-06-12 00:59:50 -07:00
Vinyl Darkscratch 36102a12a4 Separate Cinnamon DE from GNOME DE 2018-06-01 23:02:16 -07:00
Vinyl Darkscratch b77b0c856f Use developer's definitions 2018-06-01 22:43:53 -07:00
Jonas Kulla ae59fcd112 Graphics: Fix transition when new scene has gray tone effect
Rendering the scene may cause PingPong swaps of front / backbuffer,
so don't take references to those buffers until after rendering.

Fixes #199
2018-05-21 12:22:23 +02:00
Vinyl Darkscratch 77b419d30a Allow for easy OS detection within Ruby scripts 2018-05-03 22:10:59 -07:00
Vinyl Darkscratch b02557a96c Merge branch 'master' into linux 2018-05-03 01:52:46 -07:00
Vinyl Darkscratch 33d0feb67e Disable window resize
Fixes #13
Fixes #23
2018-05-03 01:18:06 -07:00
KockaAdmiralac ac05c06551 Add MATE support 2018-05-01 14:14:58 +02:00
KockaAdmiralac 50079e637c Add MATE to list of GNOME DEs 2018-05-01 10:51:26 +02:00
KockaAdmiralac 3bc8b3e24a DE detection fix 2018-04-29 22:44:42 +02:00
KockaAdmiralac 4c7342eebb merge with master 2018-04-29 19:54:04 +02:00
KockaAdmiralac 113f68a8f6 Temporary commit to merge master 2018-04-29 19:46:02 +02:00
Vinyl Darkscratch eba1a22554 Fix journal path 2018-03-29 04:10:38 -07:00
Vinyl Darkscratch 286cc34874 Remove deprecated code 2018-03-21 01:16:37 -07:00
Vinyl Darkscratch 3a4c063b10 Disable window resizing on non-macOS platforms 2018-03-13 14:51:14 -07:00
Vinyl Darkscratch 00dcba7785 Fix Journal path for macOS 2018-03-08 03:34:55 -08:00
Vinyl Darkscratch 941f8b6131 Fix crash on macOS 2018-03-07 14:35:59 -08:00
Vinyl Darkscratch 190e2837c2 Re-enable event filter on macOS 2018-03-07 13:15:15 -08:00
Vinyl Darkscratch 8921e23ba5 Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
Vinyl Darkscratch 14907ad305 Disable non-implemented window fade in Linux 2018-03-06 01:46:04 -08:00
Vinyl Darkscratch a28a4733c4 Reduce warning count 2018-03-05 14:10:47 -08:00
Vinyl Darkscratch d122d72ad6 Complete desktop background binding for current screen 2018-03-01 22:08:13 -08:00
Vinyl Darkscratch b2db1c749f Fix object type name 2018-03-01 16:22:10 -08:00
Vinyl Darkscratch 4214b0e901 Prevent crash on resetting background when original isn't cached 2018-03-01 16:18:40 -08:00
Vinyl Darkscratch 7ae32c6717 Create and bind desktop background options 2018-03-01 16:01:43 -08:00
Vinyl Darkscratch fe1381243b Create wallpaper caching and add namespace 2018-03-01 15:48:42 -08:00
Vinyl Darkscratch 74de315eda Prepare wallpaper changing on macOS 2018-03-01 14:50:22 -08:00
Vinyl Darkscratch 87fcbbb494 Fix path to documents folder 2018-03-01 14:50:07 -08:00
Vinyl Darkscratch 357ecc520b Fix path to documents folder 2018-03-01 00:45:37 -08:00
ReinUsesLisp b5e5a26d8b Config: Set debug editor's debug variables into ruby 2018-02-22 09:08:45 +01:00
Jonas Kulla 9f44ee5068 FileSystem: Fix while termination condition 2018-01-22 10:54:21 +01:00
Jonas Kulla 183ebbed65 RGSSAD: Fix parsing of top level directory entries
We were spamming every path into the hash (including the top
level ones) without noticing... oh well.
2017-12-12 22:46:25 +01:00
Jonas Kulla 7902d0942d Filesystem: Properly iterate top level dir entries
"." seemed to have worked in earlier PhysFS versions,
but it was never the correct way.
2017-12-12 22:45:01 +01:00
Jonas Kulla 947974cac6 Config: Properly use windowTitle everywhere instead of game.title 2017-12-12 17:57:02 +01:00
Jonas Kulla 7d9a85dbbd Config: Add entry to override the game window title 2017-12-11 00:48:35 +01:00
Carsten Teibes d427df0c2b Adapt RGSS archivers and filesystem to physfs 3.0 API 2017-10-12 14:27:19 +02:00
Vinyl Darkscratch dba5f7cee4 Implement cmake's BundleUtilities 2017-10-11 23:30:03 -07:00
Jonas Kulla f172f58c74 Sprite: Fix regression with "mirror" attribute
FloatRect::hFlipped() returns a rectangle with negative width,
which was clobbered by the clamping further down.

Regression introduced in 55cec53911.
2017-08-10 21:39:17 +02:00
Vinyl Darkscratch 5e29b2ba66 Merge remote-tracking branch 'mathewv/master' 2017-07-31 15:19:08 -07:00
Jonas Kulla fba20e6294 Sprite: Check for disposed state before accessing bitmap 2017-07-30 23:00:18 +02:00
tdixon 4af06340de remove unused import 2017-06-29 13:38:50 -03:00
tdixon 9f8b1dd1fd Localization for keybinding menu 2017-06-29 13:22:36 -03:00
Jonas Kulla bd694f9f99 Graphics: Remove superfluous TEXFBOs while reusing existing ones
While the PingPong buffers were always texture-backed, currentScene
and transBuffer used to be backed by renderbuffers, which might have
been more optimized as render targets on older hardware; but since
all buffers in Graphics got switched to being texture backed to allow
blitting via rendering (when hardware blitting isn't available or broken,
eg. on mobile platforms), their reason to exist vanished.

For transBuffer, we can reuse the backbuffer of the PingPong structure,
while currentScene might have been useless from the start.
2017-05-11 12:37:15 +02:00
Jonas Kulla cab453ac3a Graphics: Use proper resizing function for TEXFBOs
Manually resizing the contained TEX objects skips updating the
width/height TEXFBO properties, which GLMeta::blit relies on.
2017-05-11 12:32:56 +02:00
Jonas Kulla 006f701fec Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit 2017-04-23 14:32:11 +02:00
Jonas Kulla 1478e1e0f9 Config: Add "maxTextureSize" entry to artificially limit texture sizes 2017-04-23 14:10:54 +02:00
Jonas Kulla 06feafe9ef Add missing include 2017-04-08 20:06:12 +02:00
Jonas Kulla e4079d5738 Fix build on OSX after 60e967e3b7 2017-04-08 19:13:31 +02:00
Jonas Kulla 0481f920b0 Input: Remove ugly [-20,-20] mouse position hack
This was supposed to disappear shortly after To the Moon's release,
but it unfortunately survived a bit longer :)

The status of the mouse cursor being inside / outside the game window
is now properly exposed (in MRI) via MKXP.mouse_in_window.
2017-04-08 18:45:24 +02:00
Jonas Kulla 3ea24bd757 EventThread: Make system cursor visible over black aspect ratio bars
Should be less confusing for the player.
2017-04-08 18:45:24 +02:00
Vinyl Darkscratch 49d647b0e1 Swap the use of LTexture with Font class 2017-04-04 16:31:04 -07:00
Vinyl Darkscratch 7274072a2d Add window fade-out on exit 2017-04-04 02:31:08 -07:00
Vinyl Darkscratch 6b5eff715b Add text input function (broken, read description)
Note: using this function breaks the graphics rendering at the moment,
due to code inconsistencies (utilizing SDL renderers when the rest of
the program uses GL ones, mainly), working on fixes for it!
2017-04-04 00:43:53 -07:00
Vinyl Darkscratch e645f3dd0e Merge remote-tracking branch 'mathewv/master' 2017-03-30 17:05:09 -07:00
Mathew Velasquez e3f572d6fe hidpi fix 2017-03-30 18:46:55 -04:00
Marty Plummer 60e967e3b7 Add icon and resource files for windows
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
2017-03-09 08:24:13 +01:00
Jonas Kulla 0f9b5f274a Filesystem: Search for "Fonts/" with case-insensitivity 2017-03-08 16:30:07 +01:00
Jonas Kulla 6349146e01 main: Only set window icon on Linux
OSX carries high-resolution icons in its bundles, and windows uses
windres to embed .ico files, so don't interfere with those.
2017-03-04 11:04:02 +01:00
Jonas Kulla c4dd3ffaf6 Config: Use set for preloadScripts
Would probably make sense for all other string vectors too.
2017-03-03 19:37:19 +01:00
Jonas Kulla 55cec53911 Sprite: Clamp src_rect to bitmap bounds 2017-02-17 19:29:38 +01:00
Vinyl Darkscratch 2119b1919d Merge remote-tracking branch 'mathewv/master' 2017-01-11 00:54:30 -08:00
root 9fb6ca4d89 Committer: gir
Changes to be committed:
modified:   src/audio.cpp
2017-01-03 19:57:29 -06:00
root 03f4610e20 Forgot to change volume when starting to play bgm, me, and bgs
Committer: gir <girakacheezer@gmail.com>
2017-01-01 04:56:41 -06:00
root 29fd891550 Adding backend changes for settings menu
Committer: mshirt <mshirt@ualberta.ca>
2017-01-01 04:48:40 -06:00
Vinyl Darkscratch 641851db65 Merge remote-tracking branch 'mathewv/master' 2016-12-29 13:56:20 -08:00
Mathew Velasquez d41e36c751 Fix minimize crash by sacrificing an unnecessary feature 2016-12-26 20:57:51 -05:00
Vinyl Darkscratch 2733b5ad06 Remove doubled Smooth attribute 2016-12-16 13:15:32 -08:00
Vinyl Darkscratch b0b024a01a Merge remote-tracking branch 'mathewv/master' 2016-12-15 13:37:16 -08:00
Mathew Velasquez d47a2241ee Messagebox fix 2016-12-15 05:39:51 -05:00
Vinyl Darkscratch f8c3862c2e Accommodate for @mathewv's "smooth" implementation 2016-12-14 21:14:42 -08:00
Vinyl Darkscratch 582b750c2b Merge remote-tracking branch 'mathewv/master' 2016-12-14 21:10:23 -08:00
Vinyl Darkscratch 3224d65988 Made paths in script cross-platform friendly
An ending that made me very, VERY teary-eyed, interrupted by an access
denied error…argh, code bugs, why!  >~<  Basically, the path to “My
Games” and the name of the journal’s executable are now defined by
oneshot.cpp and loaded into the Ruby script, so the ending isn’t
interrupted.  Now all that’s left is to compile the journal!
2016-12-14 21:09:33 -08:00
Mathew Velasquez a0ba40916d Smooth scaling Graphics option 2016-12-14 22:05:53 -05:00
Vinyl Darkscratch 0a1d9c570f Add "smooth" property to graphics module
This is just a simple bind and addition of a “smooth” property in the
graphics module, to fix fatal issue #2
2016-12-14 16:06:40 -08:00
Vinyl Darkscratch 85da9ff7e8 Reorganizing Mac and Linux blocks and commence on retina support 2016-12-13 21:16:33 -08:00
Vinyl Darkscratch 0b7fdbf8e1 Updates for a future Mac build 2016-12-12 22:59:07 -08:00
Mathew Velasquez aa7818847c Lots of stuff 2016-12-06 23:49:37 -05:00
Jonas Kulla 541e24f678 Bitmap: Use more accurate HSV-based hue shift algorithm
The previously YIQ-based algorithm turned out to be both slow,
and horribly inaccurate.

Another algorithm based on rotating the color value in the
RGB cube along the diagonal axis was also considered, which was
acceptable in terms of accuracy, and very fast.

In the end, I decided on a HSV-based one, because it is by far
the most accurate one, while still being a tad faster than the
YIQ solution.
Algorithm source: gamedev.stackexchange.com/a/59808/24839

A very simple GPU time benchmark when shifting a 2048^2 bitmap:

         YIQ rot   RGB rot   HSV shift
radeon   13.4 ms   2.8 ms    11.4 ms
intel    13.0 ms   6.0 ms    10.5 ms

radeon: HD 3650 mobility
intel:  N3540 integrated (Baytrail)

However hue shifting has never shown up as a bottleneck before,
so these are more academic.
2016-10-30 08:50:45 +01:00
Mathew Velasquez 0dc872bcea Journal screen stuff 2016-10-13 20:26:01 -04:00
Mathew Velasquez 302ec6dd02 I stopped making commits for a good while. Here's the latest junk. 2016-09-19 13:54:38 -04:00
Jonas Kulla d4e09f55bd WindowVX: Fix move() not setting the correct dirty flags 2016-07-27 12:03:45 +02:00
Jonas Kulla e98c2e0535 Bitmap: Don't throw away cached surface in setPixel()
Instead, update the surface with the same change. For many
consecutive getPixel() -> setPixel() calls on the same bitmap,
this avoids calling glReadPixels at every iteration.
2016-07-27 11:59:08 +02:00
Jonas Kulla fdaf6c3611 Bitmap: Split surface pixel address calculation into helper 2016-07-27 11:56:43 +02:00
Mathew Velasquez 82493cd0a0 Added footprints and src_rect to Plane class 2016-04-11 21:33:54 -04:00
Mathew Velasquez d53ad4b124 Improved internationalization support 2016-04-06 13:45:36 -04:00
Mathew d0cb19e9d2 Minor config tweaks 2016-03-18 00:25:30 -04:00
Mathew Velasquez 99ae7b35ad Minor engine tweaks
Made OneShot the standard spelling, adjusted keybindings, removed jpeg dependency, and turned vsync on by default
2016-03-11 00:30:20 -05:00
Mathew Velasquez 79fc639b83 Build portability fixes and name input issue fix 2016-03-07 17:14:48 -05:00
Mathew Velasquez 7275291e7d Fixed steam-related freeze and msgbox crash 2016-03-02 20:45:06 -05:00
Mathew Velasquez 1fd808d0af Gutted more unused features 2016-02-29 15:40:10 -05:00
Mathew Velasquez 05d2946280 Replaced initializer list for portability 2016-02-29 04:22:48 -05:00
Mathew Velasquez 546f29f42e Preliminary i18n improvements 2016-02-29 01:41:37 -05:00
Mathew Velasquez a4de9d9f10 integrated steamshim 2016-02-29 01:22:55 -05:00
Mathew Velasquez f44138015b Cleaned up config; Fullscreen option now indicates Big Picture 2016-02-28 08:13:29 -05:00
Mathew Velasquez 71867727ab Fixed crashes/weirdness with obscured window code 2016-02-27 22:33:02 -05:00
Mathew Velasquez df2a32d4f0 Changed OpenGL debugging to a compile time option 2016-02-26 18:33:22 -05:00
Jonas Kulla 5964aa8f76 EventThread: ifdef out broken SDL function on OSX 2016-02-26 18:13:51 -05:00
Jonas Kulla c16f20527e EventThread: Fix mouse cursor not being hidden 2016-02-26 18:13:51 -05:00
Mathew Velasquez 4be6c0d592 Gutted midi system 2016-02-26 17:03:01 -05:00
Jonas Kulla 47ef36ca19 EventThread: ifdef out broken SDL function on OSX 2016-02-24 17:55:28 +01:00
Jonas Kulla de74fc1bc3 EventThread: Fix mouse cursor not being hidden 2016-02-24 17:45:55 +01:00
Mathew Velasquez b63b3ba8f3 Renamed save data to .dat for easier Steam cloud integration 2016-02-18 18:23:16 -05:00