EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=623)
-   -   Name generation (https://www.eqemulator.org/forums/showthread.php?t=1827)

Malevolent 05-15-2002 02:18 AM

Name generation
 
Example class usage:
Code:

        MakeName* mn= new MakeName();

                printf("\n1. DarkElf: %s",mn->GetDarkElfName());
                printf("\n2. HighElf: %s",mn->GetHighElfName());
                printf("\n3. WoodElf: %s",mn->GetWoodElfName());
                printf("\n4. HalfElf: %s",mn->GetHalfElfName());
                printf("\n5. Dwarf: %s",mn->GetDwarfName());
                printf("\n6. Iksar: %s",mn->GetIksarName());
                printf("\n7. Orc: %s",mn->GetOrcName());
                printf("\n8. Goblin: %s",mn->GetGoblinName());
                printf("\n9. Generic: %s",mn->GetGenericName());
                printf("\n10. Item: %s",mn->GetItemName());
                printf("\n11. Inn: %s",mn->GetInnName());
                printf("\n12. Human: %s",mn->GetHumanMaleName());
                printf("\n13. Female: %s",mn->GetHumanFemaleName());               
                printf("\n13. Gnome: %s",mn->GetGnomeName());
                printf("\n14. Erudite: %s",mn->GetEruditeName());
                printf("\n15. Barbarian: %s",mn->GetBarbarianName());
                printf("\n16. Vah'Shir: %s",mn->GetVahShirName());
               

        delete[] mn;

Example output from class
Code:

1. DarkElf: Valobaryn
2. HighElf: Rarandra
3. WoodElf: Thrarandil
4. HalfElf: Rararil
5. Dwarf: Raran
6. Iksar: Friweard
7. Orc: Vogdush
8. Goblin: Motherlover
9. Generic: Horsteadtha
10. Item: Flail of Speed
11. Inn: Dirty Monk
12. Human: Ethirenad
13. Female: Eraometh
13. Gnome: Sirodyne
14. Erudite: Lysiana
15. Barbarian: Iladulk
16. Vah'Shir: Fainairna


1. DarkElf: Naneria
2. HighElf: Unong
3. WoodElf: Eoworiand
4. HalfElf: Unombor
5. Dwarf: Malin
6. Iksar: Folclaf
7. Orc: Pradash
8. Goblin: Axewalker
9. Generic: Nygantim
10. Item: Halberd of Valor
11. Inn: Gilded Pit
12. Human: Ceigord
13. Female: Chenna
13. Gnome: Erminnor
14. Erudite: Lyndela
15. Barbarian: Akehtek
16. Vah'Shir: Hjaast

Some TODOs:
Code needs cleaned up in a major way :)
(I apologize in advance for its fugliness)
Would be nice to be able to configure things externally

Attached:
Source and name files

Creds:
Based on the GPL'd sorta ANSI C implementation of Kimmo Kulovesi 1998. Thanks to Waeric for point it out :)

--MV

Zio 05-16-2002 08:27 AM

Cool


All times are GMT -4. The time now is 01:37 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.