Commit Graph

64 Commits (b1b0b26fc8a1fc499b1cbe4d3c51f71079bd34fe)

Author SHA1 Message Date
Darkvater b1b0b26fc8 (svn r5872) - Feature: Add an icon to the SDL openttd executable. 18 years ago
truelight 0bcdd910f9 (svn r3458) -Fix: forgot one instance in last commit 19 years ago
tron 201990b5d9 (svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build 19 years ago
tron a227065ab7 (svn r2701) Insert Id tags into all source files 19 years ago
tron 475d7fc0ae (svn r2697) Make compiling with SDL on Windows work again (missing #includes) and fix some warnings 19 years ago
tron 07a6e612ec (svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
19 years ago
tron dd7321a014 (svn r2683) Remove redundant function call propagate return value 19 years ago
tron 559babcdc9 (svn r2673) Include functions.h directly, not globally via openttd.h 19 years ago
tron 0762aa9ec9 (svn r2669) Shuffle some more stuff around to reduce dependencies 19 years ago
tron 1b4a0897b6 (svn r2535) Tabs 19 years ago
tron 9d75047211 (svn r2497) Use a struct array for palette entries instead of a flat byte array 19 years ago
Darkvater b438b1248c (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 19 years ago
Darkvater 55423efb06 (svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
- Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types.
19 years ago
tron 4cd4a2be79 (svn r2367) Remove some unused functions, probably was some debug stuff 19 years ago
Darkvater 7daaf1f100 (svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile. 19 years ago
Darkvater 3bd76dad5b (svn r2330) - Fix: link error when compiling as dedicated. Add sdl.c to always compile in makefile as it is always protected by WITH_SDL and add a stub for ToggleFullScreen() 19 years ago
Darkvater 4c0c553a8f (svn r2314) - Feature: [ 1187490 ] Patches for building on IRIX (jgilje) 19 years ago
Darkvater 32bb69ef1c (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL. 19 years ago
Darkvater 0269361b28 (svn r2311) - Fix: eh, forgot to remove moved function. 19 years ago
Darkvater 2aa94201dc (svn r2310) - Fix: Game would crash if you full-screened with the 'fullscreen' button than chose a resolution from the dropdown box that was no longer valid. Big thanks to DaleStan for track down the crashing bug.
- Fix: There would be duplicate entries in the resolutions dropdown box. Copy SDL method or removing duplicates and sort the list.
- Feature: in the settings menu, you don't have to click on the arrows anymore, clicking on the dropdown box itself has the same effect. Consistent with other dropdowns in the game
19 years ago
tron cf43c7a0e6 (svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK) 19 years ago
tron f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 20 years ago
Darkvater 9bd079d425 (svn r1978) - Fix: Plug some memleaks; thanks Valgrind 20 years ago
pasky 71906d09b7 (svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. 20 years ago
tron 8fea0f0a8f (svn r1873) Ignore SIGPIPE 20 years ago
tron 17ca2c49a5 (svn r1805) Teach the driver layer a few things about const correctness 20 years ago
tron f0f85a7ef3 (svn r1803) Move debugging stuff into files of it's own 20 years ago
tron 189ca73707 (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile 20 years ago
dominik b119b6c474 (svn r1541) Fix: [ 1100767 ] fast forward in main menu 20 years ago
darkvater 633786f55e (svn r1529) -Feature: [1090950] Adding 16:10 resolutions for mainly laptops (doode) 20 years ago
darkvater ef3b9161f8 (svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; reenabled again
-Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
20 years ago
dominik f1e9fdf76d (svn r1388) Feature: [SDL] Show revision number in window title 20 years ago
truelight 1f4c1e8821 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking
  - File selector issue
  - Keyboard input
  - Dedicated server console issue (use dedicated.cmd to open a server)
  - Plus many other minor issues
20 years ago
darkvater d7bc1d776c (svn r1268) -Fix: some warnings in gfx.c fixed
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game
-Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
20 years ago
dominik 77e882c3bd (svn r1076) Feature: Patch setting to autosave the game on exit
If you set autosave_on_exit = true in openttd.cfg, your game will be saved as exit.sav in the autosave folder and you won't be asked if you want to quit the game any more.
20 years ago
bjarni ec40598d4c (svn r983) SunOS: fixed backspace key (Oskar) 20 years ago
bjarni ecf7e8e9a7 (svn r981) SunOS: fixed the hotkey for console (Oskar) 20 years ago
truelight b8f6d41418 (svn r942) -Merged branch/network back into the trunk 20 years ago
tron 9dd7c284f0 (svn r664) Fix warning on MorphOS 20 years ago
tron 0086bb9d06 (svn r653) Prevent SDL parachute from catching SIGSEGV and SIGFPE (pasky) 20 years ago
tron 2760ed80fd (svn r652) Factorise special case for MorphOS regarding signal() handling 20 years ago
tron cc428ef6cf (svn r637) Add keycode for the key to open the console on BeOS 20 years ago
tron 01e88bb61d (svn r623) -Feature: [ 1066504 ] Pause key pauses the game 20 years ago
tron 95a3e4fe1f (svn r621) Merge r450 to trunk:
Cleanups and #if 0 some unused debug code
20 years ago
tron 249a170ace (svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
20 years ago
darkvater f3758d133a (svn r312) -Fix: [926105] ctrl + d bug. Longest outstanding bug has been fixed \o/ 2004-03-30 (Tron)
-Fix: [1030393] some screensizes crashes OTTD. Fix in general bug that only allows resolutions which were multiple of 8 in width and height. Also use closest possible resolution in fullscreen if window size is not a valid resolution (Tron)
20 years ago
dominik f7fee73752 (svn r308) Added debug hotkey 'caps lock' for sdl builds as well 20 years ago
dominik a38e2d046a (svn r297) Fix (SDL): Added a confirmation dialog when quitting the game 20 years ago
darkvater 586fdf7254 (svn r246) -Fix: 64bit machine warnings for sdl.c (Tron) 20 years ago
darkvater e295e46e3e (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
20 years ago