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

[Freeciv-Dev] [Patch] move_type to unit_class.move_params

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bugs@xxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [Patch] move_type to unit_class.move_params
From: Marko Lindqvist <Marko.Lindqvist@xxxxxxxxxxx>
Date: Mon, 03 Jul 2006 01:02:21 +0300


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] [Patch] move_type to unit_class.move_params, Marko Lindqvist <=