Commit Graph

208 Commits

Author SHA1 Message Date
Miodrag Milanovic
39c9c8c5dc Remove os dependant output handling (nw) 2016-04-09 15:19:43 +02:00
therealmogminer@gmail.com
4f66357f9e Pull a bunch of screen chain code from drawbgfx to chainmanager where it belongs, nw 2016-04-06 17:02:31 +02:00
Miodrag Milanovic
06415edd9e Added some more files to bgfx build and initialize imgui (nw) 2016-04-05 15:50:08 +02:00
Brad Hughes
3dd8afd6c0 Hybrid DirectInput/XInput module 2016-04-04 22:01:00 -04:00
Miodrag Milanovic
bad2e6199e Not needed anymore after move to C++11 features (nw) 2016-04-03 19:47:44 +02:00
Miodrag Milanovic
cea094a3a3 moved aueffectutil to tools (nw) 2016-04-03 19:06:06 +02:00
Miodrag Milanovic
5e80a732aa move clipboard handling on proper place (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
d8aa889edf merge main.cpp for windows platform (unicode) (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
796f890450 removed testkeys (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
9b3788035c scrclean on lua scripts (nw) 2016-03-29 08:49:47 +02:00
Jeffrey Clark
c3397ae4a9 fix include dirs (nw) 2016-03-29 00:45:53 -07:00
Miodrag Milanovic
158c90cf11 Initial work to make MAME work on Android [Miodrag Milanovic] 2016-03-27 17:35:23 +02:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
therealmogminer@gmail.com
825d575195 Fix lots of issues with bgfx 2016-03-21 03:43:02 +01:00
Brad Hughes
9328fa9028 Fix VS Build issue for WRL ComPtr 2016-03-19 21:43:27 -04:00
therealmogminer@gmail.com
1226b243a2 Make JSON error checking a lot more verbose 2016-03-19 05:44:38 +01:00
therealmogminer@gmail.com
b212e5dc2e Add most of the rest of the D3D HLSL chain, nw 2016-03-15 05:17:38 +01:00
Vas Crabb
fc87913612 Fix SDL Windows build 2016-03-14 19:32:17 +11:00
Vas Crabb
42fbb9c396 Make osd_file a polymorphic class that's held with smart pointers
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module

7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
Miodrag Milanovic
5fc2774703 Clang 3.8.0 supports -municode (nw) 2016-03-14 07:55:17 +01:00
therealmogminer@gmail.com
cd8f796df6 Add bgfx command line options, major shakeup of organization, nw 2016-03-13 15:51:19 +01:00
therealmogminer@gmail.com
ad1e6ef899 Add dynamic skipping of shader chain passes, nw 2016-03-13 15:51:17 +01:00
therealmogminer@gmail.com
3172371fcd More work on bgfx data-driven shaders, nw 2016-03-13 15:51:15 +01:00
Miodrag Milanovic
de04399afa Fixed osdmini building for android and pnacl (nw) 2016-03-08 15:46:20 +01:00
Brad Hughes
854fe5592f Fix Visual Studio build 2016-03-05 16:08:02 -05:00
Brad Hughes
88412da862 Make XAudio2 available in all Windows OSD builds, plus use 2.9 if available, plus code cleanup. 2016-03-05 15:02:52 -05:00
Miodrag Milanovic
626a13ae1a Fixing issue compiling on GCC 4.9 till 5.1 (nw) 2016-03-05 14:12:51 +01:00
Miodrag Milanovic
298ce35d64 Added missing xaudio2 header from WINE that is free to use (nw) 2016-03-05 08:59:39 +01:00
Brad Hughes
ad6aaa81a9 link ole32 on Windows. Needed for CoInitializeEx() 2016-03-02 16:23:08 -05:00
Brad Hughes
8803de248e Add DirectWrite font support module 2016-03-02 14:13:53 -05:00
Miodrag Milanovic
3baa2e6e81 update for osdmini (nw) 2016-03-01 21:17:34 +01:00
Miodrag Milanovic
d9510ed04d Used std::thread and std::condition_variable (nw) 2016-03-01 20:52:56 +01:00
Brad Hughes
630edadf9c Dynamically load xinput 2016-03-01 11:08:05 -05:00
Brad Hughes
5cc9973a0a Add XInput support for Windows OSD 2016-02-29 21:48:14 -05:00
Miodrag Milanovic
4224b67779 cleanup (nw) 2016-02-29 08:52:04 +01:00
Brad Hughes
f68ad66131 Merge input modules work. 2016-02-28 14:56:54 -05:00
Brad Hughes
7dfb578559 Refactor OSD input into modules 2016-02-28 14:25:10 -05:00
Miodrag Milanovic
1adc64573f compiles but crash on OSX with bundled one (nw) 2016-02-28 15:07:43 +01:00
Miodrag Milanovic
adfae5ffe5 make possible to select if bundled SDL2 is used, made mingw and vs compile so far (nw) 2016-02-27 18:48:03 +01:00
Miodrag Milanovic
ea6b854844 Made Visual Studio use by default bundled SDL2 (nw) 2016-02-27 16:53:49 +01:00
therealmogminer@gmail.com
64135e73f9 Cleaned up sliders a bit in d3dhlsl, nw 2016-02-27 16:11:01 +01:00
Miodrag Milanovic
4727b0d97f OS/2 can not support SDL2 which is needed for MAME to run (nw) 2016-02-26 13:20:43 +01:00
Miodrag Milanovic
5132d31224 Fix compile for Android(nw) 2016-02-26 11:59:17 +01:00
Miodrag Milanovic
cce0696a5f Made OSD=sdl build compile out of box in Visual Studio (nw) 2016-02-22 14:23:15 +01:00
therealmogminer@gmail.com
c68d4538a7 More JSON reader plumbing, nw 2016-02-21 03:03:25 +01:00
therealmogminer@gmail.com
09f03905fd More reshuffling, nw 2016-02-21 03:03:24 +01:00
therealmogminer@gmail.com
9a47a870df First take on render API reorg, nw 2016-02-21 03:03:23 +01:00
Miodrag Milanovic
3cff262029 added rapidjson in include dirs (nw) 2016-02-17 14:13:49 +01:00
dankan1890
97f515d8c4 removed old entries. nw 2016-02-17 11:26:40 +01:00
Justin Kerk
11f82be540 Fix Emscripten build (nw) 2016-02-16 20:16:11 +00:00
Miodrag Milanovic
38e054c765 placed back OPENGL check since GL is not same as GLES (nw) 2016-02-16 18:00:19 +01:00
Miodrag Milanovic
9eb2734495 BGFX mandatory requirement (nw) 2016-02-16 17:35:27 +01:00
Miodrag Milanovic
e1ace73626 opengl as requirement (nw) 2016-02-16 17:21:32 +01:00
Miodrag Milanovic
40e0a1bcb7 Remove SDL 1.2 support (nw) 2016-02-16 16:35:03 +01:00
Miodrag Milanovic
22e6c350ed Enabled BGFX support for SteamLink 2016-02-16 11:36:13 +01:00
Jeffrey Clark
726d141193 fix windows bgfx library link in sdl builds (nw) 2016-02-15 12:12:17 -06:00
Jeffrey Clark
591d1202ac fix cross compile windows targetextension (nw) 2016-02-15 12:10:36 -06:00
Jeffrey Clark
3570d4f0eb check STRIP_SYMBOLS in strip function and add strip support for osx (nw) 2016-02-15 12:09:48 -06:00
Jeffrey Clark
36df7413dc add TOOLCHAIN make flag for explicit toolchain prefix cross compiling (nw) 2016-02-15 12:09:35 -06:00
Jeffrey Clark
4e7f9e86e8 Refactor MACOSX_USE_LIBSDL to USE_LIBSDL for windows and linux static library support (nw) 2016-02-15 12:09:26 -06:00
therealmogminer@gmail.com
b0a7bcd346 Significant speed improvements to the BGFX renderer. [MooglyGuy] 2016-02-15 17:57:28 +01:00
Miodrag Milanovic
b7def3d28c fix for osx and bsd (nw) 2016-02-09 15:13:32 +01:00
Miodrag Milanovic
42622cfe8e replace osd_lock with std::mutex [Miodrag Milanovic] 2016-01-30 20:43:50 +01:00
Stuart Carnie
048fd105db osdmini: fixes build issues 2016-01-29 22:44:18 -07:00
Brad Hughes
2f36228306 XAudio2 support 2016-01-20 23:16:18 -05:00
Miodrag Milanovic
50a72771ff Fixed QT5 linking (nw) 2016-01-09 20:39:09 +01:00
Miodrag Milanovic
6e47d71b83 It is affecting clang 3.6+ 2016-01-08 14:08:49 +01:00
Miodrag Milanovic
b3a224378d Fix compile on clang 3.7+ on linux (nw) 2016-01-08 13:53:57 +01:00
Cesare Falco
2db577c34e Get .ini file default path makefile variable back. 2016-01-05 12:01:50 +01:00
Vas Crabb
2ec885b8b2 don't link metal pre El Capitan 2016-01-05 12:27:03 +11:00
Miodrag Milanovic
433676b7a1 Fixed OSX compile 2016-01-04 19:15:32 +01:00
Miodrag Milanovic
75e80ec4f6 Fix QT5 build on linux by adding -fPIC 2015-12-27 13:47:54 +01:00
Olivier Galibert
9d231a83ad qt5 debugger port [O. Galibert] 2015-12-27 12:58:00 +01:00
Miodrag Milanovic
e756a66b14 qtdebugger as separate lib (nw) 2015-12-26 15:56:13 +01:00
Miodrag Milanovic
46471ac080 Can't do override checks due to QT headers (nw) 2015-12-07 06:57:05 +01:00
Miodrag Milanovic
6a765a95ec Added addprojectflags function and added -Wsuggest-override for all that are not 3rdparty projects.
It is place where all additional checks we should put
2015-12-06 17:07:50 +01:00
Justin Kerk
078d8e099a Emscripten build fixes (nw) 2015-11-21 01:40:59 -08:00
Scott Stone
31cca9ea63 Added info header at the top of each .lua file (nw) 2015-11-14 12:51:21 -05:00
Miodrag Milanovic
d0a4ae59ad added more h files missing in lua scripts (nw) 2015-11-12 13:33:00 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
5deec43cbc update build scripts for rename c - > cpp (nw) 2015-11-08 13:26:29 +01:00
Miodrag Milanovic
01a8a6a208 fix sdl build fix for windows (nw) 2015-10-28 16:02:38 +01:00
Miodrag Milanovic
ee7ff77255 update build scripts and code change in order to fix compile (nw) 2015-09-13 09:20:24 +02:00
Miodrag Milanovic
a4ea92de24 Update scripts for compile with latest BGFX (nw) 2015-09-12 11:06:14 +02:00
Vas Crabb
f500420346 OS/2 patch for 0.164 [KO Myung-Hun] 2015-08-25 13:02:01 +10:00
Olivier Galibert
9485ca9d43 Revert "debugqt: Port to Qt5 [O. Galibert]"
Experience shows it's too early for that.  I'll keep that in a corner
and we'll see again later.
2015-08-01 20:43:47 +02:00
Miodrag Milanovic
fa32ced4ce Fixed VS build (nw) 2015-08-01 10:07:05 +02:00
Olivier Galibert
a83ad4d11f debugqt: Port to Qt5 [O. Galibert] 2015-07-29 11:19:43 +02:00
Cowering
9d0e2427a4 hmm.. new 5.2 mingw seems to need this to pickup sprintf for lto (NW) 2015-07-23 10:46:11 -05:00
Cesare Falco
6cd8271575 Added new SDL_INI_PATH flag 2015-06-06 16:32:04 +02:00
Olivier Galibert
511762fa2d Allow compiling with shared libraries [O. Galibert]
Put SHLIB=1 in the main makefile, or on the command line.

The idea is to get a *way* faster link with symbols.  It works at
least on linux, with one annoying caveat: you have to be in the
build/projects/sdl/mame/gmake-linux directory to start mame
afterwards.  We're going to move some things around to be able to use
LD_LIBRARY_PATH or have it start as-is from the root.
2015-05-31 13:25:17 +02:00
Miodrag Milanovic
5ba57c6cde propagate _subtarget in maintargetosdoptions call (nw) 2015-05-21 08:37:59 +02:00
Miodrag Milanovic
ca37d40f69 Removed comments and added generic license for whole team on top (nw) 2015-05-09 16:05:30 +02:00
Parry
05f71a27f9 Drop NO_SDL_GLEXT define on OSX 2015-04-30 14:10:59 +08:00
Miodrag Milanovic
3060bb0637 fix for few more executable files (nw) 2015-04-16 15:26:26 +02:00
Miodrag Milanovic
a50dec8b3c extract libs and liboptions from pkg-config, prepare for future work (nw) 2015-04-16 12:31:53 +02:00
Miodrag Milanovic
af80289b76 fix typo (nw) 2015-04-13 19:00:45 +02:00
Miodrag Milanovic
f6fbdaa2e8 Added QT_HOME to support custom QT installations (nw) 2015-04-13 18:51:07 +02:00
Miodrag Milanovic
cc35d05ec0 added SEPARATE_BIN option to put executable files in bin folder and not in main (useful for continuous integration )(nw) 2015-04-08 08:52:02 +02:00
Vas Crabb
caf4face0d Convert CoreAudio output to use AUGraph in preparation for effects 2015-04-07 21:38:43 +10:00