Files @ r9859:8c15dba58099
Branch filter:

Location: cpp/openttd-patchpack/source/source.list

peter1138
(svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
# Source Files
airport.cpp
animated_tile.cpp
articulated_vehicles.cpp
aystar.cpp
bmp.cpp
callback_table.cpp
cargopacket.cpp
cargotype.cpp
cheat.cpp
command.cpp
console.cpp
console_cmds.cpp
console_gui.cpp
currency.cpp
date.cpp
debug.cpp
dedicated.cpp
depot.cpp
driver.cpp
widgets/dropdown.cpp
economy.cpp
effectvehicle.cpp
elrail.cpp
engine.cpp
fileio.cpp
fios.cpp
fontcache.cpp
gamelog.cpp
genworld.cpp
gfx.cpp
gfxinit.cpp
heightmap.cpp
landscape.cpp
map.cpp
md5.cpp
minilzo.cpp
misc.cpp
mixer.cpp
music.cpp
namegen.cpp
network/network.cpp
network/network_client.cpp
network/network_data.cpp
network/network_gamelist.cpp
network/network_server.cpp
network/network_udp.cpp
npf.cpp
oldloader.cpp
oldpool.cpp
openttd.cpp
os_timer.cpp
#if WIN32
	ottdres.rc
#end
#if WINCE
	ottdres.rc
#end
pathfind.cpp
pbs.cpp
players.cpp
queue.cpp
rail.cpp
rev.cpp
road.cpp
saveload.cpp
screenshot.cpp
#if SDL
	sdl.cpp
#end
settings.cpp
signal.cpp
signs.cpp
sound.cpp
spritecache.cpp
station.cpp
string.cpp
strings.cpp
texteff.cpp
tgp.cpp
#if HAVE_THREAD
	#if WIN32
		thread_win32.cpp
		fiber_win32.cpp
	#else
		#if OS2
			thread_os2.cpp
		#else
			#if MORPHOS
				thread_morphos.cpp
			#else
				thread_pthread.cpp
			#end
		#end
		fiber_thread.cpp
	#end
#else
	thread_none.cpp
#end
tile_map.cpp
#if WIN32
#else
	#if WINCE
		win32.cpp
	#else
		#if OS2
			os2.cpp
		#else
			unix.cpp
		#end
	#end
#end
vehicle.cpp
vehiclelist.cpp
viewport.cpp
waypoint.cpp
widget.cpp
#if WIN32
	win32.cpp
#end
window.cpp

# Header Files
ai/ai.h
aircraft.h
airport.h
airport_movement.h
animated_tile_func.h
articulated_vehicles.h
autoreplace_base.h
autoreplace_func.h
autoreplace_gui.h
autoreplace_type.h
autoslope.h
aystar.h
bmp.h
bridge.h
callback_table.h
cargo_type.h
cargopacket.h
cargotype.h
cmd_helper.h
command_func.h
command_type.h
console_func.h
console_gui.h
console_internal.h
console_type.h
cheat_func.h
cheat_type.h
currency.h
date_func.h
date_type.h
debug.h
video/dedicated_v.h
ai/default/default.h
depot_base.h
depot_func.h
depot_map.h
depot_type.h
direction_func.h
direction_type.h
music/dmusic.h
driver.h
widgets/dropdown_func.h
widgets/dropdown_type.h
economy_func.h
economy_type.h
effectvehicle_func.h
effectvehicle_base.h
elrail_func.h
engine_base.h
engine_func.h
engine_gui.h
engine_type.h
fiber.hpp
fileio.h
fios.h
fontcache.h
functions.h
gamelog.h
genworld.h
gfx_func.h
gfx_type.h
gfxinit.h
group.h
group_gui.h
group_type.h
gui.h
heightmap.h
industry.h
industry_type.h
landscape.h
landscape_type.h
livery.h
lzoconf.h
map_func.h
map_type.h
md5.h
minilzo.h
mixer.h
music.h
namegen_func.h
network/network.h
network/network_client.h
network/network_func.h
network/network_gamelist.h
network/network_gui.h
network/network_internal.h
network/network_server.h
network/network_type.h
network/network_udp.h
newgrf.h
newgrf_callbacks.h
newgrf_canal.h
newgrf_cargo.h
newgrf_commons.h
newgrf_config.h
newgrf_engine.h
newgrf_generic.h
newgrf_house.h
newgrf_industries.h
newgrf_industrytiles.h
newgrf_sound.h
newgrf_spritegroup.h
newgrf_station.h
newgrf_storage.h
newgrf_text.h
newgrf_town.h
newgrf_townname.h
news_func.h
news_gui.h
news_type.h
npf.h
music/null_m.h
sound/null_s.h
video/null_v.h
oldpool.h
oldpool_func.h
openttd.h
order_base.h
order_func.h
order_type.h
pathfind.h
pbs.h
player_base.h
player_face.h
player_func.h
player_gui.h
player_type.h
querystring_gui.h
queue.h
rail.h
rail_gui.h
rail_type.h
rev.h
road_cmd.h
road_func.h
road_gui.h
road_internal.h
road_type.h
roadveh.h
saveload.h
screenshot.h
sdl.h
sound/sdl_s.h
video/sdl_v.h
settings_func.h
settings_internal.h
settings_type.h
ship.h
signal_func.h
signal_type.h
signs_base.h
signs_func.h
signs_type.h
slope_func.h
slope_type.h
sortlist_type.h
sound_func.h
sound_type.h
sprite.h
spritecache.h
station_base.h
station_func.h
station_gui.h
station_type.h
statusbar_gui.h
stdafx.h
string_func.h
string_type.h
strings_func.h
strings_type.h
tar_type.h
terraform_gui.h
textbuf_gui.h
texteff.hpp
tgp.h
thread.h
tile_cmd.h
tile_type.h
tilehighlight_func.h
tilehighlight_type.h
timetable.h
town.h
town_type.h
toolbar_gui.h
track_func.h
track_type.h
train.h
transparency.h
transparency_gui.h
transport_type.h
ai/trolly/trolly.h
tunnelbridge.h
unmovable.h
variables.h
vehicle_base.h
vehicle_func.h
vehicle_gui.h
vehicle_type.h
vehiclelist.h
viewport_func.h
viewport_type.h
waypoint.h
waypoint_type.h
music/win32_m.h
sound/win32_s.h
video/win32_v.h
water.h
win32.h
window_func.h
window_gui.h
window_type.h
zoom_func.h
zoom_type.h
#if WIN32
#else
music/bemidi.h
music/extmidi.h
music/libtimidity.h
music/os2_m.h
music/qtmidi.h
os/macosx/macos.h
os/macosx/osx_stdafx.h
os/macosx/splash.h
sound/cocoa_s.h
video/cocoa/cocoa_keys.h
video/cocoa/cocoa_v.h
#end

# Core Source Code
core/alloc_func.hpp
core/alloc_func.cpp
core/alloc_type.hpp
core/bitmath_func.hpp
core/bitmath_func.cpp
core/endian_func.hpp
core/endian_type.hpp
core/enum_type.hpp
core/geometry_type.hpp
core/math_func.hpp
core/mem_func.hpp
core/overflowsafe_type.hpp
core/random_func.hpp
core/random_func.cpp
core/smallvec_type.hpp
core/sort_func.hpp

# GUI Source Code
aircraft_gui.cpp
airport_gui.cpp
autoreplace_gui.cpp
bridge_gui.cpp
build_vehicle_gui.cpp
cheat_gui.cpp
depot_gui.cpp
dock_gui.cpp
engine_gui.cpp
genworld_gui.cpp
graph_gui.cpp
group_gui.cpp
industry_gui.cpp
intro_gui.cpp
main_gui.cpp
misc_gui.cpp
music_gui.cpp
network/network_gui.cpp
newgrf_gui.cpp
news_gui.cpp
order_gui.cpp
osk_gui.cpp
player_gui.cpp
rail_gui.cpp
road_gui.cpp
roadveh_gui.cpp
settings_gui.cpp
ship_gui.cpp
signs_gui.cpp
smallmap_gui.cpp
station_gui.cpp
statusbar_gui.cpp
subsidy_gui.cpp
terraform_gui.cpp
timetable_gui.cpp
toolbar_gui.cpp
town_gui.cpp
train_gui.cpp
transparency_gui.cpp
tree_gui.cpp
vehicle_gui.cpp

# Command handlers
aircraft_cmd.cpp
autoreplace_cmd.cpp
clear_cmd.cpp
disaster_cmd.cpp
dummy_land.cpp
group_cmd.cpp
industry_cmd.cpp
misc_cmd.cpp
order_cmd.cpp
rail_cmd.cpp
road_cmd.cpp
roadveh_cmd.cpp
ship_cmd.cpp
station_cmd.cpp
terraform_cmd.cpp
timetable_cmd.cpp
town_cmd.cpp
train_cmd.cpp
tree_cmd.cpp
tunnelbridge_cmd.cpp
unmovable_cmd.cpp
water_cmd.cpp

# Tables
table/ai_rail.h
table/animcursors.h
table/autorail.h
table/bridge_land.h
table/build_industry.h
table/cargo_const.h
table/clear_land.h
table/control_codes.h
table/elrail_data.h
table/engines.h
table/files.h
table/genland.h
table/industry_land.h
table/landscape_sprite.h
table/namegen.h
table/palettes.h
table/railtypes.h
table/road_land.h
table/roadveh_movement.h
table/sprites.h
table/station_land.h
../objs/langs/table/strings.h
table/town_land.h
table/track_land.h
table/train_cmd.h
table/tree_land.h
table/unicode.h
table/unmovable_land.h
table/water_land.h

# AI Files
ai/ai.cpp
ai/trolly/build.cpp
ai/default/default.cpp
ai/trolly/pathfinder.cpp
ai/trolly/shared.cpp
ai/trolly/trolly.cpp

# Blitters
blitter/32bpp_anim.cpp
blitter/32bpp_anim.hpp
blitter/32bpp_base.cpp
blitter/32bpp_base.hpp
blitter/32bpp_optimized.cpp
blitter/32bpp_optimized.hpp
blitter/32bpp_simple.cpp
blitter/32bpp_simple.hpp
blitter/8bpp_base.cpp
blitter/8bpp_base.hpp
blitter/8bpp_debug.cpp
blitter/8bpp_debug.hpp
blitter/8bpp_optimized.cpp
blitter/8bpp_optimized.hpp
blitter/8bpp_simple.cpp
blitter/8bpp_simple.hpp
blitter/base.hpp
blitter/factory.hpp
blitter/null.cpp
blitter/null.hpp

# Drivers
music/music_driver.hpp
sound/sound_driver.hpp
video/video_driver.hpp

# Sprite loaders
spriteloader/grf.cpp
spriteloader/grf.hpp
#if PNG
spriteloader/png.cpp
spriteloader/png.hpp
#end
spriteloader/spriteloader.hpp

# NewGRF
newgrf.cpp
newgrf_canal.cpp
newgrf_cargo.cpp
newgrf_commons.cpp
newgrf_config.cpp
newgrf_engine.cpp
newgrf_generic.cpp
newgrf_house.cpp
newgrf_industries.cpp
newgrf_industrytiles.cpp
newgrf_sound.cpp
newgrf_spritegroup.cpp
newgrf_station.cpp
newgrf_storage.cpp
newgrf_text.cpp
newgrf_town.cpp
newgrf_townname.cpp

# Map Accessors
bridge_map.cpp
bridge_map.h
clear_map.h
industry_map.h
rail_map.h
road_map.cpp
road_map.h
station_map.h
tile_map.h
town_map.h
tree_map.h
tunnel_map.cpp
tunnel_map.h
tunnelbridge_map.h
unmovable_map.h
void_map.h
water_map.h

# Misc
misc/array.hpp
misc/binaryheap.hpp
misc/blob.hpp
misc/countedobj.cpp
misc/countedptr.hpp
misc/crc32.hpp
misc/dbg_helpers.cpp
misc/dbg_helpers.h
misc/fixedsizearray.hpp
misc/hashtable.hpp
misc/str.hpp
misc/strapi.hpp

# Network Core
network/core/config.h
network/core/core.cpp
network/core/core.h
network/core/game.h
network/core/host.cpp
network/core/host.h
network/core/os_abstraction.h
network/core/packet.cpp
network/core/packet.h
network/core/tcp.cpp
network/core/tcp.h
network/core/udp.cpp
network/core/udp.h

# YAPF
yapf/follow_track.hpp
yapf/nodelist.hpp
yapf/yapf.h
yapf/yapf.hpp
yapf/yapf_base.hpp
yapf/yapf_common.hpp
yapf/yapf_costbase.hpp
yapf/yapf_costcache.hpp
yapf/yapf_costrail.hpp
yapf/yapf_destrail.hpp
yapf/yapf_node.hpp
yapf/yapf_node_rail.hpp
yapf/yapf_node_road.hpp
yapf/yapf_rail.cpp
yapf/yapf_road.cpp
yapf/yapf_ship.cpp

# Video
video/dedicated_v.cpp
video/null_v.cpp
#if SDL
	video/sdl_v.cpp
#end
#if WIN32
	video/win32_v.cpp
#end
#if WINCE
	video/win32_v.cpp
#end

# Music
#if DIRECTMUSIC
	music/dmusic.cpp
#end
music/null_m.cpp
#if WIN32
	music/win32_m.cpp
#else
	#if WINCE
	#else
		#if PSP
		#else
			music/extmidi.cpp
		#end
	#end
#end
#if BEOS
 	music/bemidi.cpp
#end
#if LIBTIMIDITY
	music/libtimidity.cpp
#end

# Sound
sound/null_s.cpp
#if SDL
	sound/sdl_s.cpp
#end
#if WIN32
	sound/win32_s.cpp
#end

#if OSX
# OSX Files
	os/macosx/macos.mm

	#if DEDICATED
	#else
		music/qtmidi.cpp
	#end

	#if COCOA
		video/cocoa/cocoa_v.mm
		video/cocoa/event.mm
		video/cocoa/fullscreen.mm
		video/cocoa/wnd_quartz.mm
		video/cocoa/wnd_quickdraw.mm
		sound/cocoa_s.cpp
		os/macosx/splash.cpp
	#end
#end