mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
outfactored getting arguments into common module
This commit is contained in:
24
scrolling_tricks/common.h
Normal file
24
scrolling_tricks/common.h
Normal file
@ -0,0 +1,24 @@
|
||||
#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__ */
|
||||
Reference in New Issue
Block a user