Nuclide
Software Development Kit for id Tech
|
Functions | |
void * | memrealloc (__variant *oldptr, int elementsize, int old_num, int new_num) |
void | ModServer_Refresh (void) |
Call this to initiate a lengthy process of updating the list of mods we can install in the custom game menu. More... | |
void | ModServer_ParseList (string data) |
Function that interprets a mod-list. More... | |
void | ModServer_ParseItem (string data) |
Function that interprets a mod-item entry. More... | |
void | Updater_URI_Callback (float id, float code, string data, int resourcebytes) |
void | ModServer_URI_Callback (float id, float code, string data, int resourcebytes) |
Function that interprets a mod-item entry.
ModServer_URI_Callback calls this when retrieving a MODSERVER_REQ_ITEM description. We then allocate a new mod entry in our mod-list and fill it with the data supplied.
data | The data string that will fill up a newly allocated entry. |
Function that interprets a mod-list.
ModServer_URI_Callback calls this when retrieving a MODSERVER_REQ_ITEM description. Will in return call uri_get with code MODSERVER_REQ_ITEM on every game dir we don't have installed locally. Thus filling the mod list with entries we can install.
data | White-space separated list of unique mod game directory names. |
Call this to initiate a lengthy process of updating the list of mods we can install in the custom game menu.