[Freeciv-Dev] (PR#6941) Mission Orders
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6941 >
The patch doesn't apply cleanly:
1 out of 34 hunks FAILED -- saving rejects to file client/control.c.rej
missing header for unified diff at line 502 of patch
The text leading up to this was:
--------------------------
| }
--------------------------
File to patch:
Also:
- You shouldn't include common/packets_gen.* in the patch. These just
bloat it. I usually rm common/packets_gen.* before making the patch.
- The function order_is_action() is misleading. Movement is an action too!
- I think the union shouldn't be declared globally. At the least it
shouldn't be defined separately from the orders_type. What about
something like
struct unit_order {
enum orders_type type;
union {
enum unit_orders order;
enum unit_activity activity;
enum unit_actions action;
enum diplomat_actions diplomat;
};
enum direction8 dir;
}
which makes sure the type and the union remain attached.
- Finally, I think this code needs a lot of design review. I'm not sure
that the interface (common/unit.h) is best. Can we separate the common
and server parts and consider them first? The client interface can be
added on afterward.
jason
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Arnstein Lindgard, 2004/01/07
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Arnstein Lindgard, 2004/01/09
- [Freeciv-Dev] (PR#6941) Mission Orders 5, Arnstein Lindgard, 2004/01/28
- [Freeciv-Dev] (PR#6941) Mission Orders,
Jason Short <=
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Arnstein Lindgard, 2004/01/28
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Jason Short, 2004/01/28
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Arnstein Lindgard, 2004/01/28
- [Freeciv-Dev] (PR#6941) Mission Orders, Guest, 2004/01/28
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Arnstein Lindgard, 2004/01/28
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Jason Short, 2004/01/28
- [Freeciv-Dev] Re: (PR#6941) Mission Orders, Raimar Falke, 2004/01/29
|
|