diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 872ca66e0..692d43e8f 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -896,13 +896,14 @@ void resizeglcheck() if ((glox1 != windowx1) || (gloy1 != windowy1) || (glox2 != windowx2) || (gloy2 != windowy2)) { - double ratio = 1.0; + double ratio = 1.05; if (glwidescreen == 1) ratio = 1.2f; else if (glprojectionhacks == 1) { - ratio += (gshang*gshang)*0.36f; + double mul = (gshang*gshang); + ratio += mul*mul*mul*mul; } else if (glprojectionhacks == 2) { @@ -4170,13 +4171,14 @@ void polymost_drawrooms() short hitsect, hitwall, hitsprite; int vx, vy, vz, hitx, hity, hitz; int cz, fz; - double ratio = 1.0; + double ratio = 1.05; if (glwidescreen == 1) ratio = 1.2f; else if (glprojectionhacks == 1) { - ratio += (gshang*gshang)*0.36f; + double mul = (gshang*gshang); + ratio += mul*mul*mul*mul; } else if (glprojectionhacks == 2) { diff --git a/polymer/eduke32/source/jaudiolib/dsl.c b/polymer/eduke32/source/jaudiolib/dsl.c index cbb7353aa..233c73bd3 100644 --- a/polymer/eduke32/source/jaudiolib/dsl.c +++ b/polymer/eduke32/source/jaudiolib/dsl.c @@ -98,6 +98,10 @@ int DSL_Init(int soundcard, int mixrate, int numchannels, int samplebits, int bu /* FIXME: Do I need an SDL_mixer version check * like that in sdlmusic.h here, too??? */ + + UNREFERENCED_PARAMETER(soundcard); + UNREFERENCED_PARAMETER(buffersize); + DSL_SetErrorCode(DSL_Ok); if (SDL_InitSubSystem(SDL_INIT_AUDIO) < 0)