[Freeciv-Dev] [bug #17454] Hidden map size

2011-11-06 Thread Jacob Nevins

Follow-up Comment #1, bug #17454 (project freeciv):

This is pretty tricky to do properly.

The map dimensions are a fundamental basis of communication between client
and server, as coordinates are generally expressed as (y*xsize)+x, requiring
knowledge of xsize to decode. Even if you got past that, the use of absolute
coordinates would give away clues about the map size.

So to make this work in a multiplayer scenario without the possibility for
cheating clients, you'd need to move to relative (x,y) coordinates on the
wire, with the origin at the user's starting position or similar, and
translate between those and absolute coordinates in the server. Which is a lot
of work.

If you were to just implement this on the client, so the client has all the
information about how big the world is, but hides it from the user, which
might be OK for single-player, then it's a bit easier. You've still got design
decisions to make -- for instance, if you've explored in both directions of a
wrapping X axis and reached every longitude, but not actually joined in
latitude, do you nevertheless show the two bits of map in their true spatial
relation? (You probably don't have much choice if you expose numeric
coordinates in the UI.)

It's not clear it's worth doing just for single-player mode, though.

At least some of the commercial Civ games have this kind of a concept (CivIV
does).

___

Reply to this item at:

  http://gna.org/bugs/?17454

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17454] Hidden map size

2011-01-11 Thread Marko Lindqvist

Update of bug #17454 (project freeciv):

 Summary:  Hidden map = Hidden map size


___

Reply to this item at:

  http://gna.org/bugs/?17454

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #17454] Hidden map

2011-01-10 Thread Angelo Locritani

URL:
  http://gna.org/bugs/?17454

 Summary: Hidden map
 Project: Freeciv
Submitted by: alocritani
Submitted on: lun 10 gen 2011 12:29:37 GMT
Category: None
Severity: 1 - Wish
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.3beta1
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

An option can be added to let the map expand when user start exploring.
At the moment the map is hidden (black) but you already know how big is it.
Just to recreate feeling like 'discovery of new world', where you have no
idea at all if there was 'space' for another continent or not.




___

Reply to this item at:

  http://gna.org/bugs/?17454

___
  Messaggio inviato con/da Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev