File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ where /q cl.exe || call "%ProgramFiles(x86)%/microsoft visual studio/2017/commun
207207
208208setlocal enableDelayedExpansion
209209if " %cc%" ==" " (
210- set " cc=clang-cl -Wno-multichar -Wno-unused-value -Wno-macro-redefined -Wno-implicit-function-declaration -Wno-deprecated-declarations -Wno-empty-body -Wno-pointer-sign -Wno-dangling-else -Wno-string-plus-int"
210+ set " cc=clang-cl -GS- - Wno-multichar -Wno-unused-value -Wno-macro-redefined -Wno-implicit-function-declaration -Wno-deprecated-declarations -Wno-empty-body -Wno-pointer-sign -Wno-dangling-else -Wno-string-plus-int"
211211(where /q clang-cl || set " cc=cl" > nul 2> nul)
212212)
213213
@@ -251,7 +251,7 @@ ping -n 2 -w 1500 localhost > nul && rem wait 1s between 2 consecutive pings, so
251251where /q rcedit-x64 || curl -LO https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe
252252where /q rcedit-x64 && ^
253253rcedit-x64 " Spectral.exe" --set-file-version " !year!.!month!.!today!.!today!!month!" && ^
254- rcedit-x64 " Spectral.exe" --set-product-version " 1.15 " && ^
254+ rcedit-x64 " Spectral.exe" --set-product-version " 1.16-WIP " && ^
255255rcedit-x64 " Spectral.exe" --set-icon src\r es\i mg\n oto_1f47b.ico || goto error
256256
257257if " %__DOTNET_PREFERRED_BITNESS%" ==" 32" (
Original file line number Diff line number Diff line change @@ -2611,6 +2611,8 @@ WPARAM MapLeftRightKeys( WPARAM vk, LPARAM lParam)
26112611 return new_vk ;
26122612}
26132613
2614+ static int tigrWinVK (int key ); //< @r-lyeh
2615+
26142616LRESULT CALLBACK tigrWndProc (HWND hWnd , UINT message , WPARAM wParam , LPARAM lParam ) {
26152617 Tigr * bmp ;
26162618 TigrInternal * win = NULL ;
@@ -3218,7 +3220,7 @@ static int tigrWinVK_DEPRECATED(int key) { //< @r-lyeh
32183220 return 0 ;
32193221}
32203222
3221- static int tigrWinVK (int key ) {
3223+ int tigrWinVK (int key ) {
32223224 if (key >= 'A' && key <= 'Z' )
32233225 return key ;
32243226 if (key >= '0' && key <= '9' )
Original file line number Diff line number Diff line change 1+ /*
2+ int _getch();
3+ #include <string.h>
4+ #define strdup _strdup // fucking m$
5+ #define strcmpi _strcmpi // fucking m$
6+ #include <stdio.h>
7+ #define fileno _fileno // fucking m$
8+ */
9+
110/* planned for v1.16
211
312- [ ] irc/lobby (mount server)
@@ -317,7 +326,7 @@ void loggers(int m);
317326// [ ] XL1 (Compilation)
318327#endif
319328
320- #define SPECTRAL "v1.15 "
329+ #define SPECTRAL "v1.16-WIP "
321330
322331#ifndef DEV
323332#if NDEBUG >= 2
@@ -551,7 +560,6 @@ int load_config() {
551560 extern int cmdkey ;
552561 extern const char * cmdarg ;
553562 ZX_PENTAGON = ZX & 1 ; ZX &= ~1 ;
554- if (ZX_FOLDER && ZX_FOLDER [0 ] > 32 ) cmdkey = 'SCAN' , cmdarg = ZX_FOLDER ;
555563 }
556564 {
557565 int size ;
@@ -568,6 +576,11 @@ int load_config() {
568576 if (ZX_MEDIA && ZX_MEDIA [0 ] && ZX_MEDIA [0 ] != '#' ) ZX_MEDIA = strdup (abspath (ZX_MEDIA )); // @leak
569577 //if(ZX_SHADER && ZX_SHADER[0]) ZX_SHADER = strdup(abspath(ZX_SHADER)); // @leak
570578 }
579+
580+ // scan
581+ // if(!ZX_PLAYER)
582+ // if(ZX_FOLDER && ZX_FOLDER[0] > 32) rescan(ZX_FOLDER); // cmdkey = 'SCAN', cmdarg = ZX_FOLDER;
583+
571584 return !errors ;
572585}
573586
You can’t perform that action at this time.
0 commit comments