Files
@ r25162:1e14a1e5e8e4
Branch filter:
Location: cpp/openttd-patchpack/source/os/os2/svn_version.cmd - annotation
r25162:1e14a1e5e8e4
766 B
application/x-dos-batch
Change: reworked how the Game Option display options are drawn
"Hardware acceleration" was not aligned with its checkbox. So instead
of drawing the labels left and the options right, now draw settings
one by one with a spacer between label and option to get the right
spacing.
Also, use SetPIP instead of repeating a SetPadding for all but
last element.
"Hardware acceleration" was not aligned with its checkbox. So instead
of drawing the labels left and the options right, now draw settings
one by one with a spacer between label and option to get the right
spacing.
Also, use SetPIP instead of repeating a SetPadding for all but
last element.
r1525:35ffefb4c710 r1525:35ffefb4c710 r1525:35ffefb4c710 r1528:7a53f2772a03 r1525:35ffefb4c710 r1525:35ffefb4c710 r1851:4895d7e42acc r1525:35ffefb4c710 r1528:7a53f2772a03 r1528:7a53f2772a03 r1525:35ffefb4c710 r1528:7a53f2772a03 r1525:35ffefb4c710 r1525:35ffefb4c710 r1528:7a53f2772a03 r1528:7a53f2772a03 r1528:7a53f2772a03 r1528:7a53f2772a03 r1528:7a53f2772a03 r1528:7a53f2772a03 r1525:35ffefb4c710 r1528:7a53f2772a03 r1525:35ffefb4c710 r1525:35ffefb4c710 r1525:35ffefb4c710 r1525:35ffefb4c710 r1525:35ffefb4c710 r1525:35ffefb4c710 r1528:7a53f2772a03 r1525:35ffefb4c710 | @echo off
echo Running SVN version detection script...
rem
rem Requires subversion (`svnversion') to be installed
rem
cd ..\..
if not "%RELEASE%"=="" goto forcerelease
if not exist .svn goto nosvn
svnversion -n . > os\os2\svnver.tmp
if not "%ERRORLEVEL%"=="0" goto nosvn
copy os\os2\svnver1.c+os\os2\svnver.tmp+os\os2\svnver2.c rev.c /a /y > nul 2> nul
goto end
:forcerelease
echo Forcing release string "%RELEASE%"...
echo const char _openttd_revision[] = "%RELEASE%"; > rev.c
echo const int _revision_number = 0; >> rev.c
goto end
:nosvn
echo Error executing `svnversion' or no SVN data detected
echo const char _openttd_revision[] = "norev000"; > rev.c
echo const int _revision_number = 0; >> rev.c
goto end
:end
cd os\os2
del svnver.tmp > nul 2> nul
rem end
|