Files @ r7170:38b143754b40
Branch filter:

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

peter1138
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
  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
# Source Files
airport.cpp
articulated_vehicles.cpp
autoreplace_cmd.cpp
aystar.cpp
bmp.cpp
callback_table.cpp
cargotype.cpp
cargopacket.cpp
command.cpp
console.cpp
console_cmds.cpp
currency.cpp
date.cpp
debug.cpp
dedicated.cpp
depot.cpp
driver.cpp
economy.cpp
elrail.cpp
engine.cpp
fileio.cpp
fios.cpp
fontcache.cpp
genworld.cpp
gfx.cpp
gfxinit.cpp
heightmap.cpp
helpers.cpp
landscape.cpp
map.cpp
md5.cpp
mersenne.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
players.cpp
queue.cpp
rail.cpp
saveload.cpp
screenshot.cpp
#if SDL
	sdl.cpp
#end
settings.cpp
signs.cpp
sound.cpp
spritecache.cpp
station.cpp
string.cpp
strings.cpp
texteff.cpp
tgp.cpp
thread.cpp
tile.cpp
#if WIN32
#else
	#if WINCE
		win32.cpp
	#else
		#if OS2
			os2.cpp
		#else
			unix.cpp
		#end
	#end
#end
vehicle.cpp
viewport.cpp
waypoint.cpp
widget.cpp
#if WIN32
	win32.cpp
#end
window.cpp

# Header Files
aircraft.h
airport.h
airport_movement.h
articulated_vehicles.h
aystar.h
bmp.h
cargotype.h
cargopacket.h
command.h
console.h
currency.h
date.h
debug.h
video/dedicated_v.h
depot.h
direction.h
music/dmusic.h
driver.h
economy.h
engine.h
fileio.h
fios.h
fontcache.h
functions.h
genworld.h
gfx.h
gfxinit.h
group.h
gui.h
heightmap.h
helpers.hpp
industry.h
landscape.h
livery.h
macros.h
map.h
md5.h
mixer.h
music.h
network/network.h
network/network_client.h
network/network_data.h
network/network_gamelist.h
network/network_gui.h
network/network_server.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_house.h
newgrf_industries.h
newgrf_industrytiles.h
newgrf_sound.h
newgrf_spritegroup.h
newgrf_station.h
newgrf_text.h
newgrf_town.h
newgrf_townname.h
news.h
npf.h
music/null_m.h
sound/null_s.h
video/null_v.h
oldpool.h
openttd.h
pathfind.h
player.h
player_face.h
queue.h
rail.h
road_cmd.h
saveload.h
screenshot.h
sound/sdl_s.h
video/sdl_v.h
settings.h
signs.h
slope.h
sound.h
sprite.h
spritecache.h
station.h
stdafx.h
string.h
texteff.hpp
tgp.h
thread.h
tile.h
timetable.h
town.h
train.h
transparency_gui.h
variables.h
vehicle.h
vehicle_gui.h
viewport.h
waypoint.h
music/win32_m.h
sound/win32_s.h
video/win32_v.h
window.h
zoom.hpp

# GUI Source Code
aircraft_gui.cpp
airport_gui.cpp
autoreplace_gui.cpp
bridge_gui.cpp
build_vehicle_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
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
subsidy_gui.cpp
terraform_gui.cpp
timetable_gui.cpp
town_gui.cpp
train_gui.cpp
transparency_gui.cpp
vehicle_gui.cpp

# Landscape
aircraft_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
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/build_industry.h
table/cargo_const.h
table/clear_land.h
table/elrail_data.h
table/engines.h
table/genland.h
table/industry_land.h
table/landscape_sprite.h
table/namegen.h
table/palettes.h
table/road_land.h
table/roadveh.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/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_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_house.cpp
newgrf_industries.cpp
newgrf_industrytiles.cpp
newgrf_sound.cpp
newgrf_spritegroup.cpp
newgrf_station.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.cpp
station_map.h
town_map.h
tree_map.h
tunnel_map.cpp
tunnel_map.h
unmovable_map.h
void_map.h
water_map.h

# Misc
misc/array.hpp
misc/autocopyptr.hpp
misc/autoptr.hpp
misc/binaryheap.hpp
misc/blob.hpp
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/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.cpp
yapf/follow_track.hpp
yapf/nodelist.hpp
yapf/track_dir.hpp
yapf/yapf.h
yapf/yapf.hpp
yapf/yapf_base.hpp
yapf/yapf_common.cpp
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_settings.h
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_v.mm
		sound/cocoa_s.cpp
		os/macosx/splash.cpp
	#end
#end