equal
deleted
inserted
replaced
1189 |
1189 |
1190 The function takes a `x`,`y` location, a `width` (means start of a new line) and `erase` (if `false`, this function will draw normally, if `true`, this function will erase drawn stuff). |
1190 The function takes a `x`,`y` location, a `width` (means start of a new line) and `erase` (if `false`, this function will draw normally, if `true`, this function will erase drawn stuff). |
1191 |
1191 |
1192 This function must be called within `onGameInit`, where `MapGen` has been set to `mgDrawn`. You also should call `FlushPoints` when you are finished with drawing. |
1192 This function must be called within `onGameInit`, where `MapGen` has been set to `mgDrawn`. You also should call `FlushPoints` when you are finished with drawing. |
1193 |
1193 |
|
1194 See [LuaDrawning] for some examples. |
|
1195 |
1194 ==== <tt>!FlushPoints()</tt> ==== |
1196 ==== <tt>!FlushPoints()</tt> ==== |
1195 Makes sure that all the points/lines specified using `AddPoint` are actually applied to the map. This function must be called within `onGameInit`. |
1197 Makes sure that all the points/lines specified using `AddPoint` are actually applied to the map. This function must be called within `onGameInit`. |
1196 |
1198 |
1197 === Current hedgehog === |
1199 === Current hedgehog === |
1198 |
1200 |