Commit Graph

1853 Commits (22f211a47a30c0f3de37e1cbc598001af758c8f4)
 

Author SHA1 Message Date
tron 22f211a47a (svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
19 years ago
orudge b0d2af22e4 (svn r2357) Small OS/2 update 19 years ago
tron 88837fa0b1 (svn r2356) Make check if statvfs() is availible a bit more sensible 19 years ago
orudge 2f83fd2c93 (svn r2354) Update OpenTTD for 0.4.0.1 release 19 years ago
Darkvater 4a44ac3d84 (svn r2353) - Prepare windows installer for 0.4.0.1 19 years ago
Darkvater 26da27532e (svn r2352) - Feature: add the possibility to print out the current debug-level 19 years ago
tron 7ce6e4f9a0 (svn r2351) -Fix: It was possible to open more than one tree window 19 years ago
miham fbc4831826 (svn r2350) [Translations] Updated to 2005-04-18 (156 strs / 3 langs) 19 years ago
Darkvater 8f88693a0d (svn r2349) - Fix: remove warning from release build when assertions are no longer active 19 years ago
Darkvater b51c190546 (svn r2348) - Fix: Do not scroll the game with the arrow keys when the chatbox is open 19 years ago
Darkvater 73ea0646ae (svn r2347) - Fix (regression): depot window did not get redrawn when a non-train-engine was sold. 19 years ago
Darkvater 299d470f10 (svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall 19 years ago
Darkvater abc5fd1272 (svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default). 19 years ago
Darkvater 6dba03a819 (svn r2344) - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed. 19 years ago
Darkvater 0f7b2b673d (svn r2343) - Fix (regression): dedicated server caused desyncs with its commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0. 19 years ago
Darkvater 6dbc015291 (svn r2342) - Fix (Regression): _cmd_text is always valid, so test the first character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well. 19 years ago
miham 72f5ce0563 (svn r2341) [Translations] Updated to 2005-04-17 (74 strs / 6 langs) 19 years ago
Darkvater 80ccb0dc88 (svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move. 19 years ago
Darkvater 59c9fee33f (svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected. 19 years ago
Darkvater 5fc05c681a (svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
19 years ago
truelight 3965366b97 (svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;)) 19 years ago
Darkvater 60d7eff606 (svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow 19 years ago
miham 5132d16b0e (svn r2335) [Translations] Updated to 2005-05-16 (36 strs / 17 langs, removed unused strings) 19 years ago
Darkvater 6b794ede3b (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 3d84bdc0ae (svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron. 19 years ago
Darkvater ee89f5ab77 (svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
- Fix: do not execute emtpy commands anymore
19 years ago
Darkvater 2dc7d2b14e (svn r2331) - Fix (regression): fix text overflows in about box. 19 years ago
Darkvater 21b99af344 (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
tron d3f8772497 (svn r2329) CMD_CHANGE_PRESIDENT_NAME and CMD_CHANGE_COMPANY_NAME don't use p1, so don't send any meaningful value for it when invoking these commands 19 years ago
tron 14f482aeb5 (svn r2328) There's no need for extra magic to detect libpng on FreeBSD 19 years ago
bjarni fd9d6e2fc6 (svn r2327) -fix [MacOSX] default path for midi player on mac is now correct again 19 years ago
Darkvater d006bd358f (svn r2325) - Update OpenTTD for 0.4.0 release 19 years ago
tron 4eebeff58c (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes. 19 years ago
tron 0375f30336 (svn r2323) Remove unused dereferencing 19 years ago
Darkvater 33bb043fb6 (svn r2322) - CodeChange: doxygen commented the tunnel-crash fix. Also if (bla) {return;} else {return;} is not proper code. It's if (bla) {return;} return; ;) 19 years ago
matthijs abdf4ead87 (svn r2321) - Fix: [ 1202286 ] On OS/2 you get a double backslash in your filename after browsing to the root dir of a drive and "." and ".." are incorrectly displayed. (orudge) 19 years ago
matthijs 1436fa9d48 (svn r2320) - Fix: [ 1185176 ] Train in tunnel is not properly detected by signal code (Hackykid) 19 years ago
Darkvater a195f8df91 (svn r2319) - Fix: copying/pasting from the extra viewport did not center on what you wanted to see if one of the windows (viewport or main) was zoomed out. Also fix the undisabled-zoom-in button upon creation. 19 years ago
Darkvater d958518e76 (svn r2318) - Feature: added console command 'part' to leave a currently running game and 'join' which is an alias to 'connect' to join a multiplayer server. 19 years ago
Darkvater 037ef4cd31 (svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno) 19 years ago
Darkvater d1b068355c (svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob) 19 years ago
Darkvater 9cfb89cf24 (svn r2315) - Fix: [ 1187613 ] No HQ present for competitor, disable 'View HQ' button, inspired by lucaspiller 19 years ago
Darkvater ed5cf7b28f (svn r2314) - Feature: [ 1187490 ] Patches for building on IRIX (jgilje) 19 years ago
Darkvater ea20ca8fc2 (svn r2313) - Fix: [ 1202115 ] Clicking shipslist on bouy asserts GetPlayer(). Bouys and oilrigs don't have owners, so it cannot get the vehicle-list of the station-owner. Just use _current_player 19 years ago
Darkvater 529d280167 (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL. 19 years ago
Darkvater a77e736431 (svn r2311) - Fix: eh, forgot to remove moved function. 19 years ago
Darkvater a77a211ef7 (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
Darkvater 56bc64a3a1 (svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;) 19 years ago
Darkvater 57a44b4243 (svn r2308) - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security"
- CodeChange: move ValParamRailtype() to check rail type from command.h to vehicle.h where it is better suited.
19 years ago
Darkvater e4eb0c672a (svn r2307) - Fix (regression): it was not possible to change the drive-side in the intro-game.
- CodeChange: remove unused "CANT_DO_THIS" double-string.
19 years ago