Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4997 2281d 17h terminx /polymer/eduke32/source/osdfuncs.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4936 2304d 23h helixhorned /polymer/eduke32/source/osdfuncs.c osdfuncs.c: get rid of a warning with GCC. DONT_BUILD.  
4906 2311d 21h terminx /polymer/eduke32/source/osdfuncs.c Disable mouse input affecting the menu when the console is down. This code is awful, because I am an awful man.  
4852 2327d 4h hendricks266 /polymer/eduke32/source/osdfuncs.c Introduce preprocessor token EDUKE32_TOUCH_DEVICES that covers both Android and iOS, and replace selected instances of __ANDROID__ with it.  
4649 2390d 19h terminx /polymer/eduke32/source/osdfuncs.c Clean up GL background tinting a little bit. Remove access to glRectd in favor of glRecti.  
4622 2415d 19h terminx /polymer/eduke32/source/osdfuncs.c r_showfps 2, displaying min and max fps  
4611 2415d 19h terminx /polymer/eduke32/source/osdfuncs.c Change vid_brightness/contrast/gamma cvars to float vs double and do the same for OSD text scaling  
4603 2415d 19h terminx /polymer/eduke32/source/osdfuncs.c Default r_osdhightile to 1  
4558 2479d 16h hendricks266 /polymer/eduke32/source/osdfuncs.c Progress towards KenBuild Editor, part 1.

DONT_BUILD.
 
4541 2487d 14h hendricks266 /polymer/eduke32/source/osdfuncs.c Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

DONT_BUILD.
 
4435 2585d 19h terminx /polymer/eduke32/source/osdfuncs.c OSD scaling fixes (mostly)  
4433 2586d 14h terminx /polymer/eduke32/source/osdfuncs.c Partial Android support cleanup. I actually have no idea if this even compiles ;)  
4425 2591d 16h terminx /polymer/eduke32/source/osdfuncs.c Add "osdscale", allowing the console text to be resized anywhere from 1-4x. It's a float because that seemed more useful to Android, where this will probably be hooked up to a slider (its intended usage).  
4136 2745d 0h helixhorned /polymer/eduke32/source/osdfuncs.c OSD: factor out getting sh/pal using format+text buffers into OSD_GetShadePal().  
3321 3059d 7h helixhorned /polymer/eduke32/source/osdfuncs.c Cleanup of console/on-screen-display (OSD) functionality.

- Rewrite the "clear background" routine in a no-brainer way instead of
juggling around with rotatesprite(). Make it common to game+editor.
Expose glRectd to glbuild.
- Don't stop OSD text line drawing when encountering a non-printable char.
Instead, treat it as space.
- In OSD_SetTextMode(), don't use swaplong (which really swaps 32-bit ints)
to swap pointers. Write an analogous "swapptr" instead.
- When changing from/to OSD, don't inject a pause key. This *might* have been
the cause of the reported pausing problems.
- clean up the code...
(Yes, this commit throws together too much stuff. I suck sometimes. :P)
 
3202 3097d 3h helixhorned /polymer/eduke32/source/osdfuncs.c Clean up picanm[] by making its elements values of struct type picanm_t.

The size of that struct is currently 4, and its layout almost the same as
what is read in with loadpics(). The number of tiles in an animation is
bumped to 256, so that the max. tile difference in DEF's animtilerange is
255. (There's no way to have such animations from ART.)
 
2928 3187d 10h helixhorned /polymer/eduke32/source/osdfuncs.c Clean up a couple of rotatesprite uses.

The black translucent background underneath the user map list will now
be drawn with a shade 32 tile 0 instead of tile BLANK, since I've seen
the latter being replaced in some mod. Also, it will look the same
regardless of screen aspect.
 
2846 3215d 12h helixhorned /polymer/eduke32/source/osdfuncs.c Prevent integer div-by-0 (SIGFPE) when drawing console background with void tiles.

The tiles used are BIGHOLE (1141) and VIEWBORDER (3250). Ideally we'd draw the
console background using something specially-coded instead of rotatesprite if
it's fully black anyway.
 
2588 3324d 4h helixhorned /polymer/eduke32/source/osdfuncs.c Big clean up in defs.c and related content. The usual stuff...

- factor out many identical checks in a convenient function; some messages
may read slightly differently now and tile ranges may be handled more strictly
(error out if one of the limits is invalid)
- factor out two instances of identical (up to one arg) code into
tile_from_truecolpic
- factor out setting picsiz[] and stuff into set_picsizanm
- some checks
- Make "undefmodelof" non-functional and warn.
- in "animtilerange", if the tile difference is >= 64, error out since we
can't store it in picanm[]
 
2308 3386d 5h helixhorned /polymer/eduke32/source/osdfuncs.c legibility improvements: rotatesprite(..., 0,0,xdim-1,ydim-1) -> rotatesprite_fs  

Show All