Commit Graph

64 Commits

Author SHA1 Message Date
Darkvater
b1b0b26fc8 (svn r5872) - Feature: Add an icon to the SDL openttd executable. 2006-08-13 08:18:11 +00:00
truelight
0bcdd910f9 (svn r3458) -Fix: forgot one instance in last commit 2006-01-28 11:09:16 +00:00
tron
201990b5d9 (svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build 2005-07-25 07:16:10 +00:00
tron
a227065ab7 (svn r2701) Insert Id tags into all source files 2005-07-24 14:12:37 +00:00
tron
475d7fc0ae (svn r2697) Make compiling with SDL on Windows work again (missing #includes) and fix some warnings 2005-07-24 06:09:54 +00:00
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.)
2005-07-23 15:16:57 +00:00
tron
dd7321a014 (svn r2683) Remove redundant function call propagate return value 2005-07-23 06:45:57 +00:00
tron
559babcdc9 (svn r2673) Include functions.h directly, not globally via openttd.h 2005-07-22 07:02:20 +00:00
tron
0762aa9ec9 (svn r2669) Shuffle some more stuff around to reduce dependencies 2005-07-21 22:15:02 +00:00
tron
1b4a0897b6 (svn r2535) Tabs 2005-07-08 22:25:24 +00:00
tron
9d75047211 (svn r2497) Use a struct array for palette entries instead of a flat byte array 2005-06-30 05:27:32 +00:00
Darkvater
b438b1248c (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 2005-06-02 19:30:21 +00:00
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.
2005-05-30 22:16:05 +00:00
tron
4cd4a2be79 (svn r2367) Remove some unused functions, probably was some debug stuff 2005-05-26 19:43:56 +00:00
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. 2005-05-16 16:19:32 +00:00
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() 2005-05-16 12:15:34 +00:00
Darkvater
4c0c553a8f (svn r2314) - Feature: [ 1187490 ] Patches for building on IRIX (jgilje) 2005-05-14 22:42:33 +00:00
Darkvater
32bb69ef1c (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL. 2005-05-14 21:55:54 +00:00
Darkvater
0269361b28 (svn r2311) - Fix: eh, forgot to remove moved function. 2005-05-14 21:03:46 +00:00
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
2005-05-14 21:01:57 +00:00
tron
cf43c7a0e6 (svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK) 2005-03-15 14:23:00 +00:00
tron
f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 2005-03-12 09:38:03 +00:00
Darkvater
9bd079d425 (svn r1978) - Fix: Plug some memleaks; thanks Valgrind 2005-03-09 19:48:20 +00:00
pasky
71906d09b7 (svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. 2005-03-06 00:39:38 +00:00
tron
8fea0f0a8f (svn r1873) Ignore SIGPIPE 2005-02-13 23:29:58 +00:00
tron
17ca2c49a5 (svn r1805) Teach the driver layer a few things about const correctness 2005-02-05 18:05:42 +00:00
tron
f0f85a7ef3 (svn r1803) Move debugging stuff into files of it's own 2005-02-05 15:58:59 +00:00
tron
189ca73707 (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile 2005-01-22 20:23:18 +00:00
dominik
b119b6c474 (svn r1541) Fix: [ 1100767 ] fast forward in main menu 2005-01-16 13:59:07 +00:00
darkvater
633786f55e (svn r1529) -Feature: [1090950] Adding 16:10 resolutions for mainly laptops (doode) 2005-01-15 20:43:01 +00:00
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)
2005-01-15 15:48:05 +00:00
dominik
f1e9fdf76d (svn r1388) Feature: [SDL] Show revision number in window title 2005-01-05 14:20:23 +00:00
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
2004-12-27 10:40:04 +00:00
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
2004-12-23 23:15:07 +00:00
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.
2004-12-13 22:10:12 +00:00
bjarni
ec40598d4c (svn r983) SunOS: fixed backspace key (Oskar) 2004-12-08 18:17:58 +00:00
bjarni
ecf7e8e9a7 (svn r981) SunOS: fixed the hotkey for console (Oskar) 2004-12-08 17:14:36 +00:00
truelight
b8f6d41418 (svn r942) -Merged branch/network back into the trunk 2004-12-04 17:54:56 +00:00
tron
9dd7c284f0 (svn r664) Fix warning on MorphOS 2004-11-17 19:29:24 +00:00
tron
0086bb9d06 (svn r653) Prevent SDL parachute from catching SIGSEGV and SIGFPE (pasky) 2004-11-17 08:11:24 +00:00
tron
2760ed80fd (svn r652) Factorise special case for MorphOS regarding signal() handling 2004-11-17 07:57:28 +00:00
tron
cc428ef6cf (svn r637) Add keycode for the key to open the console on BeOS 2004-11-16 16:13:54 +00:00
tron
01e88bb61d (svn r623) -Feature: [ 1066504 ] Pause key pauses the game 2004-11-15 10:04:57 +00:00
tron
95a3e4fe1f (svn r621) Merge r450 to trunk:
Cleanups and #if 0 some unused debug code
2004-11-15 09:05:06 +00:00
tron
249a170ace (svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
2004-11-14 19:44:06 +00:00
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)
2004-09-23 21:14:20 +00:00
dominik
f7fee73752 (svn r308) Added debug hotkey 'caps lock' for sdl builds as well 2004-09-22 07:40:41 +00:00
dominik
a38e2d046a (svn r297) Fix (SDL): Added a confirmation dialog when quitting the game 2004-09-19 18:23:11 +00:00
darkvater
586fdf7254 (svn r246) -Fix: 64bit machine warnings for sdl.c (Tron) 2004-09-14 15:25:28 +00:00
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
2004-09-12 21:49:38 +00:00