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

Comparing deliantra/server/server/alchemy.C (file contents):
Revision 1.63 by root, Sun Jan 29 02:47:05 2017 UTC vs.
Revision 1.65 by root, Sat Dec 1 20:22:13 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 (©) 2002 Mark Wedel & Crossfire Development Team 6 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992 Frank Tore Johansen 7 * Copyright (©) 1992 Frank Tore Johansen
7 * 8 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 9 * Deliantra is free software: you can redistribute it and/or modify it under
63 64
64/** Returns a random selection from cauldron_effect[] */ 65/** Returns a random selection from cauldron_effect[] */
65static const char * 66static const char *
66cauldron_sound () 67cauldron_sound ()
67{ 68{
68 return cauldron_effect [rndm (array_length (cauldron_effect))]; 69 return cauldron_effect [rndm (ecb_array_length (cauldron_effect))];
69} 70}
70 71
71/** 72/**
72 * Recipe value of the entire contents of a container. 73 * Recipe value of the entire contents of a container.
73 * This appears to just generate a hash value, which I guess for now works 74 * This appears to just generate a hash value, which I guess for now works

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines