[Scummvm-devel] ScummVM 1.0.0: Release status 2009-08-11 -- Full feature, freeze

Johannes Schickel lordhoto at scummvm.org
Sun Aug 16 04:21:29 CEST 2009


Neil Millstone wrote:
>
> ...one more thing before anyone comments.
>
> I of course didn't mean to use the type 's16' which is only available 
> on the DS, I should have used 'signed short' in the struct definition 
> above.

You can just use int16 instead of "signed short", that shows the value 
range more easily than "signed short". And of course "short" should be 
signed by default, so the "signed" can be left out. The only integer 
type which can be unsigned by default is "char".

// Johannes




More information about the Scummvm-devel mailing list