Switch branches/tags
Nothing to show
Commits on Dec 28, 2015
  1. Use constant for max volume

    vasi committed Dec 28, 2015
  2. Enable audio volume in SDL

    vasi committed Dec 28, 2015
    This is useful for keeping the volume of SS/B2 separate from that of the host machine. For example, you can mute a game in SS, while still playing music on your host.
  3. Fix DiskType missing symbol

    vasi committed Jul 5, 2015
Commits on Mar 6, 2014
Commits on Aug 11, 2013
  1. Mac: Allow selecting bundles in the disk prefs

    vasi committed Apr 8, 2013
    Users should be able to select sparsebundles in the disk prefs, but should
    still be able to navigate inside .sheepvm bundles.
    See #25 (comment)
Commits on May 31, 2013
  1. FreeBSD amd64 fixups

    vasi committed May 31, 2013
    * Look for CPU named "amd64" as well as "x86_64"
    * Don't use /dev/ptmx on FreeBSD
    * On amd64 FreeBSD uses SIGSEGV, not SIGBUS
    * Use MAP_FIXED to force allocations within 32-bits, it's the only way
    * Need <sys/param.h> for SHMLBA
    * The old offsetof() fix is no longer needed
    * Preliminary work on instruction skipping
Commits on Apr 24, 2013
  1. SDL: Let driver_base be reused in a different video mode

    vasi committed Apr 24, 2013
    Split init() into one-time initialization, and adaptation to a new video mode.
  2. SDL: Move mouse movement to base

    vasi committed Apr 24, 2013
  3. SDL: Make VOSF update functions apply to driver_base

    vasi committed Apr 22, 2013
    They don't use anything special from fullscreen/windowed derived classes.
    Also, get rid of unneeded friend declarations.
  4. SDL: Move destruction into base

    vasi committed Apr 22, 2013
  5. SDL: Move cursor initialization to base

    vasi committed Apr 22, 2013
    Also decide in just one place whether to use hardware or software cursor.
  6. SDL: Move more initialization to base

    vasi committed Apr 22, 2013
    Including blitter, gray ramp, frame buffer initialization.
  7. SDL: Prepare to collapse fullscreen/window drivers

    vasi committed Apr 22, 2013
    We want to have just one base driver that can handle both fullscreen and
    windowed mode, so that we can easily switch between modes.
    Create a virtual init() method to do construction, so we can move common code
    from the derived classes into the base init().
  8. SDL: Remove unused method and ivars

    vasi committed Apr 7, 2013
    mouse_last_x, mouse_last_y and driver_window::mouse_moved() look like remnants
    of X11 video, they're never really used.
  9. SDL: Don't uselessly free the_host_buffer

    vasi committed Apr 22, 2013
    It always points to a member of an SDL_Surface, which is freed by SDL.
  10. SDL: Remove old hack, reduce flicker

    vasi committed Apr 15, 2013
    The old SDL_QuitSubsystem workaround is probably obsolete, and causes
    flicker on resolution changes.
Commits on Apr 22, 2013
  1. SDL: Make non-Mac fullscreen cursor visible

    vasi committed Apr 22, 2013
    Issue: #26
    On non-Mac platforms, driver_fullscreen constructor sets up software cursor,
    but switch_to_current_mode() ask for a hardware cursor, possibly due to a typo.
    Neither one ends up being drawn, so the cursor goes invisible.
    This change makes them agree to use a software cursor. We should eventually
    move to just one place deciding which cursor to use, so they don't have to be
    kept in sync.
Commits on Apr 20, 2013
  1. Mac: Fix mouse grabbing

    vasi committed Apr 7, 2013
    If mouse is grabbed on OS X, every time the mouse cursor icon changes the
    cursor is recentered. Workaround similar to Windows in video_set_cursor().
  2. Prefs: Fix buffer overrun

    vasi committed Apr 8, 2013
    Prevent intermittent crashing when prefs contains empty lines or lines with
    no spaces.
Commits on Apr 5, 2013
Commits on Mar 28, 2013
Commits on Mar 27, 2013
  1. Work even if TRUE is undefined

    vasi committed Mar 27, 2013
Commits on Mar 11, 2013