Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] (PR#18246) [Patch] move_type to unit_class.move_params
Home

[Freeciv-Dev] (PR#18246) [Patch] move_type to unit_class.move_params

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#18246) [Patch] move_type to unit_class.move_params
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Sun, 2 Jul 2006 15:02:10 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18246 >


  Move move_type from unit_type to unit_class.move_params. This gets us 
rid of hack determining unit_type.move_type from unit_type.class which 
makes further unit_class development difficult.

Is name for function
enum unit_move_type get_unit_move_type(const struct unit_type *punittype);
ok? unit_move_type() would seem to be more in line with other similar 
functions, but that is already name of the enum.



  - ML

Attachment: movetype2class.diff.gz
Description: application/gzip


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#18246) [Patch] move_type to unit_class.move_params, Marko Lindqvist <=