summaryrefslogtreecommitdiff
path: root/video/sdl_v.c
AgeCommit message (Collapse)Author
2006-12-26(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate ↵Darkvater
debugging levels to use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-12-03(svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video ↵rubidium
driver when one goes to fullscreen and there are no suitable resolutions.
2006-11-28(svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it ↵Darkvater
is 49. If some linux flavour does use 41, use proper #ifdef guards around it, because right now 'f' also toggles console.
2006-11-16(svn r7170) -Fix: [sdl] Non-working console toggle for some keyboard ↵Darkvater
layouts. Do not OR the backquote character but set it. Happened on Linux with Hungarian keyboard for example.
2006-11-15(svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under ↵Darkvater
high CPU load, handle mouse input right away instead of waiting for GameLoop. (KUDr)
2006-11-15(svn r7156) -Codechange: Remove obsolete variable, localize global variable, ↵Darkvater
use GB and change logic of the win32: TAB speeds up, but ALT+TAB doesn't code.
2006-11-15(svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU ↵Darkvater
load, handle keyboard input in place instead of global variables magic. (KUDr)
2006-11-03(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG ↵Darkvater
instead of printf and the verb is build/built/built not build/*/build or build/*/builded.
2006-10-13(svn r6766) -Codechange: Move _openttd_revision[] into the functions that ↵Darkvater
use it instead of global
2006-09-04(svn r6380) -Codechange: unify all ways to quit OTTD.rubidium
This means that in the intro menu the 'Quit' button immediatelly quits and the 'Quit' in the menu of the normal game and scenario editor immediatelly quits when the 'autosave_on_exit' patch is turned on. This is the same way as the OS/window manager initiated quits, like alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
2006-09-03(svn r6365) -Cleanup: remove IsGeneratingWorld calls that are either not ↵rubidium
called or have no effect.
2006-09-01(svn r6293) -Codechange: Simply use KMOD_CTRL instead of KMOD_LCTRL | ↵tron
KMOD_RCTRL, same for KMOD_SHIFT
2006-09-01(svn r6292) -Cleanup: Indentation, bracing, etc.tron
2006-08-31(svn r6286) Nobody cares for the return value of GetAvailableVideoMode(), ↵tron
therefore remove it
2006-08-28(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵rubidium
{' -> '} else {', tabs between code and comment, etc.
2006-08-19(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:truelight
- New optional landscape generator (TerraGenesis Perlin) - Load heightmaps (either BMP or PNG) - Progress dialog while generating worlds (no longer a 'hanging' screen) - New dialogs for NewGame, Create Scenario and Play Heightmap - Easier to configure your landscape - More things to configure (tree-placer, ..) - Speedup of world generation - New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made after or with this commit) - New console command 'getseed': get the seed of your map and share it with others (of course only works with generated maps) - Many new, world generation related, things - Many internal cleanups and rewrites Many tnx to those people who helped making this: Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic) Many tnx to those who helped testing: Arnau, Bjarni, and tokai (alfabetic) And to all other people who helped testing and sending comments / bugs Stats: 673 lines changed, 3534 new lines, 79 new strings
2006-08-13(svn r5872) - Feature: Add an icon to the SDL openttd executable.Darkvater
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-03-24(svn r4090) - Followup for r4075. Some SDL implementations seem to have a ↵Darkvater
different define for the SDL_ACTIVEEVENT SDL_APPMOUSEFOCUS which caused undrawing of the mouse only on losing input-focus. Correctly check for the event state
2006-03-24(svn r4075) - Feature: Undraw the mouse when it leaves the window and Draw ↵Darkvater
it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.
2006-02-01(svn r3511) More whitespace ([FS#46] by Rubidium)tron
2005-11-16(svn r3206) Wrap all instances of _dbg_screen_rect in #ifdef _DEBUGtron
2005-07-29(svn r2748) Remove unused cruft from the main looptron
2005-07-29(svn r2746) -Fix: SDL_SetColors() has the number of palette entries to ↵tron
change as parameter, not one beyond the last entry to change
2005-07-27(svn r2728) -Fix/Feature: Change the driver probing algorithmtron
Instead of trying to start a single driver and bailing out if that fails, try to initialise one by one and use the first one which succeeds. This should fix problems on machines with no sound card, where -s null had to be specified manually.
2005-07-26(svn r2720) Remove unused declarations and definitionstron
2005-07-25(svn r2704) Remove . from include path again, too much trouble. Also add ↵tron
some #ifdefs and #includes for the Windows build
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-23(svn r2688) MSVC and Watcom can't handle identical file names in different ↵tron
directories, oh my...