diff -r 80030efe89fc -r 9b8bdee5db6c hedgewars/hwengine.dpr --- a/hedgewars/hwengine.dpr Sun Apr 05 17:48:48 2009 +0000 +++ b/hedgewars/hwengine.dpr Tue Apr 07 14:01:46 2009 +0000 @@ -20,9 +20,17 @@ WriteLn('Only Freepascal supported'); {$ENDIF} +// Add all your Pascal units to the "uses" clause below to add them to the program. + +// Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using +// "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for +// these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group) +// to make these functions available in the C/C++/Objective-C source files +// (add "#include PascalImports.h" near the top of these files if it's not there yet) +//Library PascalLibrary; program hwengine; uses - SDLh, + SDLh in 'SDLh.pas', {$IFDEF IPHONE} gles11, {$ELSE} @@ -329,7 +337,7 @@ WriteLnToConsole(' -= by unC0Rr =- '); GetParams; Randomize; - +{ /home/nemo/games/bin/hwengine /home/nemo/games/hedgewars/Data ~/.hedgewars/Saves/2009-03-22_19-54.hws_24 480 320 32 0 1 en.txt 128 33 0 1 1 0} if GameType = gmtLandPreview then GenLandPreview else Game end.