Darkvater
426aa514ff
(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
...
- Fix (console): any line starting with a '#' is a comment so ignore it
- Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
20 years ago
matthijs
8ef3f896f5
(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified.
...
This fix solves the issue for now by installing scenarios in the system-wide data dir.
- Add: 32x32 xpm format icon, used for debian packaging.
- Some minor updates to the os/debian directory.
20 years ago
tron
f9989998a7
(svn r2370) Replace some magic numbers with symbolic names
20 years ago
tron
2aaff36eef
(svn r2369) Remove _thd_ptr: It always holds the address of _thd
20 years ago
Darkvater
72f673f36d
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
20 years ago
tron
4cd4a2be79
(svn r2367) Remove some unused functions, probably was some debug stuff
20 years ago
tron
6566941077
(svn r2366) Use SetRedErrorSquare() instead of home brewed version
20 years ago
hackykid
d90948abb7
(svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers.
...
- Fix: [refitting] The refit window now shows the correct refit options for the entire consist. Only if at least one of the vehicles in the train can be refitted to a certain cargo, it is shown in the list.
- Fix: [refitting] When refitting to a cargo which is already carried by some vehicles in the consist, the capacities of those vehicles are taken into account when calculating the new capacity of the train in the refit window.
20 years ago
Darkvater
1498d42ef6
(svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main menu, always the value it was before you changed it. A too rigid check forgot to check the parameter value -1 which set the difficulty level itself.
20 years ago
matthijs
a2f691b24a
(svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid)
20 years ago
miham
5e040110fc
(svn r2362) [Translations] Updated to 2005-04-23 (207 strs / 6 langs)
20 years ago
hackykid
726f86e020
(svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl.
20 years ago
tron
ec4f1d12f4
(svn r2360) Use GB and SB in [GS]etMapExtraBits
20 years ago
tron
aa1c202577
(svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a cat, btw), remove the latter and simplify some constructs
20 years ago
tron
870127fd30
(svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
...
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
20 years ago
orudge
27dee01623
(svn r2357) Small OS/2 update
20 years ago
tron
bff8dfea1c
(svn r2356) Make check if statvfs() is availible a bit more sensible
20 years ago
orudge
54bc10515f
(svn r2354) Update OpenTTD for 0.4.0.1 release
20 years ago
Darkvater
a893485be1
(svn r2353) - Prepare windows installer for 0.4.0.1
20 years ago
Darkvater
519c4161d5
(svn r2352) - Feature: add the possibility to print out the current debug-level
20 years ago
tron
1ab7238c15
(svn r2351) -Fix: It was possible to open more than one tree window
20 years ago
miham
0b89bbaa3c
(svn r2350) [Translations] Updated to 2005-04-18 (156 strs / 3 langs)
20 years ago
Darkvater
1b2b0d5b79
(svn r2349) - Fix: remove warning from release build when assertions are no longer active
20 years ago
Darkvater
cdb81c660c
(svn r2348) - Fix: Do not scroll the game with the arrow keys when the chatbox is open
20 years ago
Darkvater
9fb4b2ef55
(svn r2347) - Fix (regression): depot window did not get redrawn when a non-train-engine was sold.
20 years ago
Darkvater
70e2e79c45
(svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall
20 years ago
Darkvater
cb5107f97f
(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).
20 years ago
Darkvater
d3ce687daf
(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.
20 years ago
Darkvater
1c22cea02d
(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.
20 years ago
Darkvater
21d9e2c934
(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.
20 years ago
miham
90ca24f7b6
(svn r2341) [Translations] Updated to 2005-04-17 (74 strs / 6 langs)
20 years ago
Darkvater
a5612ab10a
(svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move.
20 years ago
Darkvater
54b7fb0203
(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.
20 years ago
Darkvater
166c1badc9
(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"
20 years ago
truelight
143dd26ef5
(svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
20 years ago
Darkvater
391c34c12b
(svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow
20 years ago
miham
f48fdba12c
(svn r2335) [Translations] Updated to 2005-05-16 (36 strs / 17 langs, removed unused strings)
20 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.
20 years ago
Darkvater
effbba74f5
(svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.
20 years ago
Darkvater
653000bdd6
(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
...
- Fix: do not execute emtpy commands anymore
20 years ago
Darkvater
4554daa130
(svn r2331) - Fix (regression): fix text overflows in about box.
20 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()
20 years ago
tron
b18e4d1a8d
(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
20 years ago
tron
ff52fc8267
(svn r2328) There's no need for extra magic to detect libpng on FreeBSD
20 years ago
bjarni
2bc9764fcf
(svn r2327) -fix [MacOSX] default path for midi player on mac is now correct again
20 years ago
Darkvater
7dc5c5d1b1
(svn r2325) - Update OpenTTD for 0.4.0 release
20 years ago
tron
fea5965679
(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.
20 years ago
tron
6cd410afbb
(svn r2323) Remove unused dereferencing
20 years ago
Darkvater
3fd39ec630
(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; ;)
20 years ago
matthijs
89587c1d51
(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)
20 years ago