← Back to team overview

widelands-dev team mailing list archive

Re: MAX_PLAYERS

 

Hello Tibor,

you asked:

> I wonder how difficult is to increase the number of players, I found "constant (macro?) "MAX_PLAYERS, is it enough to change it?


I think changing MAX_PLAYERS will break a _lot_ of things.

As this is used for BitFlags some assumptions about 
In-Memory-Structures will fail.

You may try but I would assume:

* compiling will fail
* if not you save games will be incompatible

—
Klaus Halfmann (aka Hasi50)



Follow ups

References