Kelvin Sherlock
22e488df30
GCC's documentation states that __LP64__ is defined if sizeof(void *) == 8 and sizeof(int) == 4. Well, under mingw64 that doesn't seem to be true. And it causes lots of warnings.
...
Anyhow, as of c99, stdint.h defines a type specifically for casting pointers to integers. It also defines fixed size types so no need to guess or sniff compilers.
2019-02-18 12:38:15 -05:00
Kelvin Sherlock
a76d26a0ad
drop all keys when window no longer active (not jut loss of focus). Also drop all pending keys that haven't been sent to the ADB yet.
2019-02-07 23:09:53 -05:00
Dagen Brock
2cde38ba3c
Merge pull request #57 from ksherlock/option_return
...
remove warning about parse_cli_options not returning a value.
2019-01-30 11:13:14 -06:00
Dagen Brock
225dca264d
Merge pull request #56 from ksherlock/cmake-3
...
cmake support.
2019-01-30 11:12:26 -06:00
Kelvin Sherlock
5f2a5e4348
remove warning about parse_cli_options not returning a value.
2018-12-13 21:50:43 -05:00
Kelvin Sherlock
e37e50affe
cmake support.
...
cmake generates makefiles (or ninja file, xcode projects, etc) which are then built with make, ninja, xcode, etc.
usage:
make build # don't build in the source tree itself
cd build
cmake ../src/
then
make as usual.
It should work with OS X, Linux, and Win32 (tested on Windows with msys2 / mingw64, IIRC, using the win32 driver).
"make bundle" will run the OS X bundle utility to bundle up libraries.
2018-12-13 20:53:58 -05:00
Dagen Brock
df0833994a
Merge pull request #51 from digarok/v0.14
...
V0.14
2018-09-11 17:25:46 -05:00
Dagen Brock
5e009305f8
v0.14 release
2018-09-11 17:06:05 -05:00
Dagen Brock
fba7d6c89d
partially realized delta mouse handler (hidden in shift-F5 for now)
2018-09-07 09:29:46 -05:00
Dagen Brock
489f1310a6
Merge pull request #49 from digarok/fix_keymap_intl
...
use SDL keycode whenever possible
2018-08-31 10:30:59 -05:00
Dagen Brock
61d672f635
use SDL keycode whenever possible
...
- tested with US 101 key on US keyboard and it worked fine with this switch, but need users with international keyboards to test behavior on their end
2018-08-31 10:18:41 -05:00
Dagen Brock
e2150dd0d2
Merge pull request #47 from digarok/sdl_enhancements
...
add scaling options and fix speedups
2018-08-30 10:14:44 -05:00
Dagen Brock
7df808cf4a
add scaling options and fix speedups
2018-08-30 09:55:10 -05:00
Dagen Brock
6ebebfa2e8
Merge pull request #46 from digarok/menu_sorting_fixes
...
Menu sorting fixes
2018-08-28 11:40:44 -05:00
Dagen Brock
710e2cd067
always alpha sort and cleaner hotkeys in file menu
2018-08-28 10:51:54 -05:00
Dagen Brock
6ec560ca49
only grab mouse in fullscreen for now
2018-08-27 12:16:57 -05:00
Dagen Brock
48bad8a432
cleaner shutdown / mouse code for SDL
2018-08-27 11:21:59 -05:00
Dagen Brock
712c0792bf
Merge pull request #45 from digarok/sdl2_performance_profile
...
fix sdl frame rendering vsync method to simply present the buffer once per frame
2018-08-26 14:23:12 -05:00
Dagen Brock
ff39749feb
fix sdl frame rendering vsync method to simply present the buffer once per frame
2018-08-26 13:59:39 -05:00
Dagen Brock
17f22c3393
fix sdl2 keymap on non-apple systems and add rpi doc
2018-08-24 23:20:47 -05:00
Dagen Brock
12ec7c4fa9
proper SDL shutdown - fixes exit on RPi HW accel version
2018-08-24 14:18:44 -05:00
Dagen Brock
632d824a8c
Merge pull request #43 from digarok/sdl2_performance_improvement
...
add vsync flag for great success
2018-08-24 13:13:06 -05:00
Dagen Brock
ed817c15fe
add vsync flag for great success
2018-08-24 12:45:51 -05:00
Dagen Brock
931d2cb626
Merge pull request #42 from digarok/win_build_fixes
...
resolve builds on windows with new fst objects
2018-08-24 12:00:31 -05:00
Dagen Brock
9b708a2ad8
resolve builds on windows with new fst objects
2018-08-24 11:40:25 -05:00
Dagen Brock
16b131d1f9
Merge pull request #41 from ksherlock/prodos_mli
...
Prodos mli (win32 edition)
2018-08-24 05:28:37 -05:00
Dagen Brock
02f8357935
Merge pull request #16 from sicklittlemonkey/master
...
Fix F4 can exit app after Alt-Tab
2018-08-24 05:14:29 -05:00
Dagen Brock
26ac5bc51a
Merge branch 'master' into master
2018-08-24 05:12:46 -05:00
Kelvin Sherlock
fcf8dea873
host mli - convert cygwin paths to Win32 paths before using with Win32 API.
2018-08-23 20:47:09 -04:00
Kelvin Sherlock
2b38b6bf8d
win32 prefix fix.
2018-08-23 15:27:23 -04:00
Dagen Brock
b9cc7ad25c
Merge pull request #40 from digarok/rpi_sdl2
...
pi build with sdl2
2018-08-23 13:50:49 -05:00
Dagen Brock
27a0d34dff
pi build with sdl2
2018-08-23 18:35:41 +00:00
Kelvin Sherlock
7b66b3a070
bug fixes and more cleanup
2018-08-23 10:56:09 -04:00
Kelvin Sherlock
192cfc724b
win32 host mli support
...
this also moves a lot of common host_fst / host_mli / win_host_fst into host_common / unix_host_common / win32_host_common
Currently untested.
2018-08-23 00:38:53 -04:00
Dagen Brock
5b87cd5c37
Merge pull request #39 from digarok/deb_package
...
Deb package
2018-08-22 15:16:27 -05:00
Dagen Brock
64dbfac188
fix artifact name
2018-08-22 14:53:17 -05:00
Dagen Brock
5d91af6a44
add a simple deb packaging script to ci
2018-08-22 14:23:11 -05:00
Dagen Brock
4b7b3efc46
Merge pull request #38 from digarok/win32_deploy
...
Win32 deploy
2018-08-22 14:18:27 -05:00
ksherlock
81c4215595
Merge pull request #1 from digarok/win32_hostmli_stub
...
Win32 hostmli stub
2018-08-22 13:22:50 -04:00
Dagen Brock
7ede7d092c
fix artifact win32 zip
2018-08-22 11:46:51 -05:00
Dagen Brock
2d5021b5cd
better pattern for branch builds
2018-08-22 10:55:37 -05:00
Dagen Brock
2628a00641
add package/deploy steps to classic win32 build
2018-08-22 10:52:12 -05:00
Dagen Brock
318eb02097
Merge pull request #37 from digarok/win32_hostmli_stub
...
add unimplemented functions to allow win32 builds to work
2018-08-22 10:34:25 -05:00
Dagen Brock
45da5d239d
add unimplemented functions to allow win32 builds to work
2018-08-22 10:07:25 -05:00
Dagen Brock
40b74c32a2
Merge pull request #36 from ksherlock/prodos_mli
...
HOST MLI support
2018-08-21 16:36:11 -05:00
Kelvin Sherlock
70578779e4
mli init - was reading unit as 16-bit quantity instead of 8-bit quantity.
2018-08-20 21:34:59 -04:00
Kelvin Sherlock
30491a39a0
host fst - return a better error for ChangePathGS when destination file exists and DestroyGS when file is non-empty directory
2018-08-20 21:28:09 -04:00
Kelvin Sherlock
67a8d7a0c6
sunos xattr defines
2018-08-20 20:58:48 -04:00
Kelvin Sherlock
8be3dad543
uncrustify.
2018-08-20 20:57:45 -04:00
Kelvin Sherlock
a5e55f826c
update makefile, remove dead code
2018-08-20 20:55:19 -04:00