mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Patch adding Wii support by tueidj, part 9: build.h sector/wall/spr/... limits
On the Wii, V7 (i.e. original) map limits are used and the maximum screen size is 1600x1200. git-svn-id: https://svn.eduke32.com/eduke32@2629 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dfa212aaf9
commit
410ffae3ab
1 changed files with 16 additions and 5 deletions
|
@ -24,10 +24,23 @@ extern "C" {
|
||||||
#define MAXWALLSV7 8192
|
#define MAXWALLSV7 8192
|
||||||
#define MAXSPRITESV7 4096
|
#define MAXSPRITESV7 4096
|
||||||
|
|
||||||
#define MAXSECTORS MAXSECTORSV8
|
#ifndef GEKKO
|
||||||
#define MAXWALLS MAXWALLSV8
|
# define MAXSECTORS MAXSECTORSV8
|
||||||
|
# define MAXWALLS MAXWALLSV8
|
||||||
|
# define MAXSPRITES MAXSPRITESV8
|
||||||
|
|
||||||
|
# define MAXXDIM 7680
|
||||||
|
# define MAXYDIM 3200
|
||||||
|
#else
|
||||||
|
# define MAXSECTORS MAXSECTORSV7
|
||||||
|
# define MAXWALLS MAXWALLSV7
|
||||||
|
# define MAXSPRITES MAXSPRITESV7
|
||||||
|
|
||||||
|
# define MAXXDIM 1600
|
||||||
|
# define MAXYDIM 1200
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAXWALLSB ((MAXWALLS>>2)+(MAXWALLS>>3))
|
#define MAXWALLSB ((MAXWALLS>>2)+(MAXWALLS>>3))
|
||||||
#define MAXSPRITES MAXSPRITESV8
|
|
||||||
|
|
||||||
// additional space beyond wall, in walltypes:
|
// additional space beyond wall, in walltypes:
|
||||||
#define M32_FIXME_WALLS 512
|
#define M32_FIXME_WALLS 512
|
||||||
|
@ -37,8 +50,6 @@ extern "C" {
|
||||||
#define MAXVOXELS 4096
|
#define MAXVOXELS 4096
|
||||||
#define MAXSTATUS 1024
|
#define MAXSTATUS 1024
|
||||||
#define MAXPLAYERS 16
|
#define MAXPLAYERS 16
|
||||||
#define MAXXDIM 7680
|
|
||||||
#define MAXYDIM 3200
|
|
||||||
#define MAXBASEPALS 8
|
#define MAXBASEPALS 8
|
||||||
#define MAXPALOOKUPS 256
|
#define MAXPALOOKUPS 256
|
||||||
#define MAXPSKYMULTIS 8
|
#define MAXPSKYMULTIS 8
|
||||||
|
|
Loading…
Reference in a new issue