Bla .gitignore fuckup
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
prg_debug 0
|
prg_debug 1
|
||||||
prg_lastbuild C:\Projects\Sirius Online - Client\ExeFile.bb
|
prg_lastbuild C:\Projects\Sirius Online - Client\ExeFile.bb
|
||||||
win_maximized 0
|
win_maximized 0
|
||||||
win_notoolbar 0
|
win_notoolbar 0
|
||||||
|
|||||||
+1
-16
@@ -1,16 +1 @@
|
|||||||
Graphics3D 800,600,32,2
|
Const a# = -1.0
|
||||||
SetBuffer BackBuffer()
|
|
||||||
|
|
||||||
Cam = CreateCamera()
|
|
||||||
Cube = CreateCube()
|
|
||||||
MoveEntity(Cam, 0, 0, -5)
|
|
||||||
|
|
||||||
While Not KeyHit(1)
|
|
||||||
TurnEntity Cube, 0.1, 0.1, 0.1
|
|
||||||
|
|
||||||
RenderWorld
|
|
||||||
Flip 0
|
|
||||||
Wend
|
|
||||||
|
|
||||||
EndGraphics
|
|
||||||
End
|
|
||||||
+19
-12
@@ -1,16 +1,23 @@
|
|||||||
*.sbl
|
# Visual Studio
|
||||||
*.plg
|
/.vs
|
||||||
*.aps
|
|
||||||
*.ncb
|
|
||||||
*.opt
|
|
||||||
Debug
|
|
||||||
Release
|
|
||||||
_release
|
|
||||||
*__Win32_*
|
|
||||||
/innosetup/installs
|
|
||||||
/#Intermediate
|
|
||||||
/#Build
|
|
||||||
*.vcxproj.user
|
*.vcxproj.user
|
||||||
*.VC.db
|
*.VC.db
|
||||||
*.VC.opendb
|
*.VC.opendb
|
||||||
|
/enc_temp_folder
|
||||||
|
|
||||||
|
# Build Files
|
||||||
|
/#Build
|
||||||
|
/#Intermediate
|
||||||
|
/#Test/bin/*.dll
|
||||||
|
/#Test/bin/*.pdb
|
||||||
|
/#Test/bin/*.exe
|
||||||
|
/#Test/*.pdb
|
||||||
|
/#Test/*.exe
|
||||||
/ipch
|
/ipch
|
||||||
|
*.obj
|
||||||
|
*.lib
|
||||||
|
*.dll
|
||||||
|
*.exe
|
||||||
|
*.ilk
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -273,7 +273,7 @@ int _cdecl main(int argc, char *argv[]) {
|
|||||||
Debugger *debugger = 0;
|
Debugger *debugger = 0;
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
dbgHandle = LoadLibrary((home + "/bin/debugger.dll").c_str());
|
dbgHandle = LoadLibrary((home + "\\debugger.dll").c_str());
|
||||||
if (dbgHandle) {
|
if (dbgHandle) {
|
||||||
typedef Debugger *(_cdecl*GetDebugger)(Module*, Environ*);
|
typedef Debugger *(_cdecl*GetDebugger)(Module*, Environ*);
|
||||||
GetDebugger gd = (GetDebugger)GetProcAddress(dbgHandle, "debuggerGetDebugger");
|
GetDebugger gd = (GetDebugger)GetProcAddress(dbgHandle, "debuggerGetDebugger");
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ void VarDeclNode::proto(DeclSeq *d, Environ *e) {
|
|||||||
ex("Internal Error: expr turned into nullptr (2)");
|
ex("Internal Error: expr turned into nullptr (2)");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (constant || (kind&DECL_PARAM)) {
|
if (constant || (kind & DECL_PARAM)) {
|
||||||
ConstNode *c = expr->constNode();
|
ConstNode *c = static_cast<ConstNode*>(expr);//->constNode();
|
||||||
|
|
||||||
|
|
||||||
if (!c) ex("Expression must be constant");
|
if (!c) ex("Expression must be constant");
|
||||||
@@ -75,7 +75,8 @@ void VarDeclNode::proto(DeclSeq *d, Environ *e) {
|
|||||||
e->types.push_back(ty);
|
e->types.push_back(ty);
|
||||||
delete expr; expr = 0;
|
delete expr; expr = 0;
|
||||||
}
|
}
|
||||||
if (kind&DECL_PARAM) {
|
|
||||||
|
if (kind & DECL_PARAM) {
|
||||||
defType = ty->constType(); ty = defType->valueType;
|
defType = ty->constType(); ty = defType->valueType;
|
||||||
}
|
}
|
||||||
} else if (constant) ex("Constants must be initialized");
|
} else if (constant) ex("Constants must be initialized");
|
||||||
|
|||||||
+32
-32
@@ -14,38 +14,38 @@ string itoa( int n ){
|
|||||||
return string( buff );
|
return string( buff );
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _finite( double n ){ // definition: exponent anything but 2047.
|
//static int _finite( double n ){ // definition: exponent anything but 2047.
|
||||||
|
//
|
||||||
int e; // 11 bit exponent
|
// int e; // 11 bit exponent
|
||||||
const int eMax = 2047; // 0x7ff, all bits = 1
|
// const int eMax = 2047; // 0x7ff, all bits = 1
|
||||||
|
//
|
||||||
int *pn = (int *) &n;
|
// int *pn = (int *) &n;
|
||||||
|
//
|
||||||
e = *++pn; // Intel order!
|
// e = *++pn; // Intel order!
|
||||||
e = ( e >> 20 ) & eMax;
|
// e = ( e >> 20 ) & eMax;
|
||||||
|
//
|
||||||
return e != eMax;
|
// return e != eMax;
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
static int _isnan( double n ){ // definition: exponent 2047, nonzero fraction.
|
//static int _isnan( double n ){ // definition: exponent 2047, nonzero fraction.
|
||||||
|
//
|
||||||
int e; // 11 bit exponent
|
// int e; // 11 bit exponent
|
||||||
const int eMax = 2047; // 0x7ff, all bits = 1
|
// const int eMax = 2047; // 0x7ff, all bits = 1
|
||||||
|
//
|
||||||
int *pn = (int *) &n;
|
// int *pn = (int *) &n;
|
||||||
|
//
|
||||||
e = *++pn; // Intel order!
|
// e = *++pn; // Intel order!
|
||||||
e = ( e >> 20 ) & eMax;
|
// e = ( e >> 20 ) & eMax;
|
||||||
|
//
|
||||||
if ( e != 2047 ) return 0; // almost always return here
|
// if ( e != 2047 ) return 0; // almost always return here
|
||||||
|
//
|
||||||
int fHi, fLo; // 52 bit fraction
|
// int fHi, fLo; // 52 bit fraction
|
||||||
|
//
|
||||||
fHi = ( *pn ) & 0xfffff; // first 20 bits
|
// fHi = ( *pn ) & 0xfffff; // first 20 bits
|
||||||
fLo = *--pn; // last 32 bits
|
// fLo = *--pn; // last 32 bits
|
||||||
|
//
|
||||||
return ( fHi | fLo ) != 0; // returns 0,1 not just 0,nonzero
|
// return ( fHi | fLo ) != 0; // returns 0,1 not just 0,nonzero
|
||||||
}
|
//}
|
||||||
|
|
||||||
/////////////
|
/////////////
|
||||||
//By FLOYD!//
|
//By FLOYD!//
|
||||||
|
|||||||
Reference in New Issue
Block a user