First I once again would like to thank Susu for doing this pull request, its been of great help (as was his previous one).
Second, if you don't work on the source you can skip this, it wont mind you later.
Now, as you may know these interfaces (and the others existent prior to them) were/are-being made because of two things.
[*]Map Server
[*]Char Server
We've had no problem with their names up to now, on map.c's interface it wasn't possible to change it to 'map' because 'map' is already in use by the 'map[]' array of maps, Susu (in his pull request) created the map.c interface and named it iMap to avoid the conflict, another is timer.c's interface, its not possible to name it 'timer' because 'timer' is a existent function on some unix distros, and it'd conflict on them (and make it not compilable), Susu (in his pull request) created the timer.c interface and has gone around this by naming it 'iTimer'.
While this topic is a notification on why the names differ, it is also a opportunity for you to point-out (and/or discuss) any comments or modifications on the interface names
Worry not
if we come to decide to change any of the interface names, it will hardly be a bother. a single 'Old->' => 'New->' case-sensitive find&replace will take care of it in a couple of seconds.
Second, if you don't work on the source you can skip this, it wont mind you later.
Now, as you may know these interfaces (and the others existent prior to them) were/are-being made because of two things.
- They give life to our Hercules Plugin Manager
- It further increases flexibility in the source code
- Making their names as short as possible, while trying to maintain its name as similar as possible to its previous stuff
- Common
- console
- DB
- SQL
- strlib
- sv
- StrBuf (StringBuf)
- iTimer
[*]Map Server
- atcommand
- battle
- buyingstore
- clif
- guild
- homunculus
- ircbot
- log
- iMap
- party
- pc
- script
- searchstore
- skill
- vending
[*]Char Server
- pincode
We've had no problem with their names up to now, on map.c's interface it wasn't possible to change it to 'map' because 'map' is already in use by the 'map[]' array of maps, Susu (in his pull request) created the map.c interface and named it iMap to avoid the conflict, another is timer.c's interface, its not possible to name it 'timer' because 'timer' is a existent function on some unix distros, and it'd conflict on them (and make it not compilable), Susu (in his pull request) created the timer.c interface and has gone around this by naming it 'iTimer'.
While this topic is a notification on why the names differ, it is also a opportunity for you to point-out (and/or discuss) any comments or modifications on the interface names
Worry not
if we come to decide to change any of the interface names, it will hardly be a bother. a single 'Old->' => 'New->' case-sensitive find&replace will take care of it in a couple of seconds.
Last edited by a moderator: