mirror of
https://github.com/weiju/amiga-stuff
synced 2026-10-13 02:38:02 +00:00
integrated the xlimited source file
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#pragma once
|
||||
#ifndef __GLOBAL_DEFS_H__
|
||||
#define __GLOBAL_DEFS_H__
|
||||
|
||||
#define ARG_TEMPLATE "SPEED/S,NTSC/S,HOW/S,SKY/S,FMODE/N/K"
|
||||
#define ARG_SPEED 0
|
||||
#define ARG_NTSC 1
|
||||
#define ARG_HOW 2
|
||||
#define ARG_SKY 3
|
||||
#define ARG_FMODE 4
|
||||
#define NUM_ARGS 5
|
||||
|
||||
#define MAPNAME "maps/large.raw"
|
||||
#define BLOCKSNAME "blocks/demoblocks.raw"
|
||||
|
||||
#define SCREENWIDTH 320
|
||||
#define SCREENHEIGHT 256
|
||||
#define EXTRAWIDTH 32
|
||||
#define SCREENBYTESPERROW (SCREENWIDTH / 8)
|
||||
|
||||
#define BITMAPHEIGHT SCREENHEIGHT
|
||||
|
||||
#define BLOCKSWIDTH 320
|
||||
#define BLOCKSHEIGHT 256
|
||||
#define BLOCKSDEPTH 4
|
||||
|
||||
#define BLOCKSCOLORS (1L << BLOCKSDEPTH)
|
||||
|
||||
#define BLOCKWIDTH 16
|
||||
#define BLOCKHEIGHT 16
|
||||
#define BLOCKSBYTESPERROW (BLOCKSWIDTH / 8)
|
||||
#define BLOCKSPERROW (BLOCKSWIDTH / BLOCKWIDTH)
|
||||
|
||||
#define NUMSTEPS BLOCKWIDTH
|
||||
|
||||
#define DIWSTART 0x2981
|
||||
#define DIWSTOP 0x29C1
|
||||
|
||||
#define PALSIZE (BLOCKSCOLORS * 2)
|
||||
|
||||
#endif /* __GLOBAL_DEFS_H__ */
|
||||
Reference in New Issue
Block a user