diff --git a/.gitignore b/.gitignore index b65e12380..ec09f141d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ powder.def gmon.out *.*.orig -build/powder* build/stamps/* *~ *.pyc -utils/* \ No newline at end of file +utils/* +*.log \ No newline at end of file diff --git a/Makefile b/Makefile index a68d753c9..39f229f92 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ powder-debug-64: $(SOURCES) mv $@ build powder-debug: $(SOURCES) $(PYCOMMAND) - $(COMPILER) -m32 -o$@ $(FLAGS_DBUG) -DLIN32 $(SOURCES) -Iincludes/ + $(COMPILER) -DINTERNAL -o$@ $(CFLAGS) $(OFLAGS) $(LFLAGS) $(MFLAGS_SSE3) $(SOURCES) -DLIN64 $(FLAGS_DBUG) mv $@ build powder-sse3: $(SOURCES) $(PYCOMMAND) diff --git a/build/ext_chat.py b/build/ext_chat.py index 8daa7ca75..56a58e56b 100644 --- a/build/ext_chat.py +++ b/build/ext_chat.py @@ -28,7 +28,7 @@ def init(): NICK=name+"[tpt]" IDENT=name+"[tpt]" REALNAME=name - CHANNEL="#foobar7" + CHANNEL="#powder" readbuffer="" def exit(): @@ -57,7 +57,7 @@ def key(keyy) : except: key.pmod=(False,False,False) global typing,typed - print "got %s"%repr(keyy) + #print "got %s"%repr(keyy) ctrl1,ctrl2,alt1,alt2,shift1,shift2=tpt.get_modifier() mod=(ctrl1 or ctrl2,alt1 or alt2,shift1 or shift2) skip=False diff --git a/build/powder b/build/powder new file mode 100755 index 000000000..e356b0906 Binary files /dev/null and b/build/powder differ diff --git a/getheader.py b/getheader.py index 536915e27..020af1f39 100644 --- a/getheader.py +++ b/getheader.py @@ -13,25 +13,52 @@ args="-lpython%s -lm -L%s"%(sys.version[:3],os.path.join(sys.exec_prefix,"lib"," print "\n windows args are" print args,"-I%s"%path -#unsigned char tpt_console_pyc[] = { 0x1B, 0x57}; -lst=[] -compileall.compile_dir("./src/python", force=1) +ext=False +#see if we're on 64bit. +with open("./includes/defines.h") as fid: + for line in fid: + if(line.startswith("#define") and line.count("PYEXT")>0): + print "using external console.py" + ext=True -print "generating pyconsole.h" +if(ext): + print "external" + with open("./src/python/tpt_console.py") as fid: + consolepy=fid.read() + script=""" +import tempfile,os.path,sys +dir=tempfile.gettempdir() +sys.path.append(dir) +tmp=%s +print "making console.py @ %%s"%%os.path.join(dir,"tpt_console.py") +with open(os.path.join(dir,"tpt_console.py"),"w") as fid: + fid.write(tmp) + """%repr(consolepy) + tmp=[hex(ord(char)) for char in script] + out=["unsigned char tpt_console_py[] = {",','.join(tmp),"};"] + with open("./includes/pyconsole.h","w") as fid: + fid.write(''.join(out)) +else: + print "internal" + #unsigned char tpt_console_pyc[] = { 0x1B, 0x57}; + lst=[] + compileall.compile_dir("./src/python", force=1) -fname="./src/python/tpt_console.pyc" -try: - fid=open(fname,"r") -except IOError: - fname="./src/python/tpt_console.pyo" -finally: - fid.close() + print "generating pyconsole.h" -with open(fname,"r") as fid: - for char in fid.read(): - lst.append(hex(ord(char))) -tmp=",".join(lst) -out=''.join(["#include \nunsigned char tpt_console_pyc[] = {",tmp,"};"]) -with open("./includes/pyconsole.h","w") as fid: - fid.write(out) + fname="./src/python/tpt_console.pyc" + try: + fid=open(fname,"r") + except IOError: + fname="./src/python/tpt_console.pyo" + finally: + fid.close() + + with open(fname,"r") as fid: + for char in fid.read(): + lst.append(hex(ord(char))) + tmp=",".join(lst) + out=''.join(["#include \nunsigned char tpt_console_pyc[] = {",tmp,"};"]) + with open("./includes/pyconsole.h","w") as fid: + fid.write(out) print "done" diff --git a/includes/defines.h b/includes/defines.h index 5a55a9db9..2d5b91065 100644 --- a/includes/defines.h +++ b/includes/defines.h @@ -68,6 +68,9 @@ extern unsigned char ZSIZE; #define BRUSH_NUM 2 #define PYCONSOLE +//#define PYEXT +//WARNING pyext must be defined on 64bit! +//also, don't add a comment on that line, it breaks. #ifdef PIX16 typedef unsigned short pixel; diff --git a/includes/pyconsole.h b/includes/pyconsole.h index 765e63dbf..47175c329 100644 --- a/includes/pyconsole.h +++ b/includes/pyconsole.h @@ -1,2 +1 @@ -#include -unsigned char tpt_console_pyc[] = {0x3,0xf3,0xd,0xa,0xde,0x1,0x75,0x4d,0x63,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x73,0xf1,0x4,0x0,0x0,0x64,0x0,0x0,0x64,0x1,0x0,0x6c,0x0,0x0,0x5a,0x0,0x0,0x64,0x0,0x0,0x64,0x2,0x0,0x6c,0x0,0x0,0x54,0x64,0x0,0x0,0x64,0x1,0x0,0x6c,0x1,0x0,0x5a,0x1,0x0,0x64,0x0,0x0,0x64,0x1,0x0,0x6c,0x2,0x0,0x5a,0x2,0x0,0x64,0x0,0x0,0x64,0x1,0x0,0x6c,0x3,0x0,0x5a,0x3,0x0,0x64,0x0,0x0,0x64,0x1,0x0,0x6c,0x4,0x0,0x5a,0x4,0x0,0x65,0x5,0x0,0x5a,0x6,0x0,0x64,0x3,0x0,0x64,0x37,0x1,0x64,0x4,0x0,0x84,0x0,0x0,0x83,0x0,0x0,0x59,0x5a,0x7,0x0,0x65,0x6,0x0,0x65,0x5,0x0,0x6b,0x2,0x0,0x72,0x86,0x0,0x65,0x7,0x0,0x83,0x0,0x0,0x65,0x1,0x0,0x5f,0x8,0x0,0x65,0x7,0x0,0x83,0x0,0x0,0x65,0x1,0x0,0x5f,0x9,0x0,0x6e,0x0,0x0,0x69,0x95,0x0,0x64,0x5,0x0,0x64,0x6,0x0,0x36,0x64,0x7,0x0,0x64,0x8,0x0,0x36,0x64,0x9,0x0,0x64,0xa,0x0,0x36,0x64,0xb,0x0,0x64,0xc,0x0,0x36,0x64,0xd,0x0,0x64,0xe,0x0,0x36,0x64,0xf,0x0,0x64,0x10,0x0,0x36,0x64,0x11,0x0,0x64,0x12,0x0,0x36,0x64,0x13,0x0,0x64,0x14,0x0,0x36,0x64,0x15,0x0,0x64,0x16,0x0,0x36,0x64,0x17,0x0,0x64,0x18,0x0,0x36,0x64,0x19,0x0,0x64,0x1a,0x0,0x36,0x64,0x1b,0x0,0x64,0x1c,0x0,0x36,0x64,0x1d,0x0,0x64,0x1e,0x0,0x36,0x64,0x1f,0x0,0x64,0x20,0x0,0x36,0x64,0x21,0x0,0x64,0x22,0x0,0x36,0x64,0x23,0x0,0x64,0x24,0x0,0x36,0x64,0x25,0x0,0x64,0x26,0x0,0x36,0x64,0x27,0x0,0x64,0x28,0x0,0x36,0x64,0x29,0x0,0x64,0x2a,0x0,0x36,0x64,0x2b,0x0,0x64,0x2c,0x0,0x36,0x64,0x2d,0x0,0x64,0x2e,0x0,0x36,0x64,0x2f,0x0,0x64,0x30,0x0,0x36,0x64,0x31,0x0,0x64,0x32,0x0,0x36,0x64,0x33,0x0,0x64,0x34,0x0,0x36,0x64,0x35,0x0,0x64,0x36,0x0,0x36,0x64,0x37,0x0,0x64,0x38,0x0,0x36,0x64,0x39,0x0,0x64,0x3a,0x0,0x36,0x64,0x3b,0x0,0x64,0x3c,0x0,0x36,0x64,0x3d,0x0,0x64,0x3e,0x0,0x36,0x64,0x3f,0x0,0x64,0x40,0x0,0x36,0x64,0x41,0x0,0x64,0x42,0x0,0x36,0x64,0x43,0x0,0x64,0x44,0x0,0x36,0x64,0x45,0x0,0x64,0x46,0x0,0x36,0x64,0x47,0x0,0x64,0x48,0x0,0x36,0x64,0x49,0x0,0x64,0x4a,0x0,0x36,0x64,0x4b,0x0,0x64,0x4c,0x0,0x36,0x64,0x4d,0x0,0x64,0x4e,0x0,0x36,0x64,0x4f,0x0,0x64,0x50,0x0,0x36,0x64,0x51,0x0,0x64,0x52,0x0,0x36,0x64,0x53,0x0,0x64,0x54,0x0,0x36,0x64,0x55,0x0,0x64,0x56,0x0,0x36,0x64,0x57,0x0,0x64,0x58,0x0,0x36,0x64,0x59,0x0,0x64,0x5a,0x0,0x36,0x64,0x5b,0x0,0x64,0x5c,0x0,0x36,0x64,0x5d,0x0,0x64,0x5e,0x0,0x36,0x64,0x5f,0x0,0x64,0x60,0x0,0x36,0x64,0x61,0x0,0x64,0x62,0x0,0x36,0x64,0x63,0x0,0x64,0x64,0x0,0x36,0x64,0x65,0x0,0x64,0x66,0x0,0x36,0x64,0x67,0x0,0x64,0x68,0x0,0x36,0x64,0x69,0x0,0x64,0x6a,0x0,0x36,0x64,0x6b,0x0,0x64,0x6c,0x0,0x36,0x64,0x6d,0x0,0x64,0x6e,0x0,0x36,0x64,0x6f,0x0,0x64,0x70,0x0,0x36,0x64,0x71,0x0,0x64,0x72,0x0,0x36,0x64,0x73,0x0,0x64,0x74,0x0,0x36,0x64,0x75,0x0,0x64,0x76,0x0,0x36,0x64,0x77,0x0,0x64,0x78,0x0,0x36,0x64,0x79,0x0,0x64,0x7a,0x0,0x36,0x64,0x7b,0x0,0x64,0x7c,0x0,0x36,0x64,0x7d,0x0,0x64,0x7e,0x0,0x36,0x64,0x7f,0x0,0x64,0x80,0x0,0x36,0x64,0x81,0x0,0x64,0x82,0x0,0x36,0x64,0x83,0x0,0x64,0x84,0x0,0x36,0x64,0x85,0x0,0x64,0x86,0x0,0x36,0x64,0x87,0x0,0x64,0x88,0x0,0x36,0x64,0x89,0x0,0x64,0x8a,0x0,0x36,0x64,0x8b,0x0,0x64,0x8c,0x0,0x36,0x64,0x8d,0x0,0x64,0x8e,0x0,0x36,0x64,0x8f,0x0,0x64,0x90,0x0,0x36,0x64,0x91,0x0,0x64,0x92,0x0,0x36,0x64,0x93,0x0,0x64,0x94,0x0,0x36,0x64,0x95,0x0,0x64,0x96,0x0,0x36,0x64,0x97,0x0,0x64,0x98,0x0,0x36,0x64,0x99,0x0,0x64,0x9a,0x0,0x36,0x64,0x9b,0x0,0x64,0x9c,0x0,0x36,0x64,0x9d,0x0,0x64,0x9e,0x0,0x36,0x64,0x9f,0x0,0x64,0xa0,0x0,0x36,0x64,0xa1,0x0,0x64,0xa2,0x0,0x36,0x64,0xa3,0x0,0x64,0xa4,0x0,0x36,0x64,0xa5,0x0,0x64,0xa6,0x0,0x36,0x64,0xa7,0x0,0x64,0xa8,0x0,0x36,0x64,0xa9,0x0,0x64,0xaa,0x0,0x36,0x64,0xab,0x0,0x64,0xac,0x0,0x36,0x64,0xad,0x0,0x64,0xae,0x0,0x36,0x64,0xaf,0x0,0x64,0xb0,0x0,0x36,0x64,0xb1,0x0,0x64,0xb2,0x0,0x36,0x64,0xb3,0x0,0x64,0xb4,0x0,0x36,0x64,0xb5,0x0,0x64,0xb6,0x0,0x36,0x64,0xb7,0x0,0x64,0xb8,0x0,0x36,0x64,0xb9,0x0,0x64,0xba,0x0,0x36,0x64,0xbb,0x0,0x64,0xbc,0x0,0x36,0x64,0xbd,0x0,0x64,0xbe,0x0,0x36,0x64,0xbf,0x0,0x64,0xc0,0x0,0x36,0x64,0xc1,0x0,0x64,0xc2,0x0,0x36,0x64,0xc3,0x0,0x64,0xc4,0x0,0x36,0x64,0xc5,0x0,0x64,0xc6,0x0,0x36,0x64,0xc7,0x0,0x64,0xc8,0x0,0x36,0x64,0xc9,0x0,0x64,0xca,0x0,0x36,0x64,0xcb,0x0,0x64,0xcc,0x0,0x36,0x64,0xcd,0x0,0x64,0xce,0x0,0x36,0x64,0xcf,0x0,0x64,0xd0,0x0,0x36,0x64,0xd1,0x0,0x64,0xd2,0x0,0x36,0x64,0xd3,0x0,0x64,0xd4,0x0,0x36,0x64,0xd5,0x0,0x64,0xd6,0x0,0x36,0x64,0xd7,0x0,0x64,0xd8,0x0,0x36,0x64,0xd9,0x0,0x64,0xda,0x0,0x36,0x64,0xdb,0x0,0x64,0xdc,0x0,0x36,0x64,0xdd,0x0,0x64,0xde,0x0,0x36,0x64,0xdf,0x0,0x64,0xe0,0x0,0x36,0x64,0xe1,0x0,0x64,0xe2,0x0,0x36,0x64,0xe3,0x0,0x64,0xe4,0x0,0x36,0x64,0xe5,0x0,0x64,0xe6,0x0,0x36,0x64,0xe7,0x0,0x64,0xe8,0x0,0x36,0x64,0xe9,0x0,0x64,0xea,0x0,0x36,0x64,0xeb,0x0,0x64,0xec,0x0,0x36,0x64,0xed,0x0,0x64,0xee,0x0,0x36,0x64,0xef,0x0,0x64,0xf0,0x0,0x36,0x64,0xf1,0x0,0x64,0xf2,0x0,0x36,0x64,0xf3,0x0,0x64,0xf4,0x0,0x36,0x64,0xf5,0x0,0x64,0xf6,0x0,0x36,0x64,0xf7,0x0,0x64,0xf8,0x0,0x36,0x64,0xf9,0x0,0x64,0xfa,0x0,0x36,0x64,0xfb,0x0,0x64,0xfc,0x0,0x36,0x64,0xfd,0x0,0x64,0xfe,0x0,0x36,0x64,0xff,0x0,0x64,0x0,0x1,0x36,0x64,0x1,0x1,0x64,0x2,0x1,0x36,0x64,0x3,0x1,0x64,0x4,0x1,0x36,0x64,0x5,0x1,0x64,0x6,0x1,0x36,0x64,0x7,0x1,0x64,0x8,0x1,0x36,0x64,0x9,0x1,0x64,0xa,0x1,0x36,0x64,0xb,0x1,0x64,0xc,0x1,0x36,0x64,0xd,0x1,0x64,0xe,0x1,0x36,0x64,0xf,0x1,0x64,0x10,0x1,0x36,0x64,0x11,0x1,0x64,0x12,0x1,0x36,0x64,0x13,0x1,0x64,0x14,0x1,0x36,0x64,0x15,0x1,0x64,0x16,0x1,0x36,0x64,0x17,0x1,0x64,0x18,0x1,0x36,0x64,0x19,0x1,0x64,0x1a,0x1,0x36,0x64,0x1b,0x1,0x64,0x1c,0x1,0x36,0x64,0x1d,0x1,0x64,0x1e,0x1,0x36,0x64,0x1f,0x1,0x64,0x20,0x1,0x36,0x64,0x21,0x1,0x64,0x22,0x1,0x36,0x64,0x23,0x1,0x64,0x24,0x1,0x36,0x64,0x25,0x1,0x64,0x26,0x1,0x36,0x64,0x27,0x1,0x64,0x28,0x1,0x36,0x64,0x29,0x1,0x64,0x2a,0x1,0x36,0x64,0x2b,0x1,0x64,0x2c,0x1,0x36,0x64,0x2d,0x1,0x64,0x2e,0x1,0x36,0x5a,0xa,0x0,0x64,0x2f,0x1,0x84,0x0,0x0,0x5a,0x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0x0,0x69,0x73,0x7a,0x73,0x69,0x6d,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x70,0x72,0x74,0x69,0x69,0x6e,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x70,0x72,0x74,0x6f,0x69,0x6f,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x70,0x73,0x74,0x65,0x69,0x70,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x70,0x73,0x74,0x73,0x69,0x71,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x61,0x6e,0x61,0x72,0x69,0x72,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x76,0x69,0x6e,0x65,0x69,0x73,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x69,0x6e,0x76,0x69,0x73,0x69,0x74,0x0,0x0,0x0,0x74,0x8,0x0,0x0,0x0,0x65,0x71,0x75,0x61,0x6c,0x76,0x65,0x6c,0x69,0x75,0x0,0x0,0x0,0x74,0x6,0x0,0x0,0x0,0x73,0x70,0x61,0x77,0x6e,0x32,0x69,0x76,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x73,0x70,0x61,0x77,0x6e,0x69,0x77,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x73,0x68,0x6c,0x64,0x31,0x69,0x78,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x73,0x68,0x6c,0x64,0x32,0x69,0x79,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x73,0x68,0x6c,0x64,0x33,0x69,0x7a,0x0,0x0,0x0,0x74,0x5,0x0,0x0,0x0,0x73,0x68,0x6c,0x64,0x34,0x69,0x7b,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x6c,0x6f,0x6c,0x7a,0x69,0x7c,0x0,0x0,0x0,0x74,0x4,0x0,0x0,0x0,0x77,0x69,0x66,0x69,0x69,0x7d,0x0,0x0,0x0,0x74,0x4,0x0,0x0,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x22,0x5f,0x5f,0x6e,0x61,0x6d,0x65,0x5f,0x5f,0x22,0x2c,0x22,0x5f,0x5f,0x64,0x6f,0x63,0x5f,0x5f,0x22,0x2c,0x22,0x5f,0x5f,0x70,0x61,0x63,0x6b,0x61,0x67,0x65,0x5f,0x5f,0x22,0x2c,0x27,0x74,0x70,0x74,0x27,0x2c,0x27,0x63,0x6c,0x65,0x61,0x6e,0x27,0x2c,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x27,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x27,0x2c,0x27,0x66,0x6f,0x72,0x6b,0x27,0x2c,0x27,0x5f,0x66,0x6f,0x72,0x6b,0x27,0x2c,0x27,0x66,0x6f,0x72,0x6b,0x5f,0x73,0x74,0x61,0x74,0x75,0x73,0x27,0x2c,0x27,0x66,0x6f,0x72,0x6b,0x5f,0x75,0x6e,0x62,0x6c,0x6f,0x63,0x6b,0x27,0x2c,0x27,0x73,0x79,0x73,0x27,0x5d,0xa,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x3d,0x7b,0x7d,0xa,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x63,0x6f,0x70,0x79,0x3a,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x5b,0x69,0x74,0x65,0x6d,0x5d,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x73,0x28,0x29,0x5b,0x69,0x74,0x65,0x6d,0x5d,0x74,0x0,0x0,0x0,0x0,0x4e,0x28,0x4,0x0,0x0,0x0,0x74,0x7,0x0,0x0,0x0,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x73,0x74,0x6,0x0,0x0,0x0,0x68,0x61,0x6e,0x64,0x6c,0x65,0x74,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0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x31,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0x2a,0x1,0xa,0x3,0x9,0x2,0x9,0x5,0x9,0xa,0x9,0xa,0x9,0xb,0x6,0x1,0x9,0x5,0x9,0xd}; \ No newline at end of file +unsigned char tpt_console_py[] = {0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x74,0x65,0x6d,0x70,0x66,0x69,0x6c,0x65,0x2c,0x6f,0x73,0x2e,0x70,0x61,0x74,0x68,0x2c,0x73,0x79,0x73,0xa,0x64,0x69,0x72,0x3d,0x74,0x65,0x6d,0x70,0x66,0x69,0x6c,0x65,0x2e,0x67,0x65,0x74,0x74,0x65,0x6d,0x70,0x64,0x69,0x72,0x28,0x29,0xa,0x73,0x79,0x73,0x2e,0x70,0x61,0x74,0x68,0x2e,0x61,0x70,0x70,0x65,0x6e,0x64,0x28,0x64,0x69,0x72,0x29,0xa,0x74,0x6d,0x70,0x3d,0x27,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x74,0x70,0x74,0x5c,0x6e,0x66,0x72,0x6f,0x6d,0x20,0x74,0x70,0x74,0x20,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x2a,0x5c,0x6e,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x73,0x79,0x73,0x5c,0x6e,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x63,0x6f,0x64,0x65,0x5c,0x6e,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x63,0x74,0x79,0x70,0x65,0x73,0x5c,0x6e,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x74,0x72,0x61,0x63,0x65,0x62,0x61,0x63,0x6b,0x5c,0x6e,0x44,0x45,0x42,0x55,0x47,0x3d,0x46,0x61,0x6c,0x73,0x65,0x5c,0x6e,0x5c,0x6e,0x23,0x70,0x72,0x69,0x6e,0x74,0x20,0x22,0x63,0x6f,0x6e,0x73,0x6f,0x6c,0x65,0x20,0x6d,0x6f,0x64,0x75,0x6c,0x65,0x20,0x6c,0x6f,0x61,0x64,0x65,0x64,0x2e,0x22,0x5c,0x6e,0x23,0x72,0x65,0x64,0x69,0x72,0x65,0x63,0x74,0x20,0x73,0x74,0x64,0x6f,0x75,0x74,0x20,0x6c,0x69,0x6b,0x65,0x20,0x74,0x68,0x69,0x73,0x3a,0x5c,0x6e,0x63,0x6c,0x61,0x73,0x73,0x20,0x6c,0x6f,0x67,0x67,0x65,0x72,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x64,0x65,0x66,0x20,0x77,0x72,0x69,0x74,0x65,0x28,0x73,0x65,0x6c,0x66,0x2c,0x74,0x78,0x74,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x78,0x74,0x3d,0x74,0x78,0x74,0x2e,0x73,0x74,0x72,0x69,0x70,0x28,0x29,0x2e,0x73,0x70,0x6c,0x69,0x74,0x28,0x22,0x5c,0x5c,0x6e,0x22,0x29,0x5b,0x2d,0x31,0x5d,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x70,0x72,0x28,0x74,0x78,0x74,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x70,0x74,0x2e,0x6c,0x6f,0x67,0x28,0x74,0x78,0x74,0x29,0x5c,0x6e,0x69,0x66,0x28,0x44,0x45,0x42,0x55,0x47,0x3d,0x3d,0x46,0x61,0x6c,0x73,0x65,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x73,0x79,0x73,0x2e,0x73,0x74,0x64,0x6f,0x75,0x74,0x3d,0x6c,0x6f,0x67,0x67,0x65,0x72,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x73,0x79,0x73,0x2e,0x73,0x74,0x64,0x65,0x72,0x72,0x3d,0x6c,0x6f,0x67,0x67,0x65,0x72,0x28,0x29,0x5c,0x6e,0x5c,0x6e,0x5c,0x6e,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x3d,0x7b,0x22,0x6e,0x6f,0x6e,0x65,0x22,0x3a,0x30,0x2c,0x22,0x64,0x75,0x73,0x74,0x22,0x3a,0x31,0x2c,0x22,0x77,0x61,0x74,0x72,0x22,0x3a,0x32,0x2c,0x22,0x6f,0x69,0x6c,0x22,0x3a,0x33,0x2c,0x22,0x66,0x69,0x72,0x65,0x22,0x3a,0x34,0x2c,0x22,0x73,0x74,0x6e,0x65,0x22,0x3a,0x35,0x2c,0x22,0x6c,0x61,0x76,0x61,0x22,0x3a,0x36,0x2c,0x22,0x67,0x75,0x6e,0x70,0x22,0x3a,0x37,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x6e,0x69,0x74,0x72,0x22,0x3a,0x38,0x2c,0x22,0x63,0x6c,0x6e,0x65,0x22,0x3a,0x39,0x2c,0x22,0x67,0x61,0x73,0x22,0x3a,0x31,0x30,0x2c,0x22,0x70,0x6c,0x65,0x78,0x22,0x3a,0x31,0x31,0x2c,0x22,0x67,0x6f,0x6f,0x22,0x3a,0x31,0x32,0x2c,0x22,0x69,0x63,0x65,0x69,0x22,0x3a,0x31,0x33,0x2c,0x22,0x6d,0x65,0x74,0x6c,0x22,0x3a,0x31,0x34,0x2c,0x22,0x73,0x70,0x72,0x6b,0x22,0x3a,0x31,0x35,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x73,0x6e,0x6f,0x77,0x22,0x3a,0x31,0x36,0x2c,0x22,0x77,0x6f,0x6f,0x64,0x22,0x3a,0x31,0x37,0x2c,0x22,0x6e,0x65,0x75,0x74,0x22,0x3a,0x31,0x38,0x2c,0x22,0x70,0x6c,0x75,0x74,0x22,0x3a,0x31,0x39,0x2c,0x22,0x70,0x6c,0x6e,0x74,0x22,0x3a,0x32,0x30,0x2c,0x22,0x61,0x63,0x69,0x64,0x22,0x3a,0x32,0x31,0x2c,0x22,0x76,0x6f,0x69,0x64,0x22,0x3a,0x32,0x32,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x77,0x74,0x72,0x76,0x22,0x3a,0x32,0x33,0x2c,0x22,0x63,0x6e,0x63,0x74,0x22,0x3a,0x32,0x34,0x2c,0x22,0x64,0x73,0x74,0x77,0x22,0x3a,0x32,0x35,0x2c,0x22,0x73,0x61,0x6c,0x74,0x22,0x3a,0x32,0x36,0x2c,0x22,0x73,0x6c,0x74,0x77,0x22,0x3a,0x32,0x37,0x2c,0x22,0x64,0x6d,0x6e,0x64,0x22,0x3a,0x32,0x38,0x2c,0x22,0x62,0x6d,0x74,0x6c,0x22,0x3a,0x32,0x39,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x62,0x72,0x6d,0x74,0x22,0x3a,0x33,0x30,0x2c,0x22,0x70,0x68,0x6f,0x74,0x22,0x3a,0x33,0x31,0x2c,0x22,0x75,0x72,0x61,0x6e,0x22,0x3a,0x33,0x32,0x2c,0x22,0x77,0x61,0x78,0x22,0x3a,0x33,0x33,0x2c,0x22,0x6d,0x77,0x61,0x78,0x22,0x3a,0x33,0x34,0x2c,0x22,0x70,0x73,0x63,0x6e,0x22,0x3a,0x33,0x35,0x2c,0x22,0x6e,0x73,0x63,0x6e,0x22,0x3a,0x33,0x36,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x6c,0x6e,0x74,0x67,0x22,0x3a,0x33,0x37,0x2c,0x22,0x69,0x6e,0x73,0x6c,0x22,0x3a,0x33,0x38,0x2c,0x22,0x62,0x68,0x6f,0x6c,0x22,0x3a,0x33,0x39,0x2c,0x22,0x77,0x68,0x6f,0x6c,0x22,0x3a,0x34,0x30,0x2c,0x22,0x72,0x62,0x64,0x6d,0x22,0x3a,0x34,0x31,0x2c,0x22,0x6c,0x72,0x62,0x64,0x22,0x3a,0x34,0x32,0x2c,0x22,0x6e,0x74,0x63,0x74,0x22,0x3a,0x34,0x33,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x73,0x61,0x6e,0x64,0x22,0x3a,0x34,0x34,0x2c,0x22,0x67,0x6c,0x61,0x73,0x22,0x3a,0x34,0x35,0x2c,0x22,0x70,0x74,0x63,0x74,0x22,0x3a,0x34,0x36,0x2c,0x22,0x62,0x67,0x6c,0x61,0x22,0x3a,0x34,0x37,0x2c,0x22,0x74,0x68,0x64,0x72,0x22,0x3a,0x34,0x38,0x2c,0x22,0x70,0x6c,0x73,0x6d,0x22,0x3a,0x34,0x39,0x2c,0x22,0x65,0x74,0x72,0x64,0x22,0x3a,0x35,0x30,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x6e,0x69,0x63,0x65,0x22,0x3a,0x35,0x31,0x2c,0x22,0x6e,0x62,0x6c,0x65,0x22,0x3a,0x35,0x32,0x2c,0x22,0x62,0x74,0x72,0x79,0x22,0x3a,0x35,0x33,0x2c,0x22,0x6c,0x63,0x72,0x79,0x22,0x3a,0x35,0x34,0x2c,0x22,0x73,0x74,0x6b,0x6d,0x22,0x3a,0x35,0x35,0x2c,0x22,0x73,0x77,0x63,0x68,0x22,0x3a,0x35,0x36,0x2c,0x22,0x73,0x6d,0x6b,0x65,0x22,0x3a,0x35,0x37,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x64,0x65,0x73,0x6c,0x22,0x3a,0x35,0x38,0x2c,0x22,0x63,0x6f,0x61,0x6c,0x22,0x3a,0x35,0x39,0x2c,0x22,0x6c,0x6f,0x32,0x22,0x3a,0x36,0x30,0x2c,0x22,0x6f,0x32,0x22,0x3a,0x36,0x31,0x2c,0x22,0x69,0x6e,0x77,0x72,0x22,0x3a,0x36,0x32,0x2c,0x22,0x79,0x65,0x73,0x74,0x22,0x3a,0x36,0x33,0x2c,0x22,0x64,0x79,0x73,0x74,0x22,0x3a,0x36,0x34,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x74,0x68,0x72,0x6d,0x22,0x3a,0x36,0x35,0x2c,0x22,0x67,0x6c,0x6f,0x77,0x22,0x3a,0x36,0x36,0x2c,0x22,0x62,0x72,0x63,0x6b,0x22,0x3a,0x36,0x37,0x2c,0x22,0x68,0x66,0x6c,0x6d,0x22,0x3a,0x36,0x38,0x2c,0x22,0x66,0x69,0x72,0x77,0x22,0x3a,0x36,0x39,0x2c,0x22,0x66,0x75,0x73,0x65,0x22,0x3a,0x37,0x30,0x2c,0x22,0x66,0x73,0x65,0x70,0x22,0x3a,0x37,0x31,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x61,0x6d,0x74,0x72,0x22,0x3a,0x37,0x32,0x2c,0x22,0x62,0x63,0x6f,0x6c,0x22,0x3a,0x37,0x33,0x2c,0x22,0x70,0x63,0x6c,0x6e,0x22,0x3a,0x37,0x34,0x2c,0x22,0x68,0x73,0x77,0x63,0x22,0x3a,0x37,0x35,0x2c,0x22,0x69,0x72,0x6f,0x6e,0x22,0x3a,0x37,0x36,0x2c,0x22,0x6d,0x6f,0x72,0x74,0x22,0x3a,0x37,0x37,0x2c,0x22,0x67,0x6f,0x6c,0x22,0x3a,0x37,0x38,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x68,0x6c,0x69,0x66,0x22,0x3a,0x37,0x39,0x2c,0x22,0x61,0x73,0x69,0x6d,0x22,0x3a,0x38,0x30,0x2c,0x22,0x32,0x78,0x32,0x22,0x3a,0x38,0x31,0x2c,0x22,0x64,0x61,0x6e,0x69,0x22,0x3a,0x38,0x32,0x2c,0x22,0x61,0x6d,0x6f,0x65,0x22,0x3a,0x38,0x33,0x2c,0x22,0x6d,0x6f,0x76,0x65,0x22,0x3a,0x38,0x34,0x2c,0x22,0x70,0x67,0x6f,0x6c,0x22,0x3a,0x38,0x35,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x64,0x6d,0x6f,0x65,0x22,0x3a,0x38,0x36,0x2c,0x22,0x33,0x34,0x22,0x3a,0x38,0x37,0x2c,0x22,0x6c,0x6c,0x69,0x66,0x22,0x3a,0x38,0x38,0x2c,0x22,0x73,0x74,0x61,0x6e,0x22,0x3a,0x38,0x39,0x2c,0x22,0x73,0x70,0x6e,0x67,0x22,0x3a,0x39,0x30,0x2c,0x22,0x72,0x69,0x6d,0x65,0x22,0x3a,0x39,0x31,0x2c,0x22,0x66,0x6f,0x67,0x22,0x3a,0x39,0x32,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x62,0x63,0x6c,0x6e,0x22,0x3a,0x39,0x33,0x2c,0x22,0x6c,0x6f,0x76,0x65,0x22,0x3a,0x39,0x34,0x2c,0x22,0x64,0x65,0x75,0x74,0x22,0x3a,0x39,0x35,0x2c,0x22,0x77,0x61,0x72,0x70,0x22,0x3a,0x39,0x36,0x2c,0x22,0x70,0x75,0x6d,0x70,0x22,0x3a,0x39,0x37,0x2c,0x22,0x66,0x77,0x72,0x6b,0x22,0x3a,0x39,0x38,0x2c,0x22,0x70,0x69,0x70,0x65,0x22,0x3a,0x39,0x39,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x66,0x72,0x7a,0x7a,0x22,0x3a,0x31,0x30,0x30,0x2c,0x22,0x66,0x72,0x7a,0x77,0x22,0x3a,0x31,0x30,0x31,0x2c,0x22,0x67,0x72,0x61,0x76,0x22,0x3a,0x31,0x30,0x32,0x2c,0x22,0x62,0x69,0x7a,0x72,0x22,0x3a,0x31,0x30,0x33,0x2c,0x22,0x62,0x69,0x7a,0x72,0x67,0x22,0x3a,0x31,0x30,0x34,0x2c,0x22,0x62,0x69,0x7a,0x72,0x73,0x22,0x3a,0x31,0x30,0x35,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x69,0x6e,0x73,0x74,0x22,0x3a,0x31,0x30,0x36,0x2c,0x22,0x69,0x73,0x6f,0x7a,0x22,0x3a,0x31,0x30,0x37,0x2c,0x22,0x69,0x73,0x7a,0x73,0x22,0x3a,0x31,0x30,0x38,0x2c,0x22,0x70,0x72,0x74,0x69,0x22,0x3a,0x31,0x30,0x39,0x2c,0x22,0x70,0x72,0x74,0x6f,0x22,0x3a,0x31,0x31,0x30,0x2c,0x22,0x70,0x73,0x74,0x65,0x22,0x3a,0x31,0x31,0x31,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x70,0x73,0x74,0x73,0x22,0x3a,0x31,0x31,0x32,0x2c,0x22,0x61,0x6e,0x61,0x72,0x22,0x3a,0x31,0x31,0x33,0x2c,0x22,0x76,0x69,0x6e,0x65,0x22,0x3a,0x31,0x31,0x34,0x2c,0x22,0x69,0x6e,0x76,0x69,0x73,0x22,0x3a,0x31,0x31,0x35,0x2c,0x22,0x65,0x71,0x75,0x61,0x6c,0x76,0x65,0x6c,0x22,0x3a,0x31,0x31,0x36,0x2c,0x22,0x73,0x70,0x61,0x77,0x6e,0x32,0x22,0x3a,0x31,0x31,0x37,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x73,0x70,0x61,0x77,0x6e,0x22,0x3a,0x31,0x31,0x38,0x2c,0x22,0x73,0x68,0x6c,0x64,0x31,0x22,0x3a,0x31,0x31,0x39,0x2c,0x22,0x73,0x68,0x6c,0x64,0x32,0x22,0x3a,0x31,0x32,0x30,0x2c,0x22,0x73,0x68,0x6c,0x64,0x33,0x22,0x3a,0x31,0x32,0x31,0x2c,0x22,0x73,0x68,0x6c,0x64,0x34,0x22,0x3a,0x31,0x32,0x32,0x2c,0x22,0x6c,0x6f,0x6c,0x7a,0x22,0x3a,0x31,0x32,0x33,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x77,0x69,0x66,0x69,0x22,0x3a,0x31,0x32,0x34,0x2c,0x22,0x66,0x69,0x6c,0x74,0x22,0x3a,0x31,0x32,0x35,0x2c,0x22,0x61,0x72,0x61,0x79,0x22,0x3a,0x31,0x32,0x36,0x2c,0x22,0x62,0x72,0x61,0x79,0x22,0x3a,0x31,0x32,0x37,0x2c,0x22,0x73,0x74,0x6b,0x6d,0x32,0x22,0x3a,0x31,0x32,0x38,0x2c,0x22,0x62,0x6f,0x6d,0x62,0x22,0x3a,0x31,0x32,0x39,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x63,0x35,0x22,0x3a,0x31,0x33,0x30,0x2c,0x22,0x73,0x69,0x6e,0x67,0x22,0x3a,0x31,0x33,0x31,0x2c,0x22,0x71,0x72,0x74,0x7a,0x22,0x3a,0x31,0x33,0x32,0x2c,0x22,0x70,0x71,0x72,0x74,0x22,0x3a,0x31,0x33,0x33,0x2c,0x22,0x73,0x65,0x65,0x64,0x22,0x3a,0x31,0x33,0x34,0x2c,0x22,0x6d,0x61,0x7a,0x65,0x22,0x3a,0x31,0x33,0x35,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x63,0x6f,0x61,0x67,0x22,0x3a,0x31,0x33,0x36,0x2c,0x22,0x77,0x61,0x6c,0x6c,0x22,0x3a,0x31,0x33,0x37,0x2c,0x22,0x67,0x6e,0x61,0x72,0x22,0x3a,0x31,0x33,0x38,0x2c,0x22,0x72,0x65,0x70,0x6c,0x22,0x3a,0x31,0x33,0x39,0x2c,0x22,0x6d,0x79,0x73,0x74,0x22,0x3a,0x31,0x34,0x30,0x2c,0x22,0x62,0x6f,0x79,0x6c,0x22,0x3a,0x31,0x34,0x31,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x6c,0x6f,0x74,0x65,0x22,0x3a,0x31,0x34,0x32,0x2c,0x22,0x66,0x72,0x67,0x32,0x22,0x3a,0x31,0x34,0x33,0x2c,0x22,0x73,0x74,0x61,0x72,0x22,0x3a,0x31,0x34,0x34,0x2c,0x22,0x66,0x72,0x6f,0x67,0x22,0x3a,0x31,0x34,0x35,0x2c,0x22,0x62,0x72,0x61,0x6e,0x22,0x3a,0x31,0x34,0x36,0x2c,0x22,0x77,0x69,0x6e,0x64,0x22,0x3a,0x31,0x34,0x37,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x6e,0x75,0x6d,0x22,0x3a,0x31,0x34,0x38,0x7d,0x5c,0x6e,0x5c,0x6e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x66,0x6f,0x72,0x6b,0x5f,0x75,0x6e,0x62,0x6c,0x6f,0x63,0x6b,0x28,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x70,0x61,0x73,0x73,0x23,0x69,0x20,0x6e,0x65,0x65,0x64,0x20,0x74,0x6f,0x20,0x69,0x6d,0x70,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x20,0x74,0x68,0x69,0x73,0x20,0x73,0x6f,0x6d,0x65,0x20,0x64,0x61,0x79,0x2e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x74,0x72,0x61,0x63,0x65,0x62,0x61,0x63,0x6b,0x2e,0x70,0x72,0x69,0x6e,0x74,0x5f,0x65,0x78,0x63,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x3d,0x74,0x72,0x61,0x63,0x65,0x62,0x61,0x63,0x6b,0x2e,0x66,0x6f,0x72,0x6d,0x61,0x74,0x5f,0x65,0x78,0x63,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x73,0x79,0x73,0x2e,0x73,0x74,0x64,0x6f,0x75,0x74,0x2e,0x77,0x72,0x69,0x74,0x65,0x28,0x65,0x72,0x72,0x29,0x5c,0x6e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x63,0x6c,0x65,0x61,0x6e,0x28,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x23,0x61,0x64,0x64,0x20,0x61,0x6e,0x79,0x20,0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e,0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x6d,0x75,0x73,0x74,0x20,0x62,0x65,0x20,0x72,0x65,0x61,0x63,0x68,0x61,0x62,0x6c,0x65,0x20,0x68,0x65,0x72,0x65,0x2e,0x5c,0x6e,0x20,0x20,0x20,0x20,0x22,0x22,0x22,0x63,0x6f,0x70,0x79,0x3d,0x5b,0x22,0x5f,0x5f,0x62,0x75,0x69,0x6c,0x74,0x69,0x6e,0x73,0x5f,0x5f,0x22,0x2c,0x22,0x5f,0x5f,0x6e,0x61,0x6d,0x65,0x5f,0x5f,0x22,0x2c,0x22,0x5f,0x5f,0x64,0x6f,0x63,0x5f,0x5f,0x22,0x2c,0x22,0x5f,0x5f,0x70,0x61,0x63,0x6b,0x61,0x67,0x65,0x5f,0x5f,0x22,0x2c,0x5c,0x27,0x74,0x70,0x74,0x5c,0x27,0x2c,0x5c,0x27,0x63,0x6c,0x65,0x61,0x6e,0x5c,0x27,0x2c,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5c,0x27,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x5c,0x27,0x2c,0x5c,0x27,0x66,0x6f,0x72,0x6b,0x5c,0x27,0x2c,0x5c,0x27,0x5f,0x66,0x6f,0x72,0x6b,0x5c,0x27,0x2c,0x5c,0x27,0x66,0x6f,0x72,0x6b,0x5f,0x73,0x74,0x61,0x74,0x75,0x73,0x5c,0x27,0x2c,0x5c,0x27,0x66,0x6f,0x72,0x6b,0x5f,0x75,0x6e,0x62,0x6c,0x6f,0x63,0x6b,0x5c,0x27,0x2c,0x5c,0x27,0x73,0x79,0x73,0x5c,0x27,0x5d,0x5c,0x6e,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x3d,0x7b,0x7d,0x5c,0x6e,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x63,0x6f,0x70,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x5b,0x69,0x74,0x65,0x6d,0x5d,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x73,0x28,0x29,0x5b,0x69,0x74,0x65,0x6d,0x5d,0x22,0x22,0x22,0x5c,0x6e,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x73,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x62,0x75,0x66,0x3d,0x22,0x22,0x5c,0x6e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x28,0x74,0x78,0x74,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x3d,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x6c,0x65,0x61,0x6e,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x68,0x61,0x6e,0x64,0x6c,0x65,0x28,0x74,0x78,0x74,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x45,0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x20,0x61,0x73,0x20,0x65,0x78,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5c,0x6e,0x64,0x65,0x66,0x20,0x5f,0x68,0x61,0x6e,0x64,0x6c,0x65,0x28,0x74,0x78,0x74,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x23,0x70,0x72,0x69,0x6e,0x74,0x20,0x22,0x68,0x61,0x6e,0x64,0x6c,0x69,0x6e,0x67,0x20,0x5c,0x27,0x25,0x73,0x5c,0x27,0x22,0x25,0x74,0x78,0x74,0x5c,0x6e,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x79,0x73,0x2e,0x73,0x74,0x64,0x6f,0x75,0x74,0x2e,0x77,0x72,0x69,0x74,0x65,0x28,0x72,0x65,0x70,0x72,0x28,0x65,0x76,0x61,0x6c,0x28,0x74,0x78,0x74,0x2c,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x29,0x29,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x78,0x65,0x63,0x20,0x74,0x78,0x74,0x20,0x69,0x6e,0x20,0x68,0x61,0x6e,0x64,0x6c,0x65,0x2e,0x67,0x6c,0x6f,0x62,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x45,0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x20,0x61,0x73,0x20,0x65,0x78,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x5c,0x6e,0x5c,0x6e,0x5c,0x6e,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x3d,0x5b,0x5d,0x5c,0x6e,0x64,0x65,0x66,0x20,0x6c,0x6f,0x61,0x64,0x65,0x78,0x74,0x28,0x66,0x6e,0x61,0x6d,0x65,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x78,0x74,0x3d,0x5f,0x5f,0x69,0x6d,0x70,0x6f,0x72,0x74,0x5f,0x5f,0x28,0x66,0x6e,0x61,0x6d,0x65,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x65,0x78,0x74,0x2e,0x69,0x6e,0x69,0x74,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x2e,0x61,0x70,0x70,0x65,0x6e,0x64,0x28,0x65,0x78,0x74,0x29,0x5c,0x6e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x6b,0x65,0x79,0x70,0x72,0x65,0x73,0x73,0x28,0x6b,0x65,0x79,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x3d,0x5b,0x5d,0x5c,0x6e,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x74,0x65,0x6d,0x2e,0x6b,0x65,0x79,0x28,0x6b,0x65,0x79,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x45,0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x20,0x61,0x73,0x20,0x65,0x78,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x2e,0x61,0x70,0x70,0x65,0x6e,0x64,0x28,0x69,0x74,0x65,0x6d,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x74,0x65,0x6d,0x2e,0x65,0x78,0x69,0x74,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x2e,0x72,0x65,0x6d,0x6f,0x76,0x65,0x28,0x69,0x74,0x65,0x6d,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5c,0x6e,0x5c,0x6e,0x64,0x65,0x66,0x20,0x73,0x74,0x65,0x70,0x28,0x29,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x3d,0x5b,0x5d,0x5c,0x6e,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x74,0x65,0x6d,0x2e,0x73,0x74,0x65,0x70,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x45,0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x20,0x61,0x73,0x20,0x65,0x78,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x2e,0x61,0x70,0x70,0x65,0x6e,0x64,0x28,0x69,0x74,0x65,0x6d,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x66,0x6f,0x72,0x20,0x69,0x74,0x65,0x6d,0x20,0x69,0x6e,0x20,0x75,0x6e,0x6c,0x6f,0x61,0x64,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x72,0x79,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x74,0x65,0x6d,0x2e,0x65,0x78,0x69,0x74,0x28,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x45,0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x20,0x61,0x73,0x20,0x65,0x78,0x3a,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x72,0x72,0x6f,0x72,0x28,0x65,0x78,0x29,0x5c,0x6e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x2e,0x72,0x65,0x6d,0x6f,0x76,0x65,0x28,0x69,0x74,0x65,0x6d,0x29,0x5c,0x6e,0x27,0xa,0x70,0x72,0x69,0x6e,0x74,0x20,0x22,0x6d,0x61,0x6b,0x69,0x6e,0x67,0x20,0x63,0x6f,0x6e,0x73,0x6f,0x6c,0x65,0x2e,0x70,0x79,0x20,0x40,0x20,0x25,0x73,0x22,0x25,0x6f,0x73,0x2e,0x70,0x61,0x74,0x68,0x2e,0x6a,0x6f,0x69,0x6e,0x28,0x64,0x69,0x72,0x2c,0x22,0x74,0x70,0x74,0x5f,0x63,0x6f,0x6e,0x73,0x6f,0x6c,0x65,0x2e,0x70,0x79,0x22,0x29,0xa,0x77,0x69,0x74,0x68,0x20,0x6f,0x70,0x65,0x6e,0x28,0x6f,0x73,0x2e,0x70,0x61,0x74,0x68,0x2e,0x6a,0x6f,0x69,0x6e,0x28,0x64,0x69,0x72,0x2c,0x22,0x74,0x70,0x74,0x5f,0x63,0x6f,0x6e,0x73,0x6f,0x6c,0x65,0x2e,0x70,0x79,0x22,0x29,0x2c,0x22,0x77,0x22,0x29,0x20,0x61,0x73,0x20,0x66,0x69,0x64,0x3a,0xa,0x20,0x20,0x20,0x20,0x66,0x69,0x64,0x2e,0x77,0x72,0x69,0x74,0x65,0x28,0x74,0x6d,0x70,0x29,0xa,0x20,0x20,0x20,0x20}; \ No newline at end of file diff --git a/src/main.c b/src/main.c index 2323b9794..0a97bf5ee 100644 --- a/src/main.c +++ b/src/main.c @@ -1213,6 +1213,7 @@ emb_create(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",create_part(-1,x,y,t)); } //sys_pause = !sys_pause +static PyObject* emb_pause(PyObject *self, PyObject *args) { int x,y,t; @@ -1223,6 +1224,7 @@ emb_pause(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_unpause(PyObject *self, PyObject *args) { int x,y,t; @@ -1233,6 +1235,7 @@ emb_unpause(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_toggle_pause(PyObject *self, PyObject *args) { int x,y,t; @@ -1245,6 +1248,7 @@ emb_toggle_pause(PyObject *self, PyObject *args) //console_mode +static PyObject* emb_toggle_console(PyObject *self, PyObject *args) { int x,y,t; @@ -1255,6 +1259,7 @@ emb_toggle_console(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_open_console(PyObject *self, PyObject *args) { int x,y,t; @@ -1265,6 +1270,7 @@ emb_open_console(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_close_console(PyObject *self, PyObject *args) { int x,y,t; @@ -1275,7 +1281,7 @@ emb_close_console(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } - +static PyObject* emb_log(PyObject *self, PyObject *args) { char *buffer; @@ -1289,6 +1295,7 @@ emb_log(PyObject *self, PyObject *args) char console_more=0; +static PyObject* emb_console_more(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":log")) @@ -1298,6 +1305,7 @@ emb_console_more(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_console_less(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":log")) @@ -1309,7 +1317,7 @@ emb_console_less(PyObject *self, PyObject *args) //drawtext(vid_buf, 15, 175-(cc*12), currentcommand->command, 255, 255, 255, 255); - +static PyObject* emb_reset_pressure(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":reset_pressure")) @@ -1323,6 +1331,7 @@ emb_reset_pressure(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_reset_velocity(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":reset_velocity")) @@ -1337,6 +1346,7 @@ emb_reset_velocity(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_reset_sparks(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":reset_sparks")) @@ -1353,6 +1363,7 @@ emb_reset_sparks(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_set_life(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1393,6 +1404,7 @@ emb_set_life(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_type(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j=-1,x=-1,y=-1; @@ -1435,6 +1447,7 @@ emb_set_type(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_temp(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1475,6 +1488,7 @@ emb_set_temp(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_tmp(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1515,6 +1529,7 @@ emb_set_tmp(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_x(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1556,6 +1571,7 @@ emb_set_x(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_y(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1596,6 +1612,7 @@ emb_set_y(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_ctype(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1639,6 +1656,7 @@ emb_set_ctype(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_vx(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1679,6 +1697,7 @@ emb_set_vx(PyObject *self, PyObject *args, PyObject *keywds) return Py_BuildValue("i",1); } +static PyObject* emb_set_vy(PyObject *self, PyObject *args, PyObject *keywds) { int i = -1,life,j,x=-1,y=-1; @@ -1718,6 +1737,8 @@ emb_set_vy(PyObject *self, PyObject *args, PyObject *keywds) } return Py_BuildValue("i",1); } + +static PyObject* emb_get_pmap(PyObject *self, PyObject *args) { int x,y; @@ -1729,6 +1750,8 @@ emb_get_pmap(PyObject *self, PyObject *args) return Py_BuildValue("I",pmap[y][x]); } + +static PyObject* emb_get_prop(PyObject *self, PyObject *args) { int i; @@ -1761,6 +1784,7 @@ emb_get_prop(PyObject *self, PyObject *args) return Py_BuildValue("i",-1); } +static PyObject* emb_draw_pixel(PyObject *self, PyObject *args) { int x,y,r,g,b,a; @@ -1778,6 +1802,7 @@ emb_draw_pixel(PyObject *self, PyObject *args) } //drawtext(pixel *vid, int x, int y, const char *s, int r, int g, int b, int a) +static PyObject* emb_draw_text(PyObject *self, PyObject *args) { int x,y,r,g,b,a; @@ -1794,6 +1819,7 @@ emb_draw_text(PyObject *self, PyObject *args) } //drawrect(pixel *vid, int x, int y, int w, int h, int r, int g, int b, int a) +static PyObject* emb_draw_rect(PyObject *self, PyObject *args) { int x,y,w,h,r,g,b,a; @@ -1809,6 +1835,7 @@ emb_draw_rect(PyObject *self, PyObject *args) return Py_BuildValue("i",-1); } +static PyObject* emb_draw_fillrect(PyObject *self, PyObject *args) { int x,y,w,h,r,g,b,a; @@ -1823,7 +1850,9 @@ emb_draw_fillrect(PyObject *self, PyObject *args) } return Py_BuildValue("i",-1); } + //int textwidth(char *s) +static PyObject* emb_get_width(PyObject *self, PyObject *args) { char *txt; @@ -1833,6 +1862,7 @@ emb_get_width(PyObject *self, PyObject *args) } //SDL_GetMouseState(&x, &y) +static PyObject* emb_get_mouse(PyObject *self, PyObject *args) { int x,y,mask,b1,b2,b3; @@ -1846,6 +1876,7 @@ emb_get_mouse(PyObject *self, PyObject *args) } //svf_name +static PyObject* emb_get_name(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":get_name")) @@ -1856,6 +1887,7 @@ emb_get_name(PyObject *self, PyObject *args) return Py_BuildValue("s",""); } +static PyObject* emb_shortcuts_disable(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":shortcuts_disable")) @@ -1865,6 +1897,7 @@ emb_shortcuts_disable(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_shortcuts_enable(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":shortcuts_enable")) @@ -1874,6 +1907,7 @@ emb_shortcuts_enable(PyObject *self, PyObject *args) return Py_BuildValue("i",1); } +static PyObject* emb_get_modifier(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args, ":get_modifier")) @@ -1882,40 +1916,40 @@ emb_get_modifier(PyObject *self, PyObject *args) } static PyMethodDef EmbMethods[] = { //WARNING! don't forget to register your function here! - {"create", emb_create, METH_VARARGS|METH_KEYWORDS, "create a particle."}, - {"log", emb_log, METH_VARARGS, "logs an error string to the console."}, - {"reset_pressure", emb_reset_pressure, METH_VARARGS, "resets all the pressure."}, - {"reset_velocity", emb_reset_velocity, METH_VARARGS, "resets all the velocity."}, - {"reset_sparks", emb_reset_sparks, METH_VARARGS, "resets all the sparks."}, - {"set_life", emb_set_life, METH_VARARGS|METH_KEYWORDS, "sets life of a specified particle."}, - {"set_type", emb_set_type, METH_VARARGS|METH_KEYWORDS, "sets type of a specified particle."}, - {"set_temp", emb_set_temp, METH_VARARGS|METH_KEYWORDS, "sets temp of a specified particle."}, - {"set_tmp", emb_set_tmp, METH_VARARGS|METH_KEYWORDS, "sets tmp of a specified particle."}, - {"set_x", emb_set_x, METH_VARARGS|METH_KEYWORDS, "sets x of a specified particle."}, - {"set_y", emb_set_y, METH_VARARGS|METH_KEYWORDS, "sets y of a specified particle."}, - {"set_ctype", emb_set_y, METH_VARARGS|METH_KEYWORDS, "sets ctype of a specified particle."}, - {"set_vx", emb_set_vx, METH_VARARGS|METH_KEYWORDS, "sets vx of a specified particle."}, - {"set_vy", emb_set_vy, METH_VARARGS|METH_KEYWORDS, "sets vy of a specified particle."}, - {"pause", emb_pause, METH_VARARGS, "pause the game."}, - {"unpause", emb_unpause, METH_VARARGS, "unpause the game."}, - {"pause_toggle", emb_toggle_pause, METH_VARARGS, "toggle game pause."}, - {"console_open", emb_open_console, METH_VARARGS, "open the game console."}, - {"console_close", emb_close_console, METH_VARARGS, "close the game console."}, - {"console_toggle", emb_toggle_console, METH_VARARGS, "toggle the game console."}, - {"console_more", emb_console_more, METH_VARARGS, "turns the more indicator on."}, - {"console_less", emb_console_less, METH_VARARGS, "turns the more indicator off."}, - {"get_pmap", emb_get_pmap, METH_VARARGS, "get the pmap value."}, - {"get_prop", emb_get_prop, METH_VARARGS, "get some properties."}, - {"draw_pixel", emb_draw_pixel, METH_VARARGS, "draw a pixel."}, - {"draw_text", emb_draw_text, METH_VARARGS, "draw some text."}, - {"draw_rect", emb_draw_rect, METH_VARARGS, "draw a rect."}, - {"draw_fillrect", emb_draw_fillrect, METH_VARARGS, "draw a rect."}, - {"get_width", emb_get_width, METH_VARARGS, "get string width."}, - {"get_mouse", emb_get_mouse, METH_VARARGS, "get mouse status."}, - {"get_name", emb_get_name, METH_VARARGS, "get name of logged in user"}, - {"shortcuts_disable", emb_shortcuts_disable, METH_VARARGS, "disable keyboard shortcuts"}, - {"shortcuts_enable", emb_shortcuts_enable, METH_VARARGS, "enable keyboard shortcuts"}, - {"get_modifier", emb_get_modifier, METH_VARARGS, "get pressed modifier keys"}, + {"create", (PyCFunction)emb_create, METH_VARARGS|METH_KEYWORDS, "create a particle."}, + {"log", (PyCFunction)emb_log, METH_VARARGS, "logs an error string to the console."}, + {"reset_pressure", (PyCFunction)emb_reset_pressure, METH_VARARGS, "resets all the pressure."}, + {"reset_velocity", (PyCFunction)emb_reset_velocity, METH_VARARGS, "resets all the velocity."}, + {"reset_sparks", (PyCFunction)emb_reset_sparks, METH_VARARGS, "resets all the sparks."}, + {"set_life", (PyCFunction)emb_set_life, METH_VARARGS|METH_KEYWORDS, "sets life of a specified particle."}, + {"set_type", (PyCFunction)emb_set_type, METH_VARARGS|METH_KEYWORDS, "sets type of a specified particle."}, + {"set_temp", (PyCFunction)emb_set_temp, METH_VARARGS|METH_KEYWORDS, "sets temp of a specified particle."}, + {"set_tmp", (PyCFunction)emb_set_tmp, METH_VARARGS|METH_KEYWORDS, "sets tmp of a specified particle."}, + {"set_x", (PyCFunction)emb_set_x, METH_VARARGS|METH_KEYWORDS, "sets x of a specified particle."}, + {"set_y", (PyCFunction)emb_set_y, METH_VARARGS|METH_KEYWORDS, "sets y of a specified particle."}, + {"set_ctype", (PyCFunction)emb_set_y, METH_VARARGS|METH_KEYWORDS, "sets ctype of a specified particle."}, + {"set_vx", (PyCFunction)emb_set_vx, METH_VARARGS|METH_KEYWORDS, "sets vx of a specified particle."}, + {"set_vy", (PyCFunction)emb_set_vy, METH_VARARGS|METH_KEYWORDS, "sets vy of a specified particle."}, + {"pause", (PyCFunction)emb_pause, METH_VARARGS, "pause the game."}, + {"unpause", (PyCFunction)emb_unpause, METH_VARARGS, "unpause the game."}, + {"pause_toggle", (PyCFunction)emb_toggle_pause, METH_VARARGS, "toggle game pause."}, + {"console_open", (PyCFunction)emb_open_console, METH_VARARGS, "open the game console."}, + {"console_close", (PyCFunction)emb_close_console, METH_VARARGS, "close the game console."}, + {"console_toggle", (PyCFunction)emb_toggle_console, METH_VARARGS, "toggle the game console."}, + {"console_more", (PyCFunction)emb_console_more, METH_VARARGS, "turns the more indicator on."}, + {"console_less", (PyCFunction)emb_console_less, METH_VARARGS, "turns the more indicator off."}, + {"get_pmap", (PyCFunction)emb_get_pmap, METH_VARARGS, "get the pmap value."}, + {"get_prop", (PyCFunction)emb_get_prop, METH_VARARGS, "get some properties."}, + {"draw_pixel", (PyCFunction)emb_draw_pixel, METH_VARARGS, "draw a pixel."}, + {"draw_text", (PyCFunction)emb_draw_text, METH_VARARGS, "draw some text."}, + {"draw_rect", (PyCFunction)emb_draw_rect, METH_VARARGS, "draw a rect."}, + {"draw_fillrect", (PyCFunction)emb_draw_fillrect, METH_VARARGS, "draw a rect."}, + {"get_width", (PyCFunction)emb_get_width, METH_VARARGS, "get string width."}, + {"get_mouse", (PyCFunction)emb_get_mouse, METH_VARARGS, "get mouse status."}, + {"get_name", (PyCFunction)emb_get_name, METH_VARARGS, "get name of logged in user"}, + {"shortcuts_disable", (PyCFunction)emb_shortcuts_disable, METH_VARARGS, "disable keyboard shortcuts"}, + {"shortcuts_enable", (PyCFunction)emb_shortcuts_enable, METH_VARARGS, "enable keyboard shortcuts"}, + {"get_modifier", (PyCFunction)emb_get_modifier, METH_VARARGS, "get pressed modifier keys"}, {NULL, NULL, 0, NULL} }; #endif @@ -1973,8 +2007,16 @@ int main(int argc, char *argv[]) PyRun_SimpleString("import sys\nsys.path.append('.')"); PyRun_SimpleString("print 'python present.'"); //load the console module and whatnot + #ifdef PYEXT + PyRun_SimpleString(tpt_console_py); + printf("using external python console file.\n"); + pname=PyString_FromString("tpt_console");//create string object + pmodule = PyImport_Import(pname);//import module + Py_DECREF(pname);//throw away string + #else PyObject *tpt_console_obj = PyMarshal_ReadObjectFromString(tpt_console_pyc+8, sizeof(tpt_console_pyc)-8); pmodule=PyImport_ExecCodeModule("tpt_console", tpt_console_obj); + #endif if(pmodule!=NULL) { pfunc=PyObject_GetAttrString(pmodule,"handle");//get the handler function @@ -3610,6 +3652,10 @@ int main(int argc, char *argv[]) } SDL_CloseAudio(); http_done(); + PyRun_SimpleString("import os,tempfile,os.path\ntry:\n os.remove(os.path.join(tempfile.gettempdir(),'tpt_console.py'))\nexcept:\n pass"); + PyRun_SimpleString("import os,tempfile,os.path\ntry:\n os.remove(os.path.join(tempfile.gettempdir(),'tpt_console.pyo'))\nexcept:\n pass"); + PyRun_SimpleString("import os,tempfile,os.path\ntry:\n os.remove(os.path.join(tempfile.gettempdir(),'tpt_console.pyc'))\nexcept:\n pass"); + Py_Finalize();//cleanup any python stuff. return 0; } diff --git a/syntaxcheck.py b/syntaxcheck.py new file mode 100644 index 000000000..32335f160 --- /dev/null +++ b/syntaxcheck.py @@ -0,0 +1,18 @@ +import sys +import subprocess +if len(sys.argv)<2: + print("usage: syntaxcheck.py ") + raise SystemExit + +fname=sys.argv[1] +cppargs=["-E"]+sys.argv[2:] + +p=subprocess.Popen(["gcc",fname]+cppargs,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE) +ret=p.communicate() +if len(ret[1])>0: + print("errors hapened!") + print(repr(ret[1].decode())) + raise SystemExit(-1) + +print(len(ret[0].decode())) +#python syntaxcheck.py ./src/main.c -DINTERNAL -opowder -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -lpython2.7 -lm -L/usr/lib/python2.7/config -I/usr/include/python2.7 -march=native -DX86 -DX86_SSE3 -msse3 src/*.c src/elements/*.c -DLIN64 \ No newline at end of file