⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldraw.bat

📁 ldraw_DOS游戏开发包
💻 BAT
字号:
@echo off
echo.
if "%WATCOM%"=="" goto error
if "%1"=="u" goto uninstall
if "%1"=="U" goto uninstall

copy *.h %WATCOM%\H >nul
copy *.lib %WATCOM%\LIB386 >nul
cd examples
for %%a in (*.cpp) do wcl386 /cc++ /4r /s %%a
if exist *.obj del *.obj
cd..
cls
echo add the lines below at the top of your source file:
echo and include lsys.h ldraw.h lkey.h lutils.h

echo #pragma library("lsys.lib")
echo #pragma library("ldraw.lib")
echo #pragma library("lkey.lib")

echo.
echo ldraw 2.1 installed !
goto end
:uninstall
if exist %WATCOM%\H\lsys.h del %WATCOM%\H\lsys.h
if exist %WATCOM%\H\ldraw.h del %WATCOM%\H\ldraw.h
if exist %WATCOM%\H\lkey.h del %WATCOM%\H\lkey.h
if exist %WATCOM%\H\lutils.h del %WATCOM%\H\lutils.h
if exist %WATCOM%\H\ldev.h del %WATCOM%\H\ldev.h
if exist %WATCOM%\LIB386\lsys.lib del %WATCOM%\LIB386\lsys.lib
if exist %WATCOM%\LIB386\ldraw.lib del %WATCOM%\LIB386\ldraw.lib
if exist %WATCOM%\LIB386\lkey.lib del %WATCOM%\LIB386\lkey.lib
if exist %WATCOM%\LIB386\lutils.lib del %WATCOM%\LIB386\lutils.lib

echo ldraw uninstalled ! 
goto end
:error
echo settings failed - you have not watcom c++ or watcom settings error
echo check the line SET WATCOM=... in your autoexec.bat
goto end
:end
echo for any question please see the readme file
echo.



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -