uid issue

This commit is contained in:
KittenPopo
2021-07-24 21:11:47 -07:00
commit c2130ba4e9
13850 changed files with 6241419 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Main python module - establishes the root scope for all python vscripts
# hook up to the eclipse pydev debug server
#import pydevd #path to pydevd.py must be on the PYTHONPATH environment variable
#pydevd.settrace()
#import os
#print("working directory: %s", os.getcwd()) # print working directory
#
#import sys
#print("module search path: %s",sys.path) # print module search path
#sys.path.append('u:/projects/sob/src/vscript/languages/python/vpython')
#U:\projects\sob\src\vscript\languages\python\vpython
#print "modified module search path: " sys.path
#import ctypes
print "init.py just ran!"
def sayhowdy():
print "howdy"
if __name__ == '__main__':
print "hello world"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
//========== Copyright <20> 2008, Valve Corporation, All rights reserved. ========
//
// Purpose:
//
//=============================================================================
#ifndef VPYTHON_H
#define VPYTHON_H
#if defined( _WIN32 )
#pragma once
#endif
IScriptVM *ScriptCreatePythonVM();
void ScriptDestroyPythonVM( IScriptVM *pVM );
#endif // VPYTHON_H

View File

@ -0,0 +1,51 @@
//-----------------------------------------------------------------------------
// Project Script
//-----------------------------------------------------------------------------
$Macro SRCDIR "..\..\..\.."
$Macro OUTBINDIR "."
$Include "$SRCDIR\vpc_scripts\source_exe_con_win32_base.vpc"
$Configuration
{
$Compiler
{
$AdditionalIncludeDirectories "$BASE,..\python25\include"
//$AdditionalIncludeDirectories "$BASE;$SRCDIR\common\python\$PYTHONVER;$SRCDIR\public\python"
$PreprocessorDefinitions "$BASE;PROTECTED_THINGS_DISABLE;VPYTHON_TEST"
}
$Linker
{
$AdditionalLibraryDirectories "..\python25\lib"
}
}
$Project "vpython"
{
//$Folder "Link libraries"
//{
// $File "..\python25\lib\python25.lib"
//}
$Folder "Source Files"
{
$File "..\..\..\..\public\vscript\ivscript.h"
$File "..\..\..\..\public\vscript\vscript_templates.h"
$File "vpython.cpp"
{
$Configuration
{
$Compiler
{
//$AdditionalOptions "/EHa"
}
}
}
}
}