D:/Projects/dark-oberon.svn/game/sources/kernel/fileserver_cmds.cpp File Reference


Detailed Description

Author:
Peter Knut
Date:
2005
Interface for script commands.

Version:
1.0 - Initial.

#include "kernel/fileserver.h"

Functions

static void s_SetAssign (void *slf, Cmd *cmd)
static void s_GetAssign (void *slf, Cmd *cmd)
static void s_ResetAssigns (void *slf, Cmd *cmd)
static void s_CleanupPath (void *slf, Cmd *cmd)
static void s_ManglePath (void *slf, Cmd *cmd)
static void s_ExtractDirectory (void *slf, Cmd *cmd)
static void s_ExtractFile (void *slf, Cmd *cmd)
static void s_FileExists (void *slf, Cmd *cmd)
static void s_DirectoryExists (void *slf, Cmd *cmd)
static void s_CopyFile (void *slf, Cmd *cmd)
static void s_CreatePath (void *slf, Cmd *cmd)
static void s_DeleteFile (void *slf, Cmd *cmd)
static void s_DeleteDirectory (void *slf, Cmd *cmd)
void s_InitFileserver_cmds (Class *cl)


Function Documentation

static void s_CleanupPath ( void *  slf,
Cmd cmd 
) [static]

static void s_CopyFile ( void *  slf,
Cmd cmd 
) [static]

static void s_CreatePath ( void *  slf,
Cmd cmd 
) [static]

static void s_DeleteDirectory ( void *  slf,
Cmd cmd 
) [static]

static void s_DeleteFile ( void *  slf,
Cmd cmd 
) [static]

static void s_DirectoryExists ( void *  slf,
Cmd cmd 
) [static]

Returns true if directory exists.

static void s_ExtractDirectory ( void *  slf,
Cmd cmd 
) [static]

static void s_ExtractFile ( void *  slf,
Cmd cmd 
) [static]

static void s_FileExists ( void *  slf,
Cmd cmd 
) [static]

Returns true if file exists.

static void s_GetAssign ( void *  slf,
Cmd cmd 
) [static]

Gets a path associated with an assign.

void s_InitFileserver_cmds ( Class cl  ) 

static void s_ManglePath ( void *  slf,
Cmd cmd 
) [static]

Converts a path with assigns into a native absolute path.

static void s_ResetAssigns ( void *  slf,
Cmd cmd 
) [static]

static void s_SetAssign ( void *  slf,
Cmd cmd 
) [static]

Defines an assign with the specified name and links it to the specified path.


Generated on Sat Oct 20 14:47:30 2007 for Dark Oberon by  doxygen 1.5.3