You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|fd1cd2cf81||2 months ago|
|.github||9 months ago|
|src||2 months ago|
|.editorconfig||2 years ago|
|.gitignore||2 years ago|
|CMakeLists.txt||8 months ago|
|LICENSE.md||8 months ago|
|README.md||4 months ago|
A cross-platform implementation of the Macintosh Toolbox C API
Pomme is a partial, cross-platform implementation of the Macintosh Toolbox C API. It is designed to ease the porting of 90's/early 00's games written for MacOS 7-9 to modern operating systems. You can think of it as a cross-platform reimagining of Apple's own Carbon, albeit at a much reduced scope.
The goal isn't to achieve 100% source compatibility with old Mac C programs, but rather, to make it a bit easier to port them. I only intend to implement the bare minimum functionality required to keep a reasonable level of source code compatibility with the games I'm interested in porting.
Games ported with Pomme
Please see LICENSE.md
Files and resources:
- Access files on the host's filesystem with
- Read/write data forks.
- Access resources inside AppleDouble files (transparently presented as resource forks to application code).
- Load images from QuickDraw 2D
PICTresources and files.
- Manipulate ports.
- Basic draw calls: lines, rects, bitmap text, CopyBits.
- Load audio from AIFF & AIFF-C files and
- Supported audio codecs: raw PCM,
- Use SndChannels to output audio thanks to the built-in software mixer (requires SDL).
- Basic QD3D geometry structures and math routines.
- Load 3D model data from 3DMF files.
- Please note: Accurate source compatibility with QD3D is out of scope for Pomme. For a faithful implementation of QD3D, look at Quesa.
- Memory management routines.
- Limited playback of QuickTime
moovfiles (only Cinepak is supported).
- Byte-swapping routines inspired from Python's
structformat strings to convert big-endian structs to little-endian.
- Basic keyboard/mouse input via SDL.