Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4440 2555d 15h terminx /polymer/eduke32/build/src/sdlayer.c Android updates from Emile. DONT_BUILD.  
4432 2559d 1h terminx /polymer/eduke32/build/src/sdlayer.c Clean up sdlayer a bit  
4397 2576d 13h helixhorned /polymer/eduke32/build/src/sdlayer.c SDL2: handle Ctrl-K/Ctrl-U in the OSD. BUILD_LUNATIC.  
4385 2580d 1h terminx /polymer/eduke32/build/src/sdlayer.c Widespread use of ARRAY_SIZE macro.  
4341 2608d 2h hendricks266 /polymer/eduke32/build/src/sdlayer.c Further optimize our SDL_Renderer for 8-bit by making the SDL_Texture SDL_TEXTUREACCESS_STATIC, saving some RAM without any loss of functionality.  
4327 2618d 16h terminx /polymer/eduke32/build/src/sdlayer.c Support "r_windowpositioning" in SDL builds.  
4314 2619d 23h hendricks266 /polymer/eduke32/build/src/sdlayer.c Update commented SDL2 key debug log output.  
4271 2633d 23h hendricks266 /polymer/eduke32/build/src/sdlayer.c SDL2: Don't use SDL_Renderer if it is a software fallback, because that would only waste memory and speed.  
4270 2633d 23h hendricks266 /polymer/eduke32/build/src/sdlayer.c SDL2: Eliminate a memory leak when changing resolutions with SDL_Renderer 8-bit mode.  
4269 2633d 23h hendricks266 /polymer/eduke32/build/src/sdlayer.c SDL: Fix "the issue where if you hold down a key and enter the console then release it that the key remains held down until you hit it again outside the console".  
4254 2648d 20h hendricks266 /polymer/eduke32/build/src/sdlayer.c Fix the startup window freeze under SDL2+Windows when a Yes/No box was supposed to be displayed.  
4253 2648d 20h hendricks266 /polymer/eduke32/build/src/sdlayer.c SDL2: Reintroduce SDL_Renderer for the classic renderer so that the Steam Overlay can function with it.  
4200 2672d 3h hendricks266 /polymer/eduke32/build/src/sdlayer.c Rewrite and unify the handling of the scrollwheel between layers, fixing it in the editor's 2D mode and tile selector under SDL.

The scrollwheel is unique among PC input because it has no innate "hold length". Previously, the layers gave the mousewheel a fake hold length to allow the not-necessarily-synchronous game/editor code to pick up the input before the layers marked it as "no longer pressed". This passed under Windows, but it didn't slide under SDL.

Besides the two problems listed above, it also potentially limited the rate of weapon selection, where scrolling too fast would not register every clicks. [Unrelatedly, this is still the case when you scroll faster than the game's own tickrate, but addressing that would require rewriting input handling to go through a list of "events" for each tic instead of looking at overall pressed/unpressed states.]
4193 2685d 15h helixhorned /polymer/eduke32/build/src/sdlayer.c Really fix the Pause key on Windows/SDL2.

This requires enabling the same workaround as for Linux. Maybe it's not
system-dependent at all.
4190 2690d 16h helixhorned /polymer/eduke32/build/src/sdlayer.c Fix mouse buttons 4 and 5 on SDL2/Windows.  
4163 2705d 15h helixhorned /polymer/eduke32/build/src/sdlayer.c SDL2: fix Ctrl-F/Ctrl-G as "key FIFO" keys, used in Mapster32.

By detecting them in the SDL_KEYDOWN events. This list is getting a bit
4120 2725d 13h helixhorned /polymer/eduke32/build/src/sdlayer.c SDL2/non-Windows: Before showing "simple message box", replace tabs with spaces.

Because the one implemented on top of X shows a special mark for tabs instead of
Also, in wm_msgbox(), use vsnprintf.
4117 2725d 13h helixhorned /polymer/eduke32/build/src/sdlayer.c SDL: Add SDL scancode -> ASCII value translation for the "key FIFO" for ESCAPE.

This fixes ESC in certain situations such as the editor map selection menu.
4116 2725d 13h helixhorned /polymer/eduke32/build/src/sdlayer.c SDL: factor out 2x repeated code into keyascfifo_{isfull,insert}.  
4110 2733d 11h terminx /polymer/eduke32/build/src/sdlayer.c Set the SDL window icon when changing video mode  

Show All