On Mon, Jun 21, 2010 at 7:37 AM, Safety0ff <safety0ff....@gmail.com> wrote:
> endian_* word           (defined in endian_hack.h, inline functions that
> swap using pointers, used ~511 times)

This will go away once we replace the current savegame format.

> I think we should rename endian_hack.h to wz_endian.h and turn it into
> the single header that provides all the declarations to deal with endian
> swapping (for network and other code.)
>
> What do you guys think?

I am not sure I see a benefit.

> Anyways, even if you disagree with doing the above, SDL_swap* should be
> removed in favor of the PHYSFS_swap* and hton* ntoh* ( for nettypes.c).

I'm ok with that.

  - Per

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to