From 573d327f7184696ff950ca10d978a8400c73f856 Mon Sep 17 00:00:00 2001 From: IgorA Date: Mon, 21 Jun 2021 20:13:13 +0000 Subject: [PATCH] fix wiewport width, opendialog use filter *bjs git-svn-id: svn://kolibrios.org@8909 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/bcc32/games/blocks/bin/blocks.kex | Bin 8797 -> 8804 bytes programs/bcc32/games/blocks/blocks.cpp | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/bcc32/games/blocks/bin/blocks.kex b/programs/bcc32/games/blocks/bin/blocks.kex index 01e06ca326c79c5d8deba6aae3fd255f7fb8a8cb..e8bfa9155eef4d08fcb1c072b6365ef42df0b4cf 100644 GIT binary patch literal 8804 zcmV-qBAeYyP(w?=w*UY^00001Mv*2LLXK;4&&M|6Hk%fqaF-^$`P;e{2^&%g#M^6} zP-6y!zQZ1wK+veDcFd(tS0@gPY6J=9G)iq!*_oTS>sB`7knRX^55cad|CCmw)Ky-* zX>m35M?1N?WD~tnpi=#f%Z#eT8@zC8QZ^8d%o`TK?IbWOD}*6fKj+?5T27pMJM*L{btw6aG6J#!frn+)8!yrR# zD=PFh_{4DHOeHPD6eQBj_`I`#hrlt(Pk7s@R(&3&>UWLA1|jA3u0V8mf++PIjF`+{ zVyr38EGE_Z6*YN?|C32+4X5Rm32~dhq=g;;5dYO}{4Yh9U{PAgI8`E5|QB6*KeRy9kM z_dO*5iR|7JN&QF>G|p`UL6vu_dQSKr1*GvaO6jT%)1$_^s^^dS~5Mu4Kn^sEl?FWtMM>FNN*uMSx zl(Of#7cL&gY_)^_7=}Paqm&=&1h{l~%}q7g`kpQ~pk5GWyA}223@xx+>MK%*LYt=F z<}4$X%Xic21sPRFqBov-S$GB9#liq2zwo8{WDGmDo#0K1D|0+N_t)}j^lKtu!x`&v z>{-r|JOu_Z9|EVWs91{JI=O5Bb!)W{{>q*^>3ZG&op_f8Xmy^K?dys=S~bmBG&2R+Zsh8jqU`n)bS3gO6D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Z8x#NwDC^pkEOBj#=rXdHA*bQH+LlT+_fpC z!P%Z0==RE#*{*Zm0ANjz z2+%wnSIPksUFixjbu>FLFy{U8+Wh(bU54=)XDjTP@Fms6iI+i#K9Zw9-Duwsv~*tp z<$1@i$eN$XZ(mzY*q&Ky(_K};Z~!tVHtcgJpRNUWn>APWg&S!TPAb6#M#HxlQwD+D zfixwesqqc?qP(aY&@&{G>nEQx1eESKQiY3MX#sQELeK4WyUzsIUO7%f(*_Y6L zJLN0PyUxnas&f??B#FQo`oi&UFH}9jY0s|XWbMj?rTR-32o`3Ggqs?#B1wXuixciN zt}u~Fo{Wlzrv{3(_nA*B TxbZ`odD^{rTyeI<00001@^~xQ diff --git a/programs/bcc32/games/blocks/blocks.cpp b/programs/bcc32/games/blocks/blocks.cpp index 348eac411d..8ed9fcc156 100644 --- a/programs/bcc32/games/blocks/blocks.cpp +++ b/programs/bcc32/games/blocks/blocks.cpp @@ -15,7 +15,7 @@ char library_path[2048]; OpenDialog_data ofd; unsigned char procinfo[1024]; char plugin_path[4096], openfile_path[4096], filename_area[256]; -od_filter filter1 = { 7, "JS\0\0" }; +od_filter filter1 = { 7, "BJS\0\0" }; namespace Kolibri{ char CurrentDirectoryPath[2048]; @@ -39,7 +39,8 @@ struct ColorList{ long int color; }; -const long C_COUNT_MAX = 27; +const long C_COUNT_MAX = 32; +const long TOOLBAR_H = 29; ColorList c_list[C_COUNT_MAX]; long c_count = 0; @@ -71,7 +72,6 @@ float mat_shininess = 3.0; //Размер блика (обратная проп float white_light[] = {1.0, 1.0, 1.0, 1.0}; //Цвет и интенсивность освещения, генерируемого источником float lmodel_ambient[] = {0.3, 0.3, 0.3, 1.0}; //Параметры фонового освещения -const long TOOLBAR_H = 29; char str1[] = "Show active level"; check_box check1 = { {16,280,20,4}, 8, 0xffffff, 0x808080, 0xffffff, str1, ch_flag_middle }; scrollbar sb_tcr = { 200,70,19,4, 16, 1, 20,1,0, 0x808080, 0xffffff, 0x0}; @@ -572,6 +572,7 @@ void KolibriOnSize(int window_rect[], TThreadData /*th*/) unsigned short int width, height; GetClientSize(width, height); if(!width || !height) return; + width--; height-=TOOLBAR_H; if(width<100) width=100; if(height<80) height=80;