mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
25 lines
423 B
C
25 lines
423 B
C
#pragma once
|
|
#ifndef __COMMON_H__
|
|
#define __COMMON_H__
|
|
|
|
#include <exec/types.h>
|
|
|
|
struct PrgOptions {
|
|
BOOL ntsc, how, speed, sky;
|
|
WORD fetchmode;
|
|
};
|
|
|
|
struct FetchInfo
|
|
{
|
|
WORD ddfstart;
|
|
WORD ddfstop;
|
|
WORD modulooffset;
|
|
WORD bitmapoffset;
|
|
WORD scrollpixels;
|
|
};
|
|
|
|
extern ULONG get_mode_id(BOOL option_how, BOOL option_ntsc);
|
|
extern BOOL get_arguments(struct PrgOptions *options, char *s);
|
|
|
|
#endif /* __COMMON_H__ */
|