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 (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
930 | cfperl_init (); |
930 | cfperl_init (); |
931 | load_settings (); /* Load the settings file */ |
931 | load_settings (); /* Load the settings file */ |
932 | load_materials (); |
932 | load_materials (); |
933 | parse_args (argc, argv, 2); |
933 | parse_args (argc, argv, 2); |
934 | LOG (llevInfo, "Welcome to Deliantra, v" VERSION); |
934 | LOG (llevInfo, "Welcome to Deliantra, v" VERSION); |
935 | LOG (llevInfo, "Copyright (C) 2005, 2006, 2007 Marc Lehmann."); |
935 | LOG (llevInfo, "Copyright (C) Marc Alexander Lehmann / Robin Redeker / the Deliantra team."); |
936 | LOG (llevInfo, "Copyright (C) 1994 Mark Wedel."); |
936 | LOG (llevInfo, "Copyright (C) 1994 Mark Wedel."); |
937 | LOG (llevInfo, "Copyright (C) 1992 Frank Tore Johansen."); |
937 | LOG (llevInfo, "Copyright (C) 1992 Frank Tore Johansen."); |
938 | |
938 | |
939 | if (strcmp (settings.dm_mail, "") != 0) |
939 | if (strcmp (settings.dm_mail, "") != 0) |
940 | { |
940 | { |
… | |
… | |
1006 | |
1006 | |
1007 | void |
1007 | void |
1008 | init_beforeplay (void) |
1008 | init_beforeplay (void) |
1009 | { |
1009 | { |
1010 | init_artifacts (); /* If not called before, reads all artifacts from file */ |
1010 | init_artifacts (); /* If not called before, reads all artifacts from file */ |
1011 | init_spells (); /* If not called before, links archtypes used by spells */ |
|
|
1012 | init_archetype_pointers (); /* Setup global pointers to archetypes */ |
|
|
1013 | init_races (); /* overwrite race designations using entries in lib/races file */ |
1011 | init_races (); /* overwrite race designations using entries in lib/races file */ |
1014 | init_gods (); /* init linked list of gods from archs */ |
1012 | init_gods (); /* init linked list of gods from archs */ |
1015 | init_readable (); /* inits useful arrays for readable texts */ |
1013 | init_readable (); /* inits useful arrays for readable texts */ |
1016 | init_formulae (); /* If not called before, reads formulae from file */ |
1014 | init_formulae (); /* If not called before, reads formulae from file */ |
1017 | } |
1015 | } |