Splitting plugin in files
#14
[quote='NiLSPACE' pid='24044' dateline='1450427468']
@Seadragon91 that depends. If the files in the subfolders contain command handlers then that means the Info.lua file won't have them. Initialize is called after all files in the root of the plugin are loaded. It's the reason why I have the code to load the subfolders in WorldEdit outside the Initialize function: https://github.com/cuberite/WorldEdit/bl...ua#L24-L36

NiLSPACE,

I was looking at your code and i see things like:
Code:
g_ExcludedFolders
Code:
E_SELECTIONPOINT_LEFT
Code:
a_Plugin

What is this nomenclature representing?
Is the g_ = global?
The others I don't seem to have a guess as to what they mean/represent.

Also why would E_SELECTIONPOINT_LEFT be all caps?

Thanks for helping a noob get up to speed.
Reply
Thanks given by:


Messages In This Thread
Splitting plugin in files - by chrobione - 12-18-2015, 10:35 AM
RE: noob Question - by Zee1234 - 12-18-2015, 04:17 PM
RE: noob Question - by chrobione - 12-18-2015, 05:16 PM
RE: Splitting plugin in files - by xoft - 12-18-2015, 05:01 PM
RE: Splitting plugin in files - by chrobione - 12-18-2015, 05:32 PM
RE: Splitting plugin in files - by xoft - 12-18-2015, 05:01 PM
RE: Splitting plugin in files - by Zee1234 - 12-18-2015, 06:00 PM
RE: Splitting plugin in files - by sphinxc0re - 12-18-2015, 06:12 PM
RE: Splitting plugin in files - by Seadragon91 - 12-18-2015, 06:24 PM
RE: Splitting plugin in files - by NiLSPACE - 12-18-2015, 06:31 PM
RE: Splitting plugin in files - by Seadragon91 - 12-18-2015, 06:33 PM
RE: Splitting plugin in files - by chrobione - 12-19-2015, 08:05 AM
RE: Splitting plugin in files - by xoft - 12-18-2015, 06:55 PM
RE: Splitting plugin in files - by worktycho - 12-18-2015, 11:59 PM
RE: Splitting plugin in files - by NiLSPACE - 12-19-2015, 08:11 AM
RE: Splitting plugin in files - by chrobione - 12-19-2015, 08:26 AM



Users browsing this thread: 1 Guest(s)