[Freeciv-Dev] PATCH: typo fixes for hackerguide
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
this patch fixes two typo errors introduced by my last po-related
addition and also some others I found by reading the file.
Well, always interesting to read the file, but I'm missing much more
internal information for better understanding.
Ciao
____ _ _ ____ _ _ _ _ ____
| | | | | | \ / | | | the cool Gremlin from Bischofswerda
| __ | ____| | \/ | | | WWW: http://home.pages.de/~stoecker/
| | | | | | | | PGP key available on www page.
|____| _|_ |____| _|_ _|_ |____| I hope AMIGA never ends to make fun!
Only in .: HackFix.diff
diff -u ../old/freeciv_hackers_guide.txt ./freeciv_hackers_guide.txt
--- ../old/freeciv_hackers_guide.txt Thu Sep 21 14:10:09 2000
+++ ./freeciv_hackers_guide.txt Thu Sep 21 14:07:01 2000
@@ -246,7 +246,7 @@
included to give people the knowledge of how things work.
Also available is the function real_map_distance(), which takes wrap and
-such things into account. It does not however take terrain and roads, ect.
+such things into account. It does not however take terrain and roads, etc.
into account. For that you would use a move_cost_map, which is generated
via the function generate_warmap(), and calculates the distances from a
tile to all other tiles on the map. See server/gotohand.c.
@@ -259,7 +259,7 @@
Unknown tiles and Fog of War
=========================================================================
-in the tile struct there is a field
+In the tile struct there is a field
struct tile {
...
@@ -277,7 +277,7 @@
The values TILE_UNKNOWN, TILE_KNOWN are straightforward. TILE_FOGGED
is a tile of which the user knows the terrain (inclusive cities, roads,
- etc...).
+etc...).
Because of how the tile-drawing system works, the client has to know the
terrain and specials of tiles adjacent to TILE_KNOWN and TILE_KNOWN_FOGGED
@@ -301,16 +301,16 @@
and
void fog_area(struct player *pplayer, int x, int y, int len)
functions. "int len" is the radius of the area that should be
-fogged/unfogged, ie a len of 1 is a normal unit. In addition to keeping
+fogged/unfogged, i.e. a len of 1 is a normal unit. In addition to keeping
track of fog of war, these functions also make sure to reveal TILE_UNKNOWN
tiles you get near, and send info about TILE_UNKNOWN tiles near that the
-client need for te drawing. They then send the tiles to
+client needs for drawing. They then send the tiles to
void send_tile_info(struct player *dest, int x, int y)
which then sets the correct known_type and sends the tile to the client.
[Beware of using map_adjust_y. If you have a 80x50 map and then iterate
around the tile 40,49 you can get values like 40,50, which is not a
-tile. if you map_adjust the y value it will return 40,49 . If you then
+tile. If you map_adjust the y value it will return 40,49. If you then
think this should count as a unit seeing tile 40,49 and add a sight
point for it at 40,49 fog of war gets out of sync. This will usually
result in a wrap error on some point, as you unfog a square twice and it
@@ -339,8 +339,8 @@
server (consisting of player_tile's and dumb_city's) where the relevant
information is kept.
-The case where a player p1 gives map info to another player p2. This
-requires some extra info; imagine a tile that neither player sees, but
+The case where a player p1 gives map info to another player p2: This
+requires some extra info. Imagine a tile that neither player sees, but
which p1 have the most recent info on. In that case the age of the players'
info should be compared which is why the player tile has a last_updated
field.
@@ -621,8 +621,8 @@
translators file. Use them whenever you think the translators may need
some more information.
Example:
- /* TRANS: Don`t translate command name */
- printf(N_("commandname <arg> [-o <optarg>]"));
+ /* TRANS: Don't translate command name */
+ printf(_("commandname <arg> [-o <optarg>]"));
- If you send patches, use "diff -u" (or "diff -r -u"). For further
information, see <http://www.freeciv.org/contribute.html>. Also,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] PATCH: typo fixes for hackerguide,
Dirk Stoecker <=
|
|