1
0
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:
Wei-ju Wu
2016-06-14 20:25:54 -07:00
parent ddeeb941cb
commit c18ccf30b7
4 changed files with 189 additions and 208 deletions

24
scrolling_tricks/common.h Normal file
View 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__ */