Commit Graph

345 Commits

Author SHA1 Message Date
Michaël Banaan Ananas
6f5c23de2b mt bug 2283 fix 2011-01-04 19:42:50 +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
R. Belmont
a8cc3824f1 Fix Mac compile error (no whatsnew) 2011-01-02 22:04:03 +00:00
Couriersud
5268d48065 "Copy-and-Paste" the "-bench" option from win32 to sdl. [Couriersud] 2011-01-02 21:19:32 +00:00
Couriersud
e7b559190f Only enable watchdog for sdlmame if "-str" set and smaller than 300 seconds. No whatsnew. 2011-01-02 21:02:59 +00:00
Couriersud
8386bf94a5 Implemented "-watchdog" option for SDLMame. [Couriersud] 2011-01-02 19:12:08 +00:00
Couriersud
9f300a3977 osd/sdl again compiles against latest SDL 1.3 svn. [Couriersud] 2011-01-02 15:48:43 +00:00
Aaron Giles
237d8ddce9 Argh, stupid .m files. 2011-01-01 01:18:14 +00:00
Aaron Giles
99a26bc331 Cleanups and version bump. 2011-01-01 00:59:47 +00:00
Aaron Giles
3b41606ca0 running_device -> device_t
They both already existed. No sense in having two names for the
same object type.
2010-12-31 21:42:55 +00:00
Couriersud
cc3820bc03 Update comment in sdl.mak 2010-12-29 23:22:14 +00:00
Couriersud
fb32b80591 Fixed *BSD compilation for SDLMAME. [ElBarto] 2010-12-29 18:44:37 +00:00
Couriersud
8bc7fc5f76 Fix most-likely-to-fail SDL_TTF version check. Added a warning if strikethrough is specified but not supported. [Couriersud] 2010-12-28 23:31:12 +00:00
Couriersud
96ce772581 sdlmame now also looks for fonts in "-fontpath". In addition, moved font config stuff into function search_font_config. This is in preparation to add ttf support to windows sdlmame build. [couriersud] 2010-12-28 23:01:38 +00:00
Couriersud
7c15e3019f Fixed MT4120 - "-now" on windows build crashes [Couriersud] 2010-12-28 22:06:02 +00:00
Couriersud
fe632b74c2 Some fixes to keep sdlmame aligned to SDL1.3 development. No whatsnew. 2010-12-27 00:07:35 +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
b4cc7cc7c1 SDL: Clear and flip 3 times on resolution changes instead of twice, required by some OpenGL drivers [Chris Kennedy] 2010-12-17 14:34:56 +00:00
Aaron Giles
6bfc3413e4 Cleanups and version bump. 2010-12-08 07:01:03 +00:00
R. Belmont
1d37415a4a Fixed BSD compile [ElBarto] 2010-12-06 14:39:18 +00:00
Miodrag Milanovic
135a1a9e08 Empty implementation for WIN32 sdlsocket to enable compile (no whatsnew) 2010-12-04 13:28:17 +00:00
Aaron Giles
57ef3a5ed6 Split the screen device into a separate module.
Converted global video routines into a video_manager.
Moved video manager initialization earlier in startup.
2010-12-02 17:26:38 +00:00
R. Belmont
ff11583e4e Same F4 fix for Mac OS X debugger (no whatsnew) 2010-11-29 16:35:11 +00:00
Aaron Giles
4a032ab057 Fix F4 shortcut so it explicitly labels the address as a number
by preceding it with "0x". This allows F4 to work properly, for
example, on the 68000 stepping to address a6, which also happens
to be a register name.
2010-11-29 16:23:20 +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
b7fe2d497c SDL: Mac compile warning fix [Wilbert Pol] 2010-11-16 03:16:12 +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
64141e7c07 SDL: OS X support for -uifont [Tim Lindner] 2010-11-15 17:34:03 +00:00
R. Belmont
fb70e23067 SDL: Fix OS X and Windows builds (no whatsnew) 2010-11-13 03:50:33 +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
92b3dd111f Cleanup & version bump. 2010-11-08 09:08:55 +00:00
Scott Stone
7f4071e1f1 Incorporate MESS change into MAME core. 2010-11-06 17:24:58 +00:00
Aaron Giles
a2ce61ac6c Converted the expression engine to C++, did the usual cleanup. 2010-11-01 07:48:02 +00:00
Wilbert Pol
fd5c78edff Fix OSX compile. 2010-10-28 20:43:52 +00:00
Aaron Giles
59559fe282 Added support for OSD-generated fonts. The OSD is queried first to see
if it owns a given font (based on the name), and if it does, it is
responsible for generating bitmaps on the fly as characters are requested.

Added new option -uifont to specify the UI font. It can be set to a filename,
in which case a BDF font will be loaded. It can also be set to a font name
(assuming the OSD support is present), in which case the OSD font by that
name is used. The default value is 'default' which can be used by the OSD
to substitute a default font or by the OSD, which will default to ui.bdf
as before. In all cases, it falls back to the built-in font by default if
none of the previous options works.

On Windows, the OSD will default to Tahoma as the font name. Also on
Windows, font names can be specified with [b] to indicate bold or [i] to
indicate italic.
2010-10-24 00:16:54 +00:00
Andrew Gardner
216a806fdb [SDL Debugger] Removed an unnecessary assert and brought focus back to
the main debugger window on startup. [Andrew Gardner]
2010-10-23 06:41:57 +00:00
Andrew Gardner
df645b4a72 Fix Linux SDL build. 2010-10-23 06:14:17 +00:00
Aaron Giles
f661970a4a Make osdmini build again. 2010-10-21 16:14:46 +00:00
Aaron Giles
e4beed95a6 Create new class osd_interface to house OSD callbacks. Added new
module osdepend.c with default empty implementations. Changed
mame_execute() and cli_execute() to accept a reference to an
osd_interface which is provided by the caller.

Updated SDL and Windows OSD to create an osd_interface-derived
class and moved their OSD callbacks to be members.
2010-10-21 15:59:44 +00:00
Scott Stone
f3be589604 Import from MESS which fixes throttle mapping for Windows (non-SDL builds) (no whatsnew) 2010-10-21 14:52:42 +00:00
Aaron Giles
3ae00656d4 Cleanups and version bump. 2010-10-21 06:01:17 +00:00
Aaron Giles
9c553510dd For MSVC, explicitly include assert.h so that we can override the MSVC
version of assert(), which gets implicitly included later.
2010-10-19 14:30:14 +00:00
Aaron Giles
ec93220f95 03937: Using CTRL-C to end MAME no longer works reliably
Added explicit control handler for the console. Ctrl+C/Ctrl+Break now
explicitly terminate the process forcefully, rather than unwinding
through the system in an unexpected state. Other console events 
(exit, shutdown, logoff) request a graceful exit.
2010-10-19 14:15:46 +00:00
Aaron Giles
d8edbd14f2 Convert rendlay objects into C++, reduce the number of unused textures
allocated.

Fix texture leak in crsshair.c.
2010-10-18 01:51:58 +00:00
Aaron Giles
c30bcb6948 Fix crash when specifying -effect.
Moved -effect implementation out of OSD code and into core since
the implementations were identical across Windows/SDL and implemented
in the core itself.
2010-10-16 00:55:11 +00:00
smf-
3c6c94c8a2 fixed 64bit compiling with visual studio 2010 2010-10-14 19:29:13 +00:00
Wilbert Pol
636e86e8cc OSX compile fix. 2010-10-14 18:50:34 +00:00
Aaron Giles
3e621b169b Cleanups and version bump. 2010-10-14 07:04:16 +00:00
Aaron Giles
d9e92c7896 Slightly cleaner fix for SDL. 2010-10-13 13:43:35 +00:00