mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
b7443d800b
-Codechange: store the SpriteID in the spritecache too -Add: add a PNG loader for graphical files -Documentation: added a document to explain the PNG format
463 lines
6.3 KiB
Plaintext
463 lines
6.3 KiB
Plaintext
# Source Files
|
|
airport.cpp
|
|
articulated_vehicles.cpp
|
|
autoreplace_cmd.cpp
|
|
aystar.cpp
|
|
bmp.cpp
|
|
callback_table.cpp
|
|
cargotype.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
|
|
autoreplace_cmd.h
|
|
aystar.h
|
|
bmp.h
|
|
cargotype.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
|
|
hal.h
|
|
heightmap.h
|
|
helpers.hpp
|
|
industry.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
|
|
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
|
|
station.h
|
|
stdafx.h
|
|
string.h
|
|
tgp.h
|
|
thread.h
|
|
tile.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
|
|
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
|
|
town_cmd.cpp
|
|
train_cmd.cpp
|
|
tree_cmd.cpp
|
|
tunnelbridge_cmd.cpp
|
|
unmovable_cmd.cpp
|
|
water_cmd.cpp
|
|
|
|
# Tables
|
|
table/ai_rail.h
|
|
table/allstrings.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
|
|
table/strings.h
|
|
table/town_land.h
|
|
table/track_land.h
|
|
table/train_cmd.h
|
|
table/tree_land.h
|
|
table/tunnel_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_simple.cpp
|
|
blitter/32bpp_simple.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/null.cpp
|
|
blitter/null.hpp
|
|
blitter/blitter.hpp
|
|
|
|
# Sprite loaders
|
|
spriteloader/grf.cpp
|
|
spriteloader/grf.hpp
|
|
spriteloader/png.cpp
|
|
spriteloader/png.hpp
|
|
spriteloader/spriteloader.hpp
|
|
|
|
# Renderer
|
|
renderer/32bpp.cpp
|
|
renderer/32bpp.hpp
|
|
renderer/8bpp.cpp
|
|
renderer/8bpp.hpp
|
|
renderer/null.cpp
|
|
renderer/null.hpp
|
|
renderer/renderer.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
|
|
|
|
# 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/fixedsizearray.hpp
|
|
misc/hashtable.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
|