ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/rogue_layout.C
(Generate patch)

Comparing deliantra/server/random_maps/rogue_layout.C (file contents):
Revision 1.22 by root, Wed Nov 16 23:42:02 2016 UTC vs.
Revision 1.24 by root, Sat Nov 17 23:40:02 2018 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team
4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 5 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 1994-2004 Crossfire Development Team (restored, original file without copyright notice) 6 * Copyright (©) 1994-2004 Crossfire Development Team (restored, original file without copyright notice)
6 * 7 *
7 * Deliantra is free software: you can redistribute it and/or modify it under 8 * Deliantra is free software: you can redistribute it and/or modify it under
8 * the terms of the Affero GNU General Public License as published by the 9 * the terms of the Affero GNU General Public License as published by the
58 59
59 return surround_index; 60 return surround_index;
60} 61}
61 62
62/* actually make the maze: we work by a reduction process: 63/* actually make the maze: we work by a reduction process:
63 * first we make everything a wall, then we remove areas to make rooms 64 * first we make everything a wall, then we remove areas to make rooms
64 */ 65 */
65void 66void
66roguelike_layout_gen (layout &maze, int options) 67roguelike_layout_gen (layout &maze, int options)
67{ 68{
68 int i, j; 69 int i, j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines