[Freeciv-Dev] Tile markers spec (PR#1226)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=1226 >
I intend to go back to this patch/issue to finish it. Here is my
design spec for discussion.
Markers and quick-jump to position should be separated. Quick-jump (center
on map position on hotkey) do not need graphical markers - starcraft and
C&C generals eg do without fine. Markers should not have the number of
hotkey keys limitation of quick-jump.
I intend to address markers first.
One new packet
PACKET_MARKER {
int x, y;
}
that is sent from client->server. It toggles marker on/off for this tile
for the player sending it.
The marker is designated graphically by two new tile graphics: A red
crosshair and a blue crosshair. I found the previous markers to hide too
much information beneath them.
Markers should be shown in the minimap somehow. I am not sure exactly how.
New int ptile->markers in which each bit indicates a player having a
marker on this tile. This is saved in the savegame as a new bool map.
You can see your allies' markers as blue crosshairs, your own are red.
Both you and an ally cannot place markers on the same spot - it is
rejected by the server.
Comments?
- Per
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Tile markers spec (PR#1226),
Per I. Mathisen <=
|
|