home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7296e69
)
Corrected map generation algorithm description.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 23:01:15 +0000
(
01:01
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 23:01:15 +0000
(
01:01
+0200)
src/map.h
patch
|
blob
|
history
diff --git
a/src/map.h
b/src/map.h
index 1c3475f61c6862d1640a137f4bd58101a2f91ba4..ac303a40036fe3660938c015cf9a33fb6fcda5b9 100644
(file)
--- a/
src/map.h
+++ b/
src/map.h
@@
-27,8
+27,8
@@
struct Map
* starting with a sea containing one land cell in the middle and then going
* into a cycle of repeatedly selecting a random cell on the map and
* transforming it into a land cell if it is horizontally or vertically neighbor
* starting with a sea containing one land cell in the middle and then going
* into a cycle of repeatedly selecting a random cell on the map and
* transforming it into a land cell if it is horizontally or vertically neighbor
- * to one
. The cycle ends when a land cell is created that is only one cell away
- *
from the edge
of the map. The map scroll offset is initialized to 0,0.
+ * to one
; the cycle ends when a land cell is due to be created right at the
+ *
border
of the map. The map scroll offset is initialized to 0,0.
*/
extern struct Map init_map();
*/
extern struct Map init_map();