[Freeciv-Dev] Re: (PR#2566) PATCH: clean up handle_upgrade_unittype_requ
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Dec 19, 2002 at 10:58:37AM -0800, Jason Short via RT wrote:
>
> [guest - Thu Dec 19 09:41:16 2002]:
>
> > OK. Here is a patch with that 'const' qualifier removed.
>
> Upon further review, I don't think it's appropriate to pass the unittype
> directly. This function should take the packet struct, just like all
> the other handle_xxx functions do. In general, this is because if the
> packet changes more data will be needed by the function.
I disagree. Especial in the light of the comming direct send/receive
as implmented in the delta patches.
> void handle_upgrade_unittype_request
> (struct player * const pplayer, const Unit_Type_id from_unittype);
This is the signature of this function in delta5:
void handle_unit_type_upgrade(struct player *pplayer, Unit_Type_id type);
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
+#if defined(__alpha__) && defined(CONFIG_PCI)
+ /*
+ * The meaning of life, the universe, and everything. Plus
+ * this makes the year come out right.
+ */
+ year -= 42;
+#endif
-- Patch for 1.3.2 (kernel/time.c) from Marcus Meissner
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/13
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Jason Short via RT, 2002/12/18
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/18
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Jason Short via RT, 2002/12/19
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/19
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Jason Short via RT, 2002/12/19
- Message not available
- [Freeciv-Dev] Re: (PR#2566) PATCH: clean up handle_upgrade_unittype_request,
Raimar Falke via RT <=
- [Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/19
[Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/19
[Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/20
[Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/20
|
|