Files
gronod 1eb2d9a1bf macOS port: buildable and runnable on macOS 12+ (x86_64)
Replaces X11/MIT-SHM video and Linux OSS audio with SDL2, and plays
MIDI music through AudioToolbox MusicSequence/MusicPlayer (system DLS
synth, no soundfont needed). MUS lumps are converted by a new mus2mid;
already-MIDI lumps pass through.

Also includes the 64-bit portability fixes needed to run on modern
clang/LP64: pointer-size casts and struct layouts in the renderer,
savegame code, zone allocator and config defaults, plus removal of
obsolete headers and unsequenced-modification UB.
2026-09-18 17:56:06 +01:00

56 lines
1.2 KiB
C++

// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
// DESCRIPTION:
// Nil.
//
//-----------------------------------------------------------------------------
#ifndef __M_BBOX__
#define __M_BBOX__
#include "doomtype.h"
#include "m_fixed.h"
// Bounding box coordinate storage.
enum
{
BOXTOP,
BOXBOTTOM,
BOXLEFT,
BOXRIGHT
}; // bbox coordinates
// Bounding box functions.
void M_ClearBox (fixed_t* box);
void
M_AddToBox
( fixed_t* box,
fixed_t x,
fixed_t y );
#endif
//-----------------------------------------------------------------------------
//
// $Log:$
//
//-----------------------------------------------------------------------------