ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/server/random_maps/decor.C
(Generate patch)

Comparing cf.schmorp.de/server/random_maps/decor.C (file contents):
Revision 1.8 by root, Sun Dec 31 19:02:23 2006 UTC vs.
Revision 1.10 by pippijn, Sat Jan 6 14:42:30 2007 UTC

1 1
2/* 2/*
3 CrossFire, A Multiplayer game for X-windows 3 CrossFire, A Multiplayer game for X-windows
4 4
5 Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team
5 Copyright (C) 2002 Mark Wedel & Crossfire Development Team 6 Copyright (C) 2002 Mark Wedel & Crossfire Development Team
6 Copyright (C) 1992 Frank Tore Johansen 7 Copyright (C) 1992 Frank Tore Johansen
7 8
8 This program is free software; you can redistribute it and/or modify 9 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
46 47
47void 48void
48put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP) 49put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP)
49{ 50{
50 maptile *decor_map; 51 maptile *decor_map;
51 char style_name[256]; 52 char style_name[1024];
52 53
53 sprintf (style_name, "/styles/decorstyles"); 54 sprintf (style_name, "/styles/decorstyles");
54 55
55 decor_map = find_style (style_name, decorstyle, -1); 56 decor_map = find_style (style_name, decorstyle, -1);
56 if (decor_map == NULL) 57 if (decor_map == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines