- [FIX] Warning en jail_audio.cpp
- [FIX] Warning en jdraw.cpp - [FIX] correccions en els scripts - [NEW] Afegides DLLs
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
*.exe
|
||||
*.dll
|
||||
*.zip
|
||||
*.tar.gz
|
||||
.vscode/*
|
||||
*.dSYM/*
|
||||
build/*
|
||||
|
||||
BIN
bin/SDL3.dll
Normal file
BIN
bin/SDL3.dll
Normal file
Binary file not shown.
BIN
bin/libwinpthread-1.dll
Normal file
BIN
bin/libwinpthread-1.dll
Normal file
Binary file not shown.
@@ -17,7 +17,7 @@ respak2 -p || exit /b 1
|
||||
echo Creando paquetes...
|
||||
|
||||
REM Crear ZIP release con exe + data.jf2
|
||||
tar -a -c -f mini_%PARAM%_windows_release.zip thepool.exe data.jf2 bin\*.dll || exit /b 1
|
||||
tar -a -c -f thepool_%PARAM%_win32-x64.zip thepool.exe data.jf2 bin\*.dll || exit /b 1
|
||||
|
||||
echo Paquetes generados:
|
||||
echo thepool_%PARAM%_win32-x64.zip
|
||||
|
||||
@@ -7,14 +7,14 @@ set -e
|
||||
#fi
|
||||
|
||||
# Leer versión desde version.h
|
||||
VERSION=$(grep '#define VERSIO' versio.h | sed 's/.*"\(.*\)".*/\1/')
|
||||
VERSION=$(grep '#define VERSIO' source/versio.h | sed 's/.*"\(.*\)".*/\1/')
|
||||
echo "Versión detectada: $VERSION"
|
||||
|
||||
#PARAM=$1
|
||||
|
||||
# Datos Windows
|
||||
WIN_USER="raimon"
|
||||
WIN_HOST="tonlab19.uv.es"
|
||||
WIN_HOST="tonlab19"
|
||||
WIN_PATH_SSH="C:\Users\raimon\dev\thepool"
|
||||
WIN_PATH_SCP="C:/Users/Raimon/dev/thepool"
|
||||
|
||||
|
||||
@@ -447,7 +447,7 @@ void JA_StopChannel(const int channel)
|
||||
{
|
||||
for (int i = 0; i < JA_MAX_SIMULTANEOUS_CHANNELS; i++) {
|
||||
if (channels[i].state != JA_CHANNEL_FREE) SDL_DestroyAudioStream(channels[i].stream);
|
||||
channels[channel].stream = nullptr;
|
||||
channels[i].stream = nullptr;
|
||||
channels[i].state = JA_CHANNEL_FREE;
|
||||
channels[i].pos = 0;
|
||||
channels[i].sound = NULL;
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace draw
|
||||
SDL_DisplayID display = SDL_GetPrimaryDisplay();
|
||||
const SDL_DisplayMode *mode = SDL_GetDesktopDisplayMode(display);
|
||||
if (mode) {
|
||||
printf("Native resolution: %dx%d @ %d Hz\n", mode->w, mode->h, mode->refresh_rate);
|
||||
printf("Native resolution: %ix%i @ %f Hz\n", mode->w, mode->h, mode->refresh_rate);
|
||||
}
|
||||
screen_fullscreen = true;
|
||||
sdl_window = SDL_CreateWindow(screen_title.c_str(), mode->w, mode->h, SDL_WINDOW_FULLSCREEN);
|
||||
|
||||
Reference in New Issue
Block a user