Commit Graph

56 Commits

Author SHA1 Message Date
R. Belmont
a93ee65b41 Fix some non-Windows compiles (nw) 2012-07-26 21:23:51 +00:00
R. Belmont
351b3a9d8e SDL: some compile fixes for OS X and Windows (nw) 2012-07-26 13:32:29 +00:00
R. Belmont
beba639471 SDL: Use XInput to allow multiple lightguns on Linux/*BSD targets. [Markus Rathgeb, based on a patch by SpritesMods.com] 2012-07-25 01:32:48 +00:00
R. Belmont
994de882e9 SDL: Clean up GCC 4.7 test so it's the same path on all targets (nw) 2012-06-19 01:25:24 +00:00
Miodrag Milanovic
85cda51486 Make it compile on windows mingw 4.7.x (no whatsnew) 2012-06-18 16:06:11 +00:00
R. Belmont
72e6e33b4c SDL: Support newer Linux distros using GCC 4.7 [R. Belmont] 2012-06-15 02:23:19 +00:00
R. Belmont
144234d9f6 SDL: Preliminary Haiku OS support [PulkoMandy] 2012-05-28 18:15:02 +00:00
R. Belmont
f03200ab01 Don't optimize tms57002 on OS X PowerPC builds [Couriersud] 2012-05-08 01:26:33 +00:00
Miodrag Milanovic
5616c1e9d5 removed -static for sdl windows build (no whatsnew) 2012-05-04 06:18:42 +00:00
Miodrag Milanovic
708eb8bb6f Same change for sdl build on windows (no whatsnew) 2012-04-24 13:11:12 +00:00
Angelo Salese
ded30e907e Clean-ups and version bump 2012-04-22 14:10:44 +00:00
Miodrag Milanovic
986f1ef77d Sync with MESS (no whatsnew) 2012-04-11 14:48:01 +00:00
R. Belmont
4243eab5c4 SDL: fix build on non-OS X targets (nw) 2012-04-09 22:47:42 +00:00
Wilbert Pol
6711559e87 SDL: Got rid of some code duplication between the _unix and _macosx implementations for sdlptty and sdlmisc. (nw) 2012-04-09 19:55:43 +00:00
Angelo Salese
cf4b58b6f6 Clean-ups and version bump 2012-02-19 15:23:23 +00:00
Couriersud
5344166555 updated sdl os-core to compile against stock SDL-2.0 [couriersud].
- The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2.
- Added sdlinc.h to avoid having tons of #ifdef .. #include in the code.
- Scalemode is no longer a per-window setting
- Fixed a bug in YUV rendering.
- Use SDL_GetClipboard (SDL2.0)
- Updated README_SDL20.txt

Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
2012-02-12 20:59:24 +00:00
Miodrag Milanovic
f23a3ef001 Added GCC check in windows.mak and win32 part of sdl.mak and also did silence of gcc 4.6 in win32 specific video.c (no whatsnew) 2011-12-15 08:17:18 +00:00
Miodrag Milanovic
98c917e0a1 Fixed memory leaks in networking, used core functions for allocating memory, fix sdl win32 building with network enabled (no whatsnew) 2011-11-22 11:25:14 +00:00
R. Belmont
f5a4b7dc30 SDL updates [R. Belmont, Carl, cgwg]
- pcap network support for OS X and Windows SDL targets
- GLSL tweaks to better support the "CRT" shader
2011-11-18 22:16:21 +00:00
R. Belmont
fd0be74ab4 SDL: Add TAP/TUN networking capability and shell script for configuration [Carl] 2011-10-31 01:30:24 +00:00
R. Belmont
77e86084ab Fix autorelease pool warnings when running multithreaded on Mac OS X [Tim Lindner] 2011-07-18 22:37:20 +00:00
Aaron Giles
8d7c1cb8ad Link to DLL version of SDL since the static version is hard to come by. 2011-05-20 00:50:48 +00:00
R. Belmont
eba03ea4c4 Fixes for non-native SDL builds on OS X [Paulo Cabral] 2011-04-16 02:28:11 +00:00
Couriersud
9ad9840545 sdl-config flags are now separated into INCFLAGS and COMFLAGS in sdl.mak. This fixes "make depend". [Couriersud] 2011-03-26 22:53:01 +00:00
Couriersud
956e96048f Remove "makedep" stuff from sdl.mak now that the core supports it. Also split sdl-config output between INCPATH and CCOMFLAGS for linux targets. makedepend now works. [Couriersud] 2011-01-03 20:40:20 +00:00
Couriersud
8386bf94a5 Implemented "-watchdog" option for SDLMame. [Couriersud] 2011-01-02 19:12:08 +00:00
Aaron Giles
99a26bc331 Cleanups and version bump. 2011-01-01 00:59:47 +00:00
Couriersud
cc3820bc03 Update comment in sdl.mak 2010-12-29 23:22:14 +00:00
Couriersud
e2686259a0 Fix compile on linux when using SDL_INSTALL_ROOT. All linux builds
now actually honour up the include path provided by sdl-config.
2010-12-26 23:50:09 +00:00
R. Belmont
1d37415a4a Fixed BSD compile [ElBarto] 2010-12-06 14:39:18 +00:00
R. Belmont
0dd880a3cb SDL: add ptty (*IX/OS X) and sockets (all SDL builds) capability [Tim Lindner, R. Belmont] 2010-11-20 04:14:19 +00:00
R. Belmont
b2c5f44b25 SDL: Build fixes for Ubuntu, -uifont non-ASCII rendering fix [R. Belmont, Barry Rodewald] 2010-11-16 03:14:21 +00:00
R. Belmont
f75bcedd30 SDL: -uifont now can also look up system font families like Windows [R. Belmont] 2010-11-13 02:51:23 +00:00
R. Belmont
db0b32ddb0 SDL: Support -uifont for using arbitrary TrueType fonts on Linux/BSD builds.
This takes full pathname/filename to the font, and the name can have styles 
appended as in Windows: [b] for bold, [i] for italic, [s] for strikethrough, 
and [u] for underlined.  Fonts are rendered at a size of 120 points and scaled 
down by the core, which looks superb on high-res displays.  (Liberation Sans
that comes with most recent distros looks really good).

Warning: Linux/BSD builds now require SDL_ttf 2.x.  On Fedora the required 
package names are "SDL_ttf" and "SDL_ttf-devel".
2010-11-12 03:57:19 +00:00
Aaron Giles
7a4744d31d Cleanups and version bump. 2010-09-19 05:09:00 +00:00
R. Belmont
acc300e960 SDL: fix Linux and Mac builds for recent makefile changes (no whatsnew) 2010-09-16 13:40:33 +00:00
Couriersud
fbbf48d668 Workaround for gcc-4.3 reporting a false warning on solaris.
- Disable -Werror for this file only. I did not want to alter fine code only because complains about it.
2010-02-14 11:47:29 +00:00
Couriersud
f529fad8b3 Move functions from sdlclip.c to sdlos_*
- X11 clipboard code will now be compiled and will honor -DNO_X11
2010-02-12 21:21:42 +00:00
Miodrag Milanovic
0a6b13608d - Moved natural keyboard support from MESS to MAME
- Moved OSD file functions and clipboard access functions into OSD core
2010-02-12 15:40:11 +00:00
Couriersud
d128c47dee Fix DISTRO=gcc44-generic make shortcut to use gcc-4.4 properly (-V 4.4 does not work for linking) 2010-02-04 23:29:20 +00:00
Aaron Giles
fe3d7c4af4 Cleanups and version bump. 2010-01-28 08:03:44 +00:00
Couriersud
3a35df8d63 GTK Debugger work
- glade-2 can now be used again to edit the debug.glade file. 
- No more need to edit the files created by glade-2
- All "activate" handlers now pass the parent window pointer.
- malloc ==> osd_malloc to prevent mixed c++/c window allocations.
2010-01-22 22:16:27 +00:00
Couriersud
10bee5ce78 The return of the "misc"
- Added sdlmisc_<targetos>.c again. This was necessary since
  certain tools create stubs for e.g. osd_break_into_debugger.
  If we do not have this in a separate file, the link stage may
  break.
- Applied OS/2 patch [Credit: KO Myung-Hun]
- Cleaned up #includes. Removed stdlib.h were possible.
- More malloc to osd_malloc rename.
- SDL monitor modes are read now when they are needed. This is now consistent across platforms.
2010-01-21 22:54:49 +00:00
Couriersud
eb9ed61a68 OpenBSD support in makefile/sdl.mak
Fix XBSD detection of PTR64 (uses amd64)
Cosmetic change to sdlprefix.h
2010-01-20 01:18:35 +00:00
Couriersud
0328f34acb Autodetection of PTR64 can be inhibited now by specifying PTR64=0.
On mixed 32bit/64bit targets identifying themselves as 64bit this can be used to build a 32bit executable.
2010-01-19 22:09:45 +00:00
Couriersud
98b6824982 sdl.mak updates
- On targets supporting "-m64" and "-m32" use them.
- On unix ppc targets, add -Dpowerpc automatically
2010-01-19 21:58:26 +00:00
Couriersud
269e2cf4fc Removed stdlib.h from osdcomm.h.
- Added #include stdlib.h where now necessary
Fixed Solaris build
Fixed building unidasm for OSD=sdl on win32
2010-01-17 19:27:03 +00:00
Couriersud
f702582726 Added GTL_INSTLL_ROOT to optionally build win32 with the mame debugger. 2010-01-16 22:18:47 +00:00
Couriersud
ec71e879db It worked on OSX, broke on windows ... 2010-01-16 19:45:53 +00:00
Couriersud
ab8ac327eb sdl.mak rewrite
- TARGETOS=freebsd may now be given on make invocation
- modular approach, separate sections for opengl, x11, debugger
- most target specific settings parametrized.
2010-01-16 19:34:04 +00:00