widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #08460
Re: MAX_PLAYERS
+ widelands-public which we want to use more again
I would grep for where that constant is used and just try to increase it. It might break savegame compatibility, but for quick testing I guess it should maybe probably sorta work….
> On 06.10.2016, at 17:10, Tibor Bamhor <tiborb95@xxxxxxxxx> wrote:
>
> Hi,
>
> I also assume that a lot of stuff may break. And I am not willing to invest a lot of time into this neither.
>
> Thanks anyway
>
> Tibor
>
> 2016-10-06 15:06 GMT+02:00 Klaus Halfmann <klaus.halfmann@xxxxxxxx <mailto:klaus.halfmann@xxxxxxxx>>:
> 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)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~widelands-dev
> Post to : widelands-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~widelands-dev
> More help : https://help.launchpad.net/ListHelp
Follow ups
References