Commit Graph

486 Commits

Author SHA1 Message Date
StapleButter
d0770596ea re-add basic scaling 2017-10-02 03:34:17 +02:00
StapleButter
09920126dd add support for setting an explicit min size for libui controls. for now only supported by uiArea. 2017-10-02 01:58:09 +02:00
StapleButter
ce592a1d80 this TODO item is already done, idiot 2017-10-02 00:55:44 +02:00
StapleButter
1975efaeea fix bugs with SPI shutdown 2017-10-01 03:19:39 +02:00
StapleButter
9ad89d8cb5 fix crash under Windows 10 2017-09-30 23:17:36 +02:00
StapleButter
ab9800fbac actual joystick input
also sync keyboard input nicely
2017-09-30 20:05:56 +02:00
StapleButter
9f486de76a allow entering joystick config 2017-09-30 19:27:47 +02:00
StapleButter
acc23f47cc actually get the input dialog somewhere 2017-09-30 18:58:13 +02:00
StapleButter
cb284fbe2b get the input dialog started 2017-09-26 02:20:28 +02:00
StapleButter
2084bacc22 setup DebugFast target. remove console from Release. axe Linux targets. 2017-09-25 15:25:55 +02:00
StapleButter
172babe9d0 add general emu settings dialog 2017-09-25 04:26:41 +02:00
StapleButter
69bc06402c change default keyboard mapping 2017-09-23 04:10:25 +02:00
StapleButter
f52322ee20 * support for dragdrop
* support for loading ROMs via command line (except it will try to get the BIOS/firmware from where the ROM is. derp)
* re-add missing BIOS/firmware dialog. fix libui to allow dialogs without a parent window.
2017-09-23 03:39:09 +02:00
StapleButter
14b7cf1987 add hooks for when the window gets/loses focus.
properly refocus draw area.
lay base for dragdrop.
2017-09-23 02:58:04 +02:00
StapleButter
a9cacb9dd7 make Quit menu item actually work 2017-09-23 02:03:11 +02:00
StapleButter
e298d50e76 avoid potential race conditions during reset/etc by waiting till the emu thread got the message to pause 2017-09-22 01:33:18 +02:00
StapleButter
332282c809 oh also, fuck that shit 2017-09-21 21:44:39 +02:00
StapleButter
8e41ed751e change 'pause' menu item to a proper check item. GTK is picky about it. 2017-09-21 21:31:20 +02:00
StapleButter
65b332b152 reenable wifi socket code 2017-09-21 04:42:31 +02:00
StapleButter
2eea801d26 goodbye wx crap. you will not be missed. 2017-09-21 04:35:55 +02:00
StapleButter
76c5451ad9 I'm an idiot 2017-09-21 04:09:09 +02:00
StapleButter
48cf9eb805 make it a menu option while we're at it 2017-09-21 04:08:03 +02:00
StapleButter
495d0ba12d add support for SPI shutdown, btw 2017-09-21 03:59:12 +02:00
StapleButter
0aa3434ec7 double-buffer framebuffer, eliminates artifacts 2017-09-21 03:49:12 +02:00
StapleButter
f13c3fc90c implement run/pause/reset menus 2017-09-21 03:42:40 +02:00
StapleButter
b70e085921 fix possible crashes upon exit 2017-09-19 21:06:15 +02:00
StapleButter
dbefaf0ad3 Windows: fix colors. use fallback if hardware render mode doesn't work. 2017-09-19 20:48:18 +02:00
StapleButter
defe46e37e GTK: apply window client size to childHolderWidget. fixes sizing when a menubar is present. 2017-09-19 17:38:43 +02:00
StapleButter
edd33187b6 GTK: thread-safe refresh. doesn't freeze randomly anymore. 2017-09-19 16:53:02 +02:00
StapleButter
4db1a51fa4 add Platform thread/semaphore support, using SDL 2017-09-19 15:39:41 +02:00
StapleButter
62405cde0a change final framebuffer format (again. sorry.) to xRGB, more compatible 2017-09-19 15:39:00 +02:00
StapleButter
8d79355f2e libui: add cairo bitmap code (preliminary). fix bug where putting a draw area directly in the window caused it to be tiny. 2017-09-19 02:22:07 +02:00
StapleButter
5979ab2eb2 libui: fix bug with filepicker filters under GTK. add skeleton for bitmaps. add the right cmake shit. 2017-09-19 00:36:25 +02:00
StapleButter
f30e19a2ec touchscreen input 2017-09-17 23:36:28 +02:00
StapleButter
8e7d46e717 * attempt at keyboard input, via raw scancodes
* load config, etc
* some things are nicer, too
2017-09-17 23:25:32 +02:00
StapleButter
66106a8829 sound 2017-09-14 17:06:41 +02:00
StapleButter
d463f8252d * build settings for Release
* fix off-by-one error in bitmap drawing
2017-09-14 02:30:11 +02:00
StapleButter
ba113d0ca9 actually run the emulator 2017-09-14 00:56:52 +02:00
StapleButter
f18690487c start working on API to draw bitmaps
lay out emu thread
2017-09-14 00:30:12 +02:00
StapleButter
62a26977c7 libui: primp file picker dialogs
* support for filters, for Windows (tested) and GTK (theoretical)
* add extra parameter for setting the start directory, but not supported yet
2017-09-11 15:56:52 +02:00
StapleButter
08ed0f3229 are you dense, TortoiseGit 2017-09-09 03:28:56 +02:00
StapleButter
dbcec7efb4 actually take it somewhere 2017-09-09 03:23:02 +02:00
StapleButter
70e4841d31 another UI attempt, I guess.
sorry.
2017-09-09 02:30:51 +02:00
StapleButter
81747d6c34 readme update 2017-08-29 18:17:44 +02:00
StapleButter
c9ac08aa5b 3D: blend translucent pixels with bottom pixels when needed.
fixes antialiasing within shadows, under translucent polygons, etc
2017-08-28 22:19:49 +02:00
StapleButter
183b8b58e0 3D: move shadow mask rendering to separate function, optimize it (it doesn't need to interpolate all vertex attributes) 2017-08-28 20:27:56 +02:00
StapleButter
ee6daa0e62 fix antialiasing along Y-major edges 2017-08-28 18:48:06 +02:00
StapleButter
2e23ae54b2 3D:
* more accurate polygon edges (still not perfect. heh)
* antialiasing (doesn't always work)
2017-08-28 18:37:07 +02:00
StapleButter
d656e6e7ff 3D: faster and more accurate interpolation 2017-08-17 23:34:37 +02:00
StapleButter
bc1385e905 3D: revise fog calculation to match hardware (emulate precision loss and overflow with big shifts) 2017-08-16 22:20:53 +02:00