rubidium
70b2093ddb
(svn r26132) -Fix-ish: prevent issues due to overflowing multiplications by limiting the size of full zoom sprites to about 32kix32ki
2013-11-26 22:03:56 +00:00
translators
b0a6efc7b3
(svn r26131) -Update from WebTranslator v3.0:
...
simplified_chinese - 1 changes by siu238X
traditional_chinese - 1 changes by siu238X
turkish - 13 changes by wakeup
2013-11-26 18:45:17 +00:00
rubidium
d2ba772f6a
(svn r26130) -Codechange: add some guards against using invalid image indices
2013-11-26 16:08:58 +00:00
rubidium
7abe85d727
(svn r26129) -Fix: remove dead code; it could be made to do what it did, but then it would be inconsistent with moving vehicles around
2013-11-26 15:30:41 +00:00
rubidium
b1bcd1adab
(svn r26128) -Fix: erroneous cast
2013-11-26 15:12:54 +00:00
rubidium
f514e31978
(svn r26127) -Fix (r18186): missing break
2013-11-26 15:08:15 +00:00
rubidium
54a8e00a7e
(svn r26126) -Cleanup: remove unneeded check for NULL
2013-11-26 14:52:28 +00:00
rubidium
982fcb7aab
(svn r26125) -Fix: make sure the tile area's variables are always properly initialised
2013-11-26 14:47:45 +00:00
rubidium
5e3aa72855
(svn r26124) -Fix: make sure all members of the default string iterator are initialised
2013-11-26 13:42:09 +00:00
rubidium
02059ab4a7
(svn r26123) -Fix: make sure the maximum row length when making company buttons is at least 1
2013-11-26 13:27:34 +00:00
rubidium
79ccf48636
(svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget
2013-11-26 13:23:31 +00:00
rubidium
50fdf5e30c
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
2013-11-26 13:21:25 +00:00
rubidium
945fccc706
(svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition
2013-11-26 12:48:56 +00:00
rubidium
3b83a195ca
(svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID
2013-11-26 12:46:21 +00:00
rubidium
b12205697b
(svn r26118) -Fix-ish?: comparing the old Direction to the possibly new state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it.
...
Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.
2013-11-26 12:04:16 +00:00
rubidium
f669101560
(svn r26117) -Cleanup: unneeded NULL check
2013-11-26 10:00:15 +00:00
rubidium
04e97a0bec
(svn r26116) -Codechange: validate that the number of lines in a graph is more than 0
2013-11-25 22:32:32 +00:00
rubidium
77e5b1e3b2
(svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught
2013-11-25 22:22:32 +00:00
rubidium
d2ffba07bb
(svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell
2013-11-25 21:50:54 +00:00
rubidium
43f76dcabb
(svn r26113) -Fix: unhandled seek error, and leaking file descriptor
2013-11-25 16:42:35 +00:00
rubidium
ffb9279479
(svn r26112) -Fix: make sure a vehicle list is always initialised
2013-11-25 16:36:11 +00:00
rubidium
b53da6a6f5
(svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land
2013-11-25 16:26:50 +00:00
rubidium
c2ee87c1a9
(svn r26110) -Codechange: add guard for enterdir being valid in signal code
2013-11-25 16:22:29 +00:00
rubidium
00264cc708
(svn r26109) -Fix: missing initialisation
2013-11-25 14:34:09 +00:00
rubidium
defda16eb6
(svn r26108) -Codechange: some coding style (whitespace)
2013-11-25 14:30:22 +00:00
rubidium
6996b441d9
(svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations
2013-11-25 14:26:46 +00:00
rubidium
a399fc667c
(svn r26106) -Codechange: document fall through explicitly
2013-11-25 13:28:08 +00:00
rubidium
4b8d9aad5b
(svn r26105) -Codechange: add a lot of assertions to track/road functions that might eventually lead to become indices into tables
2013-11-25 13:16:06 +00:00
rubidium
c143ca729a
(svn r26104) -Fix: do not attempt to do stuff with an invalid direction, especially using it as index into a table
2013-11-25 13:13:35 +00:00
rubidium
f817b06c18
(svn r26103) -Fix: prevent odd overflows due to integer promotion
2013-11-25 13:06:33 +00:00
rubidium
e106e54f9f
(svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true
2013-11-25 11:11:56 +00:00
rubidium
18beaac571
(svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders
2013-11-25 11:08:21 +00:00
rubidium
573f6dcd34
(svn r26100) -Fix: possible buffer overflow in console handling of aliases
2013-11-25 10:13:59 +00:00
rubidium
2009da4f7d
(svn r26099) -Codechange: make NewGRF scanner management slightly easier
2013-11-25 09:22:56 +00:00
rubidium
43edd2409e
(svn r26098) -Fix: close the log file when OpenTTD was forked and finally closed
2013-11-25 09:20:35 +00:00
rubidium
ee0aa389a8
(svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window)
2013-11-25 09:12:49 +00:00
rubidium
0460b78515
(svn r26093) -Fix (r26092): compilation error
2013-11-24 19:53:35 +00:00
rubidium
168fa4129d
(svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names
2013-11-24 19:46:16 +00:00
rubidium
4de2871fc0
(svn r26091) -Fix (r26089): double frees... woospie
2013-11-24 16:21:19 +00:00
rubidium
c54a70cce8
(svn r26090) -Fix: leaking of file descriptor when reading strings for game texts
2013-11-24 15:25:41 +00:00
rubidium
0ac9ed0b6b
(svn r26089) -Fix: a number of minor memory leaks
2013-11-24 15:21:38 +00:00
rubidium
2fc10b7e04
(svn r26088) -Fix (r26086): Windows compilation
2013-11-24 15:17:53 +00:00
rubidium
3eecd246eb
(svn r26087) -Fix: file descriptor leak when finding a corrupt tar
2013-11-24 15:02:05 +00:00
rubidium
83eeba28b7
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
2013-11-24 14:46:26 +00:00
frosch
db894b0b3f
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
2013-11-24 14:41:19 +00:00
rubidium
45a5aba8d5
(svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable
2013-11-24 14:34:33 +00:00
rubidium
58c356e935
(svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value
2013-11-24 14:29:32 +00:00
rubidium
b75e60124d
(svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco)
2013-11-24 13:00:06 +00:00
rubidium
6fb28d8719
(svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base
2013-11-24 09:52:35 +00:00
rubidium
a8e8f606d8
(svn r26080) -Fix: possible out of bounds array access
2013-11-24 09:30:30 +00:00