Initial commit of Dink Smallwood HD source. See the "Programmer readme.txt" for information on how to set it up.

git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1469 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2017-09-12 04:57:47 +00:00
parent dfbc2348a5
commit d4f66a5d2e
115 changed files with 37737 additions and 0 deletions

View file

@ -0,0 +1,72 @@
REM ** Make sure american code page is used, otherwise the %DATE environmental var might be wrong
CHCP 437
REM first clean out any bogus files
cd ..\
cd media
set NO_PAUSE=1
:call update_media.bat
cd ..
cd script
:setup for VS 2017
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\"vcvars32.bat
set C_TARGET_EXE=..\bin\dink.exe
REM erase it so we know it got built right
del %C_TARGET_EXE% > NUL
set CL=/DRT_SCRIPT_BUILD
:This would need to be "Release GL|x64" for the 64 bit build. But I don't think we really need to do one yet
:for full rebuild
devenv ..\windows_vs2017\iphoneRTDink.sln /rebuild "Release GL|Win32"
:for no rebuild
:devenv ..\windows_vs2017\iphoneRTDink.sln /build "Release GL|Win32"
REM Make sure the file compiled ok
if not exist %C_TARGET_EXE% beeper.exe /p
:Sign it with the RTsoft cert (optional)
call sign.bat %C_TARGET_EXE%
REM Do a little cleanup in the dink bin dir as well
del ..\bin\dink\continue_state.dat
del ..\bin\dink\save*.dat
del ..\bin\dink\quicksave.dat
//make the windows installer part
SET C_FILENAME=DinkSmallwoodHDInstaller.exe
del %C_FILENAME% > NUL
REM get version information from the source code
echo Grabbing version # information from source code.
ctoenv.exe ..\source\App.cpp "m_version = " C_VERSION /r
if errorlevel 1 beeper.exe /p
call setenv.bat
del setenv.bat
ctoenv.exe ..\source\App.cpp "m_versionString = \"" C_TEXT_VERSION_TEMP
if errorlevel 1 beeper.exe /p
call setenv.bat
del setenv.bat
SET C_TEXT_VERSION=%C_TEXT_VERSION_TEMP%
REM done with temp var, kill it
SET C_TEXT_VERSION_TEMP=
echo Building installer: %C_FILENAME% %C_TEXT_VERSION%
cd win_installer
..\..\..\..\util\NSIS\makensis.exe dink.nsi
cd ..
set d_fname=%C_FILENAME%
call sign.bat %C_FILENAME%
:call FTPToSiteWin.bat
cd script
pause

View file

@ -0,0 +1,11 @@
cd ..\android
call build.bat
@ECHO ON
set D_FILE_NAME=%APP_NAME%-unprotected.apk
del ..\%D_FILE_NAME%
copy bin\%APP_NAME%-debug.apk ..\%D_FILE_NAME%
cd ..
set d_fname=%D_FILE_NAME%
call script\FTPToSite.bat
cd script
pause

View file

@ -0,0 +1,48 @@
Dink Smallwood HD for Windows 7, 8, 10.
Requires OpenGL, if you have any problems running this, try installing the latest video drivers for your video card/chip.
To change screen size, drag the window borders around. (Hold shift while dragging to toggle aspect-ratio lock)
To toggle a psuedo full screen mode, click Full Screen Toggle in the options. (Or hit Alt-Enter)
------------- BETA VERSION -----------------
This is a beta version which means it probably has bugs and isn't ready for general consumption. However, it means you've been recruited to help us make it better!
To report a bug, find or post a thread about Dink HD on dinknetwork.com and and please include the following information if you can:
- Dink files are installed to C:\Users\<user name>\AppData\Local\DinkSmallwoodHD by default.
- Description of the bug and how to recreate it
- If the bug takes work to get to, it would be great if you could "Quick save" in the game and add a URL to download the quicksave.dat file.
quicksave.dat should be located in C:\Users\<user name>\AppData\Local\DinkSmallwoodHD for the main game and C:\Users\<user name>\AppData\Local\DinkSmallwoodHD\dmods\<dmod dir> for DMODs.
- The DMOD name (and URL to download it if possible)
- Windows version you're playing on
- Screen mode/resolution
- If the game crashes, please include the log.txt file as it may contain information about the crash.
-Seth (seth@rtsoft.com)
www.rtsoft.com
------ Change log for 1.7.0 ----------
* Upgraded source projects to Visual Studio 2017 (free community edition works fine)
* (bugfix) No longer forces reload of all graphics when saving the state
* (bugfix) No longer forces reload of all graphics and audio when losing focus/going into the background
* (bugfix) Fixed issue where screen scrolling could bug out if window was resized on windows
* Latest state data to "Continue" persists even if the game crashes now
* Added support for 64 bit builds (still fully compatible with existing save states/games)
* Added support for aspect ratio correction (can be disabled by enabling "Fullscreen stretch" in the options)
* Added IPV6 support
* (DinkC) Goto statements no longer require a ; at the end to work
* (iOS) Now compatible with iOS 11
* (Windows) Installer no longer requires admin privileges, now installs to local user's appdata dir (C:\UserName\AppData\Local\DinkSmallwoodHD)
* (Windows) .exe and installer are now signed with RTsoft's distribution certificate
* (Windows) Now checks for new versions on startup
* (Windows) Now writes the stack trace to log.txt if the game crashes (helps debug problems)
------ Change log for 1.7.1 ----------
* (Windows) Fixed app icon