The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ters on February 08, 2012, 07:38:56 PM

Title: Is COLOUR_DEPTH=8 still supported
Post by: Ters on February 08, 2012, 07:38:56 PM
I just tried compiling Simutrans with COLOUR_DEPTH=8 just to see how it looked and behaved, but got a bunch of errors during linking. It appears that the functions in simgraph8.cc and simgraph16.cc differ in which parameters they accept.
Title: Re: Is COLOUR_DEPTH=8 still supported
Post by: Fabio on February 08, 2012, 07:48:00 PM
Is colour depth still needed? It could be dropped completely.
Title: Re: Is COLOUR_DEPTH=8 still supported
Post by: prissi on February 08, 2012, 09:44:16 PM
This is exactly discussed internally. Originally it was sought to keep it for mobile devices; but those have also 32 bit color depth by today ...
Title: Re: Is COLOUR_DEPTH=8 still supported
Post by: Spike on February 08, 2012, 09:49:32 PM
I also think I found functions which are exported from simgraph.h but are not implemented in simgraph8.cc
I haven't tested though if the compile really fails, but I'd expect so ...
Title: Re: Is COLOUR_DEPTH=8 still supported
Post by: Ters on February 10, 2012, 05:44:16 PM
I guess the answer is "no".
Title: Re: Is COLOUR_DEPTH=8 still supported
Post by: Dwachs on February 10, 2012, 07:55:46 PM
yes.