(svn r22406) -Document: some more "random-ish" tidbits

This commit is contained in:
rubidium
2011-05-01 19:51:52 +00:00
parent 87272273b5
commit 6e9122828e
33 changed files with 132 additions and 20 deletions

View File

@@ -14,6 +14,7 @@
#include "../fileio_type.h"
/** Scanner to help finding scripts. */
class ScriptScanner {
public:
ScriptScanner();
@@ -43,8 +44,8 @@ private:
void ScanDir(const char *dirname, const char *info_file_name);
protected:
class Squirrel *engine;
char main_script[1024];
class Squirrel *engine; ///< The engine we're scanning with.
char main_script[1024]; ///< The name of the current main script.
};
#endif /* SCRIPT_SCANNER_HPP */

View File

@@ -12,9 +12,10 @@
#ifndef SQUIRREL_HELPER_TYPE_HPP
#define SQUIRREL_HELPER_TYPE_HPP
/** Definition of a simple array. */
struct Array {
int32 size;
int32 array[];
int32 size; ///< The size of the array.
int32 array[]; ///< The data of the array.
};
#endif /* SQUIRREL_HELPER_TYPE_HPP */