From c3a4f7d8ce76ad30a68fc3a3fae5443c283ba7a9 Mon Sep 17 00:00:00 2001 From: vincentlj Date: Fri, 10 Jan 2014 21:30:17 +0000 Subject: [PATCH] Use a custom stk mesh git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14997 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- sources.cmake | 1330 ++++++++++++++++++----------------- src/graphics/irr_driver.cpp | 12 +- src/graphics/stkmesh.cpp | 15 + src/graphics/stkmesh.hpp | 19 + src/tracks/track.cpp | 4 +- 5 files changed, 713 insertions(+), 667 deletions(-) create mode 100644 src/graphics/stkmesh.cpp create mode 100644 src/graphics/stkmesh.hpp diff --git a/sources.cmake b/sources.cmake index 2e9db0485..b59bf4fb9 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,664 +1,666 @@ -# Generated by ./update_file_list.sh. Do not edit this file manually. -set(STK_SOURCES -src/achievements/achievement.cpp -src/achievements/achievement_info.cpp -src/achievements/achievements_manager.cpp -src/achievements/achievements_slot.cpp -src/addons/addon.cpp -src/addons/addons_manager.cpp -src/addons/inetwork_http.cpp -src/addons/network_http.cpp -src/addons/news_manager.cpp -src/addons/request.cpp -src/addons/zip.cpp -src/animations/animation_base.cpp -src/animations/ipo.cpp -src/animations/three_d_animation.cpp -src/audio/music_information.cpp -src/audio/music_manager.cpp -src/audio/music_ogg.cpp -src/audio/sfx_buffer.cpp -src/audio/sfx_manager.cpp -src/audio/sfx_openal.cpp -src/challenges/challenge.cpp -src/challenges/challenge_data.cpp -src/challenges/game_slot.cpp -src/challenges/unlock_manager.cpp -src/config/device_config.cpp -src/config/player.cpp -src/config/saved_grand_prix.cpp -src/config/stk_config.cpp -src/config/user_config.cpp -src/graphics/callbacks.cpp -src/graphics/camera.cpp -src/graphics/CBatchingMesh.cpp -src/graphics/explosion.cpp -src/graphics/glow.cpp -src/graphics/glwrap.cpp -src/graphics/gpuparticles.cpp -src/graphics/hardware_skinning.cpp -src/graphics/hit_sfx.cpp -src/graphics/irr_driver.cpp -src/graphics/lens_flare.cpp -src/graphics/light.cpp -src/graphics/lod_node.cpp -src/graphics/material.cpp -src/graphics/material_manager.cpp -src/graphics/mesh_tools.cpp -src/graphics/moving_texture.cpp -src/graphics/particle_emitter.cpp -src/graphics/particle_kind.cpp -src/graphics/particle_kind_manager.cpp -src/graphics/per_camera_node.cpp -src/graphics/post_processing.cpp -src/graphics/rain.cpp -src/graphics/referee.cpp -src/graphics/render.cpp -src/graphics/rtts.cpp -src/graphics/screenquad.cpp -src/graphics/shaders.cpp -src/graphics/shadow.cpp -src/graphics/shadow_importance.cpp -src/graphics/show_curve.cpp -src/graphics/skid_marks.cpp -src/graphics/slip_stream.cpp -src/graphics/stars.cpp -src/graphics/sun.cpp -src/graphics/water.cpp -src/graphics/wind.cpp -src/guiengine/abstract_state_manager.cpp -src/guiengine/abstract_top_level_container.cpp -src/guiengine/CGUISpriteBank.cpp -src/guiengine/dialog_queue.cpp -src/guiengine/engine.cpp -src/guiengine/event_handler.cpp -src/guiengine/layout_manager.cpp -src/guiengine/modaldialog.cpp -src/guiengine/scalable_font.cpp -src/guiengine/screen.cpp -src/guiengine/screen_loader.cpp -src/guiengine/skin.cpp -src/guiengine/widget.cpp -src/guiengine/widgets/bubble_widget.cpp -src/guiengine/widgets/button_widget.cpp -src/guiengine/widgets/CGUIEditBox.cpp -src/guiengine/widgets/CGUISTKListBox.cpp -src/guiengine/widgets/check_box_widget.cpp -src/guiengine/widgets/dynamic_ribbon_widget.cpp -src/guiengine/widgets/icon_button_widget.cpp -src/guiengine/widgets/label_widget.cpp -src/guiengine/widgets/list_widget.cpp -src/guiengine/widgets/model_view_widget.cpp -src/guiengine/widgets/progress_bar_widget.cpp -src/guiengine/widgets/rating_bar_widget.cpp -src/guiengine/widgets/ribbon_widget.cpp -src/guiengine/widgets/spinner_widget.cpp -src/guiengine/widgets/text_box_widget.cpp -src/input/binding.cpp -src/input/device_manager.cpp -src/input/input_device.cpp -src/input/input_manager.cpp -src/input/wiimote.cpp -src/input/wiimote_manager.cpp -src/io/file_manager.cpp -src/io/xml_node.cpp -src/io/xml_writer.cpp -src/items/attachment.cpp -src/items/attachment_manager.cpp -src/items/bowling.cpp -src/items/cake.cpp -src/items/flyable.cpp -src/items/item.cpp -src/items/item_manager.cpp -src/items/plunger.cpp -src/items/powerup.cpp -src/items/powerup_manager.cpp -src/items/projectile_manager.cpp -src/items/rubber_ball.cpp -src/items/rubber_band.cpp -src/items/swatter.cpp -src/karts/abstract_kart.cpp -src/karts/abstract_kart_animation.cpp -src/karts/cannon_animation.cpp -src/karts/controller/ai_base_controller.cpp -src/karts/controller/ai_properties.cpp -src/karts/controller/controller.cpp -src/karts/controller/end_controller.cpp -src/karts/controller/network_player_controller.cpp -src/karts/controller/player_controller.cpp -src/karts/controller/skidding_ai.cpp -src/karts/explosion_animation.cpp -src/karts/ghost_kart.cpp -src/karts/kart.cpp -src/karts/kart_gfx.cpp -src/karts/kart_model.cpp -src/karts/kart_properties.cpp -src/karts/kart_properties_manager.cpp -src/karts/kart_with_stats.cpp -src/karts/max_speed.cpp -src/karts/moveable.cpp -src/karts/rescue_animation.cpp -src/karts/skidding.cpp -src/karts/skidding_properties.cpp -src/main.cpp -src/main_loop.cpp -src/modes/cutscene_world.cpp -src/modes/demo_world.cpp -src/modes/easter_egg_hunt.cpp -src/modes/follow_the_leader.cpp -src/modes/linear_world.cpp -src/modes/overworld.cpp -src/modes/profile_world.cpp -src/modes/soccer_world.cpp -src/modes/standard_race.cpp -src/modes/three_strikes_battle.cpp -src/modes/tutorial_world.cpp -src/modes/world.cpp -src/modes/world_status.cpp -src/modes/world_with_rank.cpp -src/network/client_network_manager.cpp -src/network/event.cpp -src/network/game_setup.cpp -src/network/network_interface.cpp -src/network/network_manager.cpp -src/network/network_string.cpp -src/network/network_world.cpp -src/network/protocol.cpp -src/network/protocol_manager.cpp -src/network/protocols/client_lobby_room_protocol.cpp -src/network/protocols/connect_to_peer.cpp -src/network/protocols/connect_to_server.cpp -src/network/protocols/controller_events_protocol.cpp -src/network/protocols/game_events_protocol.cpp -src/network/protocols/get_peer_address.cpp -src/network/protocols/get_public_address.cpp -src/network/protocols/hide_public_address.cpp -src/network/protocols/kart_update_protocol.cpp -src/network/protocols/lobby_room_protocol.cpp -src/network/protocols/ping_protocol.cpp -src/network/protocols/quick_join_protocol.cpp -src/network/protocols/request_connection.cpp -src/network/protocols/server_lobby_room_protocol.cpp -src/network/protocols/show_public_address.cpp -src/network/protocols/start_game_protocol.cpp -src/network/protocols/start_server.cpp -src/network/protocols/stop_server.cpp -src/network/protocols/synchronization_protocol.cpp -src/network/race_config.cpp -src/network/server_network_manager.cpp -src/network/stk_host.cpp -src/network/stk_peer.cpp -src/network/types.cpp -src/online/current_user.cpp -src/online/http_request.cpp -src/online/messages.cpp -src/online/profile.cpp -src/online/profile_manager.cpp -src/online/request.cpp -src/online/request_manager.cpp -src/online/server.cpp -src/online/servers_manager.cpp -src/online/xml_request.cpp -src/physics/btKart.cpp -src/physics/btKartRaycast.cpp -src/physics/btUprightConstraint.cpp -src/physics/irr_debug_drawer.cpp -src/physics/physical_object.cpp -src/physics/physics.cpp -src/physics/triangle_mesh.cpp -src/race/grand_prix_data.cpp -src/race/grand_prix_manager.cpp -src/race/highscore_manager.cpp -src/race/highscores.cpp -src/race/history.cpp -src/race/race_manager.cpp -src/replay/replay_base.cpp -src/replay/replay_play.cpp -src/replay/replay_recorder.cpp -src/states_screens/addons_screen.cpp -src/states_screens/arenas_screen.cpp -src/states_screens/create_server_screen.cpp -src/states_screens/credits.cpp -src/states_screens/cutscene_gui.cpp -src/states_screens/dialogs/add_device_dialog.cpp -src/states_screens/dialogs/addons_loading.cpp -src/states_screens/dialogs/change_password_dialog.cpp -src/states_screens/dialogs/confirm_resolution_dialog.cpp -src/states_screens/dialogs/custom_video_settings.cpp -src/states_screens/dialogs/enter_player_name_dialog.cpp -src/states_screens/dialogs/gp_info_dialog.cpp -src/states_screens/dialogs/login_dialog.cpp -src/states_screens/dialogs/message_dialog.cpp -src/states_screens/dialogs/notification_dialog.cpp -src/states_screens/dialogs/player_info_dialog.cpp -src/states_screens/dialogs/press_a_key_dialog.cpp -src/states_screens/dialogs/race_paused_dialog.cpp -src/states_screens/dialogs/recovery_dialog.cpp -src/states_screens/dialogs/registration_dialog.cpp -src/states_screens/dialogs/select_challenge.cpp -src/states_screens/dialogs/server_info_dialog.cpp -src/states_screens/dialogs/track_info_dialog.cpp -src/states_screens/dialogs/tutorial_message_dialog.cpp -src/states_screens/dialogs/user_info_dialog.cpp -src/states_screens/dialogs/vote_dialog.cpp -src/states_screens/easter_egg_screen.cpp -src/states_screens/feature_unlocked.cpp -src/states_screens/grand_prix_lose.cpp -src/states_screens/grand_prix_win.cpp -src/states_screens/help_screen_1.cpp -src/states_screens/help_screen_2.cpp -src/states_screens/help_screen_3.cpp -src/states_screens/help_screen_4.cpp -src/states_screens/kart_selection.cpp -src/states_screens/main_menu_screen.cpp -src/states_screens/network_kart_selection.cpp -src/states_screens/networking_lobby.cpp -src/states_screens/offline_kart_selection.cpp -src/states_screens/online_profile_achievements.cpp -src/states_screens/online_profile_base.cpp -src/states_screens/online_profile_friends.cpp -src/states_screens/online_profile_overview.cpp -src/states_screens/online_profile_settings.cpp -src/states_screens/online_screen.cpp -src/states_screens/online_user_search.cpp -src/states_screens/options_screen_audio.cpp -src/states_screens/options_screen_input.cpp -src/states_screens/options_screen_input2.cpp -src/states_screens/options_screen_players.cpp -src/states_screens/options_screen_ui.cpp -src/states_screens/options_screen_video.cpp -src/states_screens/race_gui.cpp -src/states_screens/race_gui_base.cpp -src/states_screens/race_gui_overworld.cpp -src/states_screens/race_result_gui.cpp -src/states_screens/race_setup_screen.cpp -src/states_screens/server_selection.cpp -src/states_screens/soccer_setup_screen.cpp -src/states_screens/state_manager.cpp -src/states_screens/story_mode_lobby.cpp -src/states_screens/tracks_screen.cpp -src/tinygettext/dictionary.cpp -src/tinygettext/dictionary_manager.cpp -src/tinygettext/iconv.cpp -src/tinygettext/language.cpp -src/tinygettext/plural_forms.cpp -src/tinygettext/po_parser.cpp -src/tinygettext/stk_file_system.cpp -src/tinygettext/tgt_log.cpp -src/tinygettext/tinygettext.cpp -src/tracks/ambient_light_sphere.cpp -src/tracks/bezier_curve.cpp -src/tracks/check_cannon.cpp -src/tracks/check_goal.cpp -src/tracks/check_lap.cpp -src/tracks/check_line.cpp -src/tracks/check_manager.cpp -src/tracks/check_sphere.cpp -src/tracks/check_structure.cpp -src/tracks/graph_node.cpp -src/tracks/lod_node_loader.cpp -src/tracks/quad.cpp -src/tracks/quad_graph.cpp -src/tracks/quad_set.cpp -src/tracks/terrain_info.cpp -src/tracks/track.cpp -src/tracks/track_manager.cpp -src/tracks/track_object.cpp -src/tracks/track_object_manager.cpp -src/tracks/track_object_presentation.cpp -src/tracks/track_sector.cpp -src/utils/command_line.cpp -src/utils/constants.cpp -src/utils/crash_reporting.cpp -src/utils/debug.cpp -src/utils/helpers.cpp -src/utils/leak_check.cpp -src/utils/log.cpp -src/utils/profiler.cpp -src/utils/random_generator.cpp -src/utils/string_utils.cpp -src/utils/time.cpp -src/utils/translation.cpp -src/utils/vec3.cpp -) -set(STK_HEADERS -src/achievements/achievement.hpp -src/achievements/achievement_info.hpp -src/achievements/achievements_manager.hpp -src/achievements/achievements_slot.hpp -src/addons/addon.hpp -src/addons/addons_manager.hpp -src/addons/dummy_network_http.hpp -src/addons/inetwork_http.hpp -src/addons/network_http.hpp -src/addons/news_manager.hpp -src/addons/request.hpp -src/addons/zip.hpp -src/animations/animation_base.hpp -src/animations/ipo.hpp -src/animations/three_d_animation.hpp -src/audio/dummy_sfx.hpp -src/audio/music.hpp -src/audio/music_dummy.hpp -src/audio/music_information.hpp -src/audio/music_manager.hpp -src/audio/music_ogg.hpp -src/audio/sfx_base.hpp -src/audio/sfx_buffer.hpp -src/audio/sfx_manager.hpp -src/audio/sfx_openal.hpp -src/challenges/challenge.hpp -src/challenges/challenge_data.hpp -src/challenges/game_slot.hpp -src/challenges/unlock_manager.hpp -src/config/device_config.hpp -src/config/player.hpp -src/config/saved_grand_prix.hpp -src/config/stk_config.hpp -src/config/user_config.hpp -src/graphics/callbacks.hpp -src/graphics/camera.hpp -src/graphics/CBatchingMesh.hpp -src/graphics/explosion.hpp -src/graphics/glow.hpp -src/graphics/glwrap.hpp -src/graphics/hardware_skinning.hpp -src/graphics/hit_effect.hpp -src/graphics/hit_sfx.hpp -src/graphics/irr_driver.hpp -src/graphics/large_mesh_buffer.hpp -src/graphics/lens_flare.hpp -src/graphics/light.hpp -src/graphics/lod_node.hpp -src/graphics/material.hpp -src/graphics/material_manager.hpp -src/graphics/mesh_tools.hpp -src/graphics/mlaa_areamap.hpp -src/graphics/moving_texture.hpp -src/graphics/particle_emitter.hpp -src/graphics/particle_kind.hpp -src/graphics/particle_kind_manager.hpp -src/graphics/per_camera_node.hpp -src/graphics/post_processing.hpp -src/graphics/rain.hpp -src/graphics/referee.hpp -src/graphics/rtts.hpp -src/graphics/screenquad.hpp -src/graphics/shaders.hpp -src/graphics/shadow.hpp -src/graphics/shadow_importance.hpp -src/graphics/show_curve.hpp -src/graphics/skid_marks.hpp -src/graphics/slip_stream.hpp -src/graphics/stars.hpp -src/graphics/sun.hpp -src/graphics/water.hpp -src/graphics/wind.hpp -src/guiengine/abstract_state_manager.hpp -src/guiengine/abstract_top_level_container.hpp -src/guiengine/dialog_queue.hpp -src/guiengine/engine.hpp -src/guiengine/event_handler.hpp -src/guiengine/layout_manager.hpp -src/guiengine/modaldialog.hpp -src/guiengine/scalable_font.hpp -src/guiengine/screen.hpp -src/guiengine/skin.hpp -src/guiengine/widget.hpp -src/guiengine/widgets.hpp -src/guiengine/widgets/bubble_widget.hpp -src/guiengine/widgets/button_widget.hpp -src/guiengine/widgets/check_box_widget.hpp -src/guiengine/widgets/dynamic_ribbon_widget.hpp -src/guiengine/widgets/icon_button_widget.hpp -src/guiengine/widgets/label_widget.hpp -src/guiengine/widgets/list_widget.hpp -src/guiengine/widgets/model_view_widget.hpp -src/guiengine/widgets/progress_bar_widget.hpp -src/guiengine/widgets/rating_bar_widget.hpp -src/guiengine/widgets/ribbon_widget.hpp -src/guiengine/widgets/spinner_widget.hpp -src/guiengine/widgets/text_box_widget.hpp -src/input/binding.hpp -src/input/device_manager.hpp -src/input/input.hpp -src/input/input_device.hpp -src/input/input_manager.hpp -src/input/wiimote.hpp -src/input/wiimote_manager.hpp -src/io/file_manager.hpp -src/io/xml_node.hpp -src/io/xml_writer.hpp -src/items/attachment.hpp -src/items/attachment_manager.hpp -src/items/attachment_plugin.hpp -src/items/bowling.hpp -src/items/cake.hpp -src/items/flyable.hpp -src/items/item.hpp -src/items/item_manager.hpp -src/items/plunger.hpp -src/items/powerup.hpp -src/items/powerup_manager.hpp -src/items/projectile_manager.hpp -src/items/rubber_ball.hpp -src/items/rubber_band.hpp -src/items/swatter.hpp -src/karts/abstract_kart.hpp -src/karts/abstract_kart_animation.hpp -src/karts/cannon_animation.hpp -src/karts/controller/ai_base_controller.hpp -src/karts/controller/ai_properties.hpp -src/karts/controller/controller.hpp -src/karts/controller/end_controller.hpp -src/karts/controller/kart_control.hpp -src/karts/controller/network_player_controller.hpp -src/karts/controller/player_controller.hpp -src/karts/controller/skidding_ai.hpp -src/karts/explosion_animation.hpp -src/karts/ghost_kart.hpp -src/karts/kart.hpp -src/karts/kart_gfx.hpp -src/karts/kart_model.hpp -src/karts/kart_properties.hpp -src/karts/kart_properties_manager.hpp -src/karts/kart_with_stats.hpp -src/karts/max_speed.hpp -src/karts/moveable.hpp -src/karts/rescue_animation.hpp -src/karts/skidding.hpp -src/karts/skidding_properties.hpp -src/main_loop.hpp -src/modes/cutscene_world.hpp -src/modes/demo_world.hpp -src/modes/easter_egg_hunt.hpp -src/modes/follow_the_leader.hpp -src/modes/linear_world.hpp -src/modes/overworld.hpp -src/modes/profile_world.hpp -src/modes/soccer_world.hpp -src/modes/standard_race.hpp -src/modes/three_strikes_battle.hpp -src/modes/tutorial_world.hpp -src/modes/world.hpp -src/modes/world_status.hpp -src/modes/world_with_rank.hpp -src/network/client_network_manager.hpp -src/network/event.hpp -src/network/game_setup.hpp -src/network/network_interface.hpp -src/network/network_manager.hpp -src/network/network_string.hpp -src/network/network_world.hpp -src/network/protocol.hpp -src/network/protocol_manager.hpp -src/network/protocols/client_lobby_room_protocol.hpp -src/network/protocols/connect_to_peer.hpp -src/network/protocols/connect_to_server.hpp -src/network/protocols/controller_events_protocol.hpp -src/network/protocols/game_events_protocol.hpp -src/network/protocols/get_peer_address.hpp -src/network/protocols/get_public_address.hpp -src/network/protocols/hide_public_address.hpp -src/network/protocols/kart_update_protocol.hpp -src/network/protocols/lobby_room_protocol.hpp -src/network/protocols/ping_protocol.hpp -src/network/protocols/quick_join_protocol.hpp -src/network/protocols/request_connection.hpp -src/network/protocols/server_lobby_room_protocol.hpp -src/network/protocols/show_public_address.hpp -src/network/protocols/start_game_protocol.hpp -src/network/protocols/start_server.hpp -src/network/protocols/stop_server.hpp -src/network/protocols/synchronization_protocol.hpp -src/network/race_config.hpp -src/network/remote_kart_info.hpp -src/network/server_network_manager.hpp -src/network/singleton.hpp -src/network/stk_host.hpp -src/network/stk_peer.hpp -src/network/types.hpp -src/online/current_user.hpp -src/online/http_request.hpp -src/online/messages.hpp -src/online/profile.hpp -src/online/profile_manager.hpp -src/online/request.hpp -src/online/request_manager.hpp -src/online/server.hpp -src/online/servers_manager.hpp -src/online/xml_request.hpp -src/physics/btKart.hpp -src/physics/btKartRaycast.hpp -src/physics/btUprightConstraint.hpp -src/physics/irr_debug_drawer.hpp -src/physics/kart_motion_state.hpp -src/physics/physical_object.hpp -src/physics/physics.hpp -src/physics/stk_dynamics_world.hpp -src/physics/triangle_mesh.hpp -src/physics/user_pointer.hpp -src/race/grand_prix_data.hpp -src/race/grand_prix_manager.hpp -src/race/highscore_manager.hpp -src/race/highscores.hpp -src/race/history.hpp -src/race/race_manager.hpp -src/replay/replay_base.hpp -src/replay/replay_play.hpp -src/replay/replay_recorder.hpp -src/states_screens/addons_screen.hpp -src/states_screens/arenas_screen.hpp -src/states_screens/create_server_screen.hpp -src/states_screens/credits.hpp -src/states_screens/cutscene_gui.hpp -src/states_screens/dialogs/add_device_dialog.hpp -src/states_screens/dialogs/addons_loading.hpp -src/states_screens/dialogs/change_password_dialog.hpp -src/states_screens/dialogs/confirm_resolution_dialog.hpp -src/states_screens/dialogs/custom_video_settings.hpp -src/states_screens/dialogs/enter_player_name_dialog.hpp -src/states_screens/dialogs/gp_info_dialog.hpp -src/states_screens/dialogs/login_dialog.hpp -src/states_screens/dialogs/message_dialog.hpp -src/states_screens/dialogs/notification_dialog.hpp -src/states_screens/dialogs/player_info_dialog.hpp -src/states_screens/dialogs/press_a_key_dialog.hpp -src/states_screens/dialogs/race_paused_dialog.hpp -src/states_screens/dialogs/recovery_dialog.hpp -src/states_screens/dialogs/registration_dialog.hpp -src/states_screens/dialogs/select_challenge.hpp -src/states_screens/dialogs/server_info_dialog.hpp -src/states_screens/dialogs/track_info_dialog.hpp -src/states_screens/dialogs/tutorial_message_dialog.hpp -src/states_screens/dialogs/user_info_dialog.hpp -src/states_screens/dialogs/vote_dialog.hpp -src/states_screens/easter_egg_screen.hpp -src/states_screens/feature_unlocked.hpp -src/states_screens/grand_prix_lose.hpp -src/states_screens/grand_prix_win.hpp -src/states_screens/help_screen_1.hpp -src/states_screens/help_screen_2.hpp -src/states_screens/help_screen_3.hpp -src/states_screens/help_screen_4.hpp -src/states_screens/kart_selection.hpp -src/states_screens/main_menu_screen.hpp -src/states_screens/network_kart_selection.hpp -src/states_screens/networking_lobby.hpp -src/states_screens/offline_kart_selection.hpp -src/states_screens/online_profile_achievements.hpp -src/states_screens/online_profile_base.hpp -src/states_screens/online_profile_friends.hpp -src/states_screens/online_profile_overview.hpp -src/states_screens/online_profile_settings.hpp -src/states_screens/online_screen.hpp -src/states_screens/online_user_search.hpp -src/states_screens/options_screen_audio.hpp -src/states_screens/options_screen_input.hpp -src/states_screens/options_screen_input2.hpp -src/states_screens/options_screen_players.hpp -src/states_screens/options_screen_ui.hpp -src/states_screens/options_screen_video.hpp -src/states_screens/race_gui.hpp -src/states_screens/race_gui_base.hpp -src/states_screens/race_gui_overworld.hpp -src/states_screens/race_result_gui.hpp -src/states_screens/race_setup_screen.hpp -src/states_screens/server_selection.hpp -src/states_screens/soccer_setup_screen.hpp -src/states_screens/state_manager.hpp -src/states_screens/story_mode_lobby.hpp -src/states_screens/tracks_screen.hpp -src/tinygettext/dictionary.hpp -src/tinygettext/dictionary_manager.hpp -src/tinygettext/file_system.hpp -src/tinygettext/iconv.hpp -src/tinygettext/language.hpp -src/tinygettext/log_stream.hpp -src/tinygettext/plural_forms.hpp -src/tinygettext/po_parser.hpp -src/tinygettext/stk_file_system.hpp -src/tinygettext/tgt_log.hpp -src/tinygettext/tinygettext.hpp -src/tracks/ambient_light_sphere.hpp -src/tracks/bezier_curve.hpp -src/tracks/check_cannon.hpp -src/tracks/check_goal.hpp -src/tracks/check_lap.hpp -src/tracks/check_line.hpp -src/tracks/check_manager.hpp -src/tracks/check_sphere.hpp -src/tracks/check_structure.hpp -src/tracks/graph_node.hpp -src/tracks/lod_node_loader.hpp -src/tracks/quad.hpp -src/tracks/quad_graph.hpp -src/tracks/quad_set.hpp -src/tracks/terrain_info.hpp -src/tracks/track.hpp -src/tracks/track_manager.hpp -src/tracks/track_object.hpp -src/tracks/track_object_manager.hpp -src/tracks/track_object_presentation.hpp -src/tracks/track_sector.hpp -src/utils/aligned_array.hpp -src/utils/command_line.hpp -src/utils/constants.hpp -src/utils/crash_reporting.hpp -src/utils/debug.hpp -src/utils/helpers.hpp -src/utils/interpolation_array.hpp -src/utils/leak_check.hpp -src/utils/log.hpp -src/utils/no_copy.hpp -src/utils/profiler.hpp -src/utils/ptr_vector.hpp -src/utils/random_generator.hpp -src/utils/string_utils.hpp -src/utils/synchronised.hpp -src/utils/time.hpp -src/utils/translation.hpp -src/utils/types.hpp -src/utils/vec3.hpp -src/utils/vs.hpp -) +# Generated by ./update_file_list.sh. Do not edit this file manually. +set(STK_SOURCES +src/achievements/achievement.cpp +src/achievements/achievement_info.cpp +src/achievements/achievements_manager.cpp +src/achievements/achievements_slot.cpp +src/addons/addon.cpp +src/addons/addons_manager.cpp +src/addons/inetwork_http.cpp +src/addons/network_http.cpp +src/addons/news_manager.cpp +src/addons/request.cpp +src/addons/zip.cpp +src/animations/animation_base.cpp +src/animations/ipo.cpp +src/animations/three_d_animation.cpp +src/audio/music_information.cpp +src/audio/music_manager.cpp +src/audio/music_ogg.cpp +src/audio/sfx_buffer.cpp +src/audio/sfx_manager.cpp +src/audio/sfx_openal.cpp +src/challenges/challenge.cpp +src/challenges/challenge_data.cpp +src/challenges/game_slot.cpp +src/challenges/unlock_manager.cpp +src/config/device_config.cpp +src/config/player.cpp +src/config/saved_grand_prix.cpp +src/config/stk_config.cpp +src/config/user_config.cpp +src/graphics/callbacks.cpp +src/graphics/camera.cpp +src/graphics/CBatchingMesh.cpp +src/graphics/explosion.cpp +src/graphics/glow.cpp +src/graphics/glwrap.cpp +src/graphics/gpuparticles.cpp +src/graphics/hardware_skinning.cpp +src/graphics/hit_sfx.cpp +src/graphics/irr_driver.cpp +src/graphics/lens_flare.cpp +src/graphics/light.cpp +src/graphics/lod_node.cpp +src/graphics/material.cpp +src/graphics/material_manager.cpp +src/graphics/mesh_tools.cpp +src/graphics/moving_texture.cpp +src/graphics/particle_emitter.cpp +src/graphics/particle_kind.cpp +src/graphics/particle_kind_manager.cpp +src/graphics/per_camera_node.cpp +src/graphics/post_processing.cpp +src/graphics/rain.cpp +src/graphics/referee.cpp +src/graphics/render.cpp +src/graphics/rtts.cpp +src/graphics/screenquad.cpp +src/graphics/shaders.cpp +src/graphics/shadow.cpp +src/graphics/shadow_importance.cpp +src/graphics/show_curve.cpp +src/graphics/skid_marks.cpp +src/graphics/slip_stream.cpp +src/graphics/stars.cpp +src/graphics/stkmesh.cpp +src/graphics/sun.cpp +src/graphics/water.cpp +src/graphics/wind.cpp +src/guiengine/abstract_state_manager.cpp +src/guiengine/abstract_top_level_container.cpp +src/guiengine/CGUISpriteBank.cpp +src/guiengine/dialog_queue.cpp +src/guiengine/engine.cpp +src/guiengine/event_handler.cpp +src/guiengine/layout_manager.cpp +src/guiengine/modaldialog.cpp +src/guiengine/scalable_font.cpp +src/guiengine/screen.cpp +src/guiengine/screen_loader.cpp +src/guiengine/skin.cpp +src/guiengine/widget.cpp +src/guiengine/widgets/bubble_widget.cpp +src/guiengine/widgets/button_widget.cpp +src/guiengine/widgets/CGUIEditBox.cpp +src/guiengine/widgets/CGUISTKListBox.cpp +src/guiengine/widgets/check_box_widget.cpp +src/guiengine/widgets/dynamic_ribbon_widget.cpp +src/guiengine/widgets/icon_button_widget.cpp +src/guiengine/widgets/label_widget.cpp +src/guiengine/widgets/list_widget.cpp +src/guiengine/widgets/model_view_widget.cpp +src/guiengine/widgets/progress_bar_widget.cpp +src/guiengine/widgets/rating_bar_widget.cpp +src/guiengine/widgets/ribbon_widget.cpp +src/guiengine/widgets/spinner_widget.cpp +src/guiengine/widgets/text_box_widget.cpp +src/input/binding.cpp +src/input/device_manager.cpp +src/input/input_device.cpp +src/input/input_manager.cpp +src/input/wiimote.cpp +src/input/wiimote_manager.cpp +src/io/file_manager.cpp +src/io/xml_node.cpp +src/io/xml_writer.cpp +src/items/attachment.cpp +src/items/attachment_manager.cpp +src/items/bowling.cpp +src/items/cake.cpp +src/items/flyable.cpp +src/items/item.cpp +src/items/item_manager.cpp +src/items/plunger.cpp +src/items/powerup.cpp +src/items/powerup_manager.cpp +src/items/projectile_manager.cpp +src/items/rubber_ball.cpp +src/items/rubber_band.cpp +src/items/swatter.cpp +src/karts/abstract_kart_animation.cpp +src/karts/abstract_kart.cpp +src/karts/cannon_animation.cpp +src/karts/controller/ai_base_controller.cpp +src/karts/controller/ai_properties.cpp +src/karts/controller/controller.cpp +src/karts/controller/end_controller.cpp +src/karts/controller/network_player_controller.cpp +src/karts/controller/player_controller.cpp +src/karts/controller/skidding_ai.cpp +src/karts/explosion_animation.cpp +src/karts/ghost_kart.cpp +src/karts/kart.cpp +src/karts/kart_gfx.cpp +src/karts/kart_model.cpp +src/karts/kart_properties.cpp +src/karts/kart_properties_manager.cpp +src/karts/kart_with_stats.cpp +src/karts/max_speed.cpp +src/karts/moveable.cpp +src/karts/rescue_animation.cpp +src/karts/skidding.cpp +src/karts/skidding_properties.cpp +src/main.cpp +src/main_loop.cpp +src/modes/cutscene_world.cpp +src/modes/demo_world.cpp +src/modes/easter_egg_hunt.cpp +src/modes/follow_the_leader.cpp +src/modes/linear_world.cpp +src/modes/overworld.cpp +src/modes/profile_world.cpp +src/modes/soccer_world.cpp +src/modes/standard_race.cpp +src/modes/three_strikes_battle.cpp +src/modes/tutorial_world.cpp +src/modes/world.cpp +src/modes/world_status.cpp +src/modes/world_with_rank.cpp +src/network/client_network_manager.cpp +src/network/event.cpp +src/network/game_setup.cpp +src/network/network_interface.cpp +src/network/network_manager.cpp +src/network/network_string.cpp +src/network/network_world.cpp +src/network/protocol.cpp +src/network/protocol_manager.cpp +src/network/protocols/client_lobby_room_protocol.cpp +src/network/protocols/connect_to_peer.cpp +src/network/protocols/connect_to_server.cpp +src/network/protocols/controller_events_protocol.cpp +src/network/protocols/game_events_protocol.cpp +src/network/protocols/get_peer_address.cpp +src/network/protocols/get_public_address.cpp +src/network/protocols/hide_public_address.cpp +src/network/protocols/kart_update_protocol.cpp +src/network/protocols/lobby_room_protocol.cpp +src/network/protocols/ping_protocol.cpp +src/network/protocols/quick_join_protocol.cpp +src/network/protocols/request_connection.cpp +src/network/protocols/server_lobby_room_protocol.cpp +src/network/protocols/show_public_address.cpp +src/network/protocols/start_game_protocol.cpp +src/network/protocols/start_server.cpp +src/network/protocols/stop_server.cpp +src/network/protocols/synchronization_protocol.cpp +src/network/race_config.cpp +src/network/server_network_manager.cpp +src/network/stk_host.cpp +src/network/stk_peer.cpp +src/network/types.cpp +src/online/current_user.cpp +src/online/http_request.cpp +src/online/messages.cpp +src/online/profile.cpp +src/online/profile_manager.cpp +src/online/request.cpp +src/online/request_manager.cpp +src/online/server.cpp +src/online/servers_manager.cpp +src/online/xml_request.cpp +src/physics/btKart.cpp +src/physics/btKartRaycast.cpp +src/physics/btUprightConstraint.cpp +src/physics/irr_debug_drawer.cpp +src/physics/physical_object.cpp +src/physics/physics.cpp +src/physics/triangle_mesh.cpp +src/race/grand_prix_data.cpp +src/race/grand_prix_manager.cpp +src/race/highscore_manager.cpp +src/race/highscores.cpp +src/race/history.cpp +src/race/race_manager.cpp +src/replay/replay_base.cpp +src/replay/replay_play.cpp +src/replay/replay_recorder.cpp +src/states_screens/addons_screen.cpp +src/states_screens/arenas_screen.cpp +src/states_screens/create_server_screen.cpp +src/states_screens/credits.cpp +src/states_screens/cutscene_gui.cpp +src/states_screens/dialogs/add_device_dialog.cpp +src/states_screens/dialogs/addons_loading.cpp +src/states_screens/dialogs/change_password_dialog.cpp +src/states_screens/dialogs/confirm_resolution_dialog.cpp +src/states_screens/dialogs/custom_video_settings.cpp +src/states_screens/dialogs/enter_player_name_dialog.cpp +src/states_screens/dialogs/gp_info_dialog.cpp +src/states_screens/dialogs/login_dialog.cpp +src/states_screens/dialogs/message_dialog.cpp +src/states_screens/dialogs/notification_dialog.cpp +src/states_screens/dialogs/player_info_dialog.cpp +src/states_screens/dialogs/press_a_key_dialog.cpp +src/states_screens/dialogs/race_paused_dialog.cpp +src/states_screens/dialogs/recovery_dialog.cpp +src/states_screens/dialogs/registration_dialog.cpp +src/states_screens/dialogs/select_challenge.cpp +src/states_screens/dialogs/server_info_dialog.cpp +src/states_screens/dialogs/track_info_dialog.cpp +src/states_screens/dialogs/tutorial_message_dialog.cpp +src/states_screens/dialogs/user_info_dialog.cpp +src/states_screens/dialogs/vote_dialog.cpp +src/states_screens/easter_egg_screen.cpp +src/states_screens/feature_unlocked.cpp +src/states_screens/grand_prix_lose.cpp +src/states_screens/grand_prix_win.cpp +src/states_screens/help_screen_1.cpp +src/states_screens/help_screen_2.cpp +src/states_screens/help_screen_3.cpp +src/states_screens/help_screen_4.cpp +src/states_screens/kart_selection.cpp +src/states_screens/main_menu_screen.cpp +src/states_screens/networking_lobby.cpp +src/states_screens/network_kart_selection.cpp +src/states_screens/offline_kart_selection.cpp +src/states_screens/online_profile_achievements.cpp +src/states_screens/online_profile_base.cpp +src/states_screens/online_profile_friends.cpp +src/states_screens/online_profile_overview.cpp +src/states_screens/online_profile_settings.cpp +src/states_screens/online_screen.cpp +src/states_screens/online_user_search.cpp +src/states_screens/options_screen_audio.cpp +src/states_screens/options_screen_input2.cpp +src/states_screens/options_screen_input.cpp +src/states_screens/options_screen_players.cpp +src/states_screens/options_screen_ui.cpp +src/states_screens/options_screen_video.cpp +src/states_screens/race_gui_base.cpp +src/states_screens/race_gui.cpp +src/states_screens/race_gui_overworld.cpp +src/states_screens/race_result_gui.cpp +src/states_screens/race_setup_screen.cpp +src/states_screens/server_selection.cpp +src/states_screens/soccer_setup_screen.cpp +src/states_screens/state_manager.cpp +src/states_screens/story_mode_lobby.cpp +src/states_screens/tracks_screen.cpp +src/tinygettext/dictionary.cpp +src/tinygettext/dictionary_manager.cpp +src/tinygettext/iconv.cpp +src/tinygettext/language.cpp +src/tinygettext/plural_forms.cpp +src/tinygettext/po_parser.cpp +src/tinygettext/stk_file_system.cpp +src/tinygettext/tgt_log.cpp +src/tinygettext/tinygettext.cpp +src/tracks/ambient_light_sphere.cpp +src/tracks/bezier_curve.cpp +src/tracks/check_cannon.cpp +src/tracks/check_goal.cpp +src/tracks/check_lap.cpp +src/tracks/check_line.cpp +src/tracks/check_manager.cpp +src/tracks/check_sphere.cpp +src/tracks/check_structure.cpp +src/tracks/graph_node.cpp +src/tracks/lod_node_loader.cpp +src/tracks/quad.cpp +src/tracks/quad_graph.cpp +src/tracks/quad_set.cpp +src/tracks/terrain_info.cpp +src/tracks/track.cpp +src/tracks/track_manager.cpp +src/tracks/track_object.cpp +src/tracks/track_object_manager.cpp +src/tracks/track_object_presentation.cpp +src/tracks/track_sector.cpp +src/utils/command_line.cpp +src/utils/constants.cpp +src/utils/crash_reporting.cpp +src/utils/debug.cpp +src/utils/helpers.cpp +src/utils/leak_check.cpp +src/utils/log.cpp +src/utils/profiler.cpp +src/utils/random_generator.cpp +src/utils/string_utils.cpp +src/utils/time.cpp +src/utils/translation.cpp +src/utils/vec3.cpp +) +set(STK_HEADERS +src/achievements/achievement.hpp +src/achievements/achievement_info.hpp +src/achievements/achievements_manager.hpp +src/achievements/achievements_slot.hpp +src/addons/addon.hpp +src/addons/addons_manager.hpp +src/addons/dummy_network_http.hpp +src/addons/inetwork_http.hpp +src/addons/network_http.hpp +src/addons/news_manager.hpp +src/addons/request.hpp +src/addons/zip.hpp +src/animations/animation_base.hpp +src/animations/ipo.hpp +src/animations/three_d_animation.hpp +src/audio/dummy_sfx.hpp +src/audio/music_dummy.hpp +src/audio/music.hpp +src/audio/music_information.hpp +src/audio/music_manager.hpp +src/audio/music_ogg.hpp +src/audio/sfx_base.hpp +src/audio/sfx_buffer.hpp +src/audio/sfx_manager.hpp +src/audio/sfx_openal.hpp +src/challenges/challenge_data.hpp +src/challenges/challenge.hpp +src/challenges/game_slot.hpp +src/challenges/unlock_manager.hpp +src/config/device_config.hpp +src/config/player.hpp +src/config/saved_grand_prix.hpp +src/config/stk_config.hpp +src/config/user_config.hpp +src/graphics/callbacks.hpp +src/graphics/camera.hpp +src/graphics/CBatchingMesh.hpp +src/graphics/explosion.hpp +src/graphics/glow.hpp +src/graphics/glwrap.hpp +src/graphics/hardware_skinning.hpp +src/graphics/hit_effect.hpp +src/graphics/hit_sfx.hpp +src/graphics/irr_driver.hpp +src/graphics/large_mesh_buffer.hpp +src/graphics/lens_flare.hpp +src/graphics/light.hpp +src/graphics/lod_node.hpp +src/graphics/material.hpp +src/graphics/material_manager.hpp +src/graphics/mesh_tools.hpp +src/graphics/mlaa_areamap.hpp +src/graphics/moving_texture.hpp +src/graphics/particle_emitter.hpp +src/graphics/particle_kind.hpp +src/graphics/particle_kind_manager.hpp +src/graphics/per_camera_node.hpp +src/graphics/post_processing.hpp +src/graphics/rain.hpp +src/graphics/referee.hpp +src/graphics/rtts.hpp +src/graphics/screenquad.hpp +src/graphics/shaders.hpp +src/graphics/shadow.hpp +src/graphics/shadow_importance.hpp +src/graphics/show_curve.hpp +src/graphics/skid_marks.hpp +src/graphics/slip_stream.hpp +src/graphics/stars.hpp +src/graphics/stkmesh.hpp +src/graphics/sun.hpp +src/graphics/water.hpp +src/graphics/wind.hpp +src/guiengine/abstract_state_manager.hpp +src/guiengine/abstract_top_level_container.hpp +src/guiengine/dialog_queue.hpp +src/guiengine/engine.hpp +src/guiengine/event_handler.hpp +src/guiengine/layout_manager.hpp +src/guiengine/modaldialog.hpp +src/guiengine/scalable_font.hpp +src/guiengine/screen.hpp +src/guiengine/skin.hpp +src/guiengine/widget.hpp +src/guiengine/widgets/bubble_widget.hpp +src/guiengine/widgets/button_widget.hpp +src/guiengine/widgets/check_box_widget.hpp +src/guiengine/widgets/dynamic_ribbon_widget.hpp +src/guiengine/widgets.hpp +src/guiengine/widgets/icon_button_widget.hpp +src/guiengine/widgets/label_widget.hpp +src/guiengine/widgets/list_widget.hpp +src/guiengine/widgets/model_view_widget.hpp +src/guiengine/widgets/progress_bar_widget.hpp +src/guiengine/widgets/rating_bar_widget.hpp +src/guiengine/widgets/ribbon_widget.hpp +src/guiengine/widgets/spinner_widget.hpp +src/guiengine/widgets/text_box_widget.hpp +src/input/binding.hpp +src/input/device_manager.hpp +src/input/input_device.hpp +src/input/input.hpp +src/input/input_manager.hpp +src/input/wiimote.hpp +src/input/wiimote_manager.hpp +src/io/file_manager.hpp +src/io/xml_node.hpp +src/io/xml_writer.hpp +src/items/attachment.hpp +src/items/attachment_manager.hpp +src/items/attachment_plugin.hpp +src/items/bowling.hpp +src/items/cake.hpp +src/items/flyable.hpp +src/items/item.hpp +src/items/item_manager.hpp +src/items/plunger.hpp +src/items/powerup.hpp +src/items/powerup_manager.hpp +src/items/projectile_manager.hpp +src/items/rubber_ball.hpp +src/items/rubber_band.hpp +src/items/swatter.hpp +src/karts/abstract_kart_animation.hpp +src/karts/abstract_kart.hpp +src/karts/cannon_animation.hpp +src/karts/controller/ai_base_controller.hpp +src/karts/controller/ai_properties.hpp +src/karts/controller/controller.hpp +src/karts/controller/end_controller.hpp +src/karts/controller/kart_control.hpp +src/karts/controller/network_player_controller.hpp +src/karts/controller/player_controller.hpp +src/karts/controller/skidding_ai.hpp +src/karts/explosion_animation.hpp +src/karts/ghost_kart.hpp +src/karts/kart_gfx.hpp +src/karts/kart.hpp +src/karts/kart_model.hpp +src/karts/kart_properties.hpp +src/karts/kart_properties_manager.hpp +src/karts/kart_with_stats.hpp +src/karts/max_speed.hpp +src/karts/moveable.hpp +src/karts/rescue_animation.hpp +src/karts/skidding.hpp +src/karts/skidding_properties.hpp +src/main_loop.hpp +src/modes/cutscene_world.hpp +src/modes/demo_world.hpp +src/modes/easter_egg_hunt.hpp +src/modes/follow_the_leader.hpp +src/modes/linear_world.hpp +src/modes/overworld.hpp +src/modes/profile_world.hpp +src/modes/soccer_world.hpp +src/modes/standard_race.hpp +src/modes/three_strikes_battle.hpp +src/modes/tutorial_world.hpp +src/modes/world.hpp +src/modes/world_status.hpp +src/modes/world_with_rank.hpp +src/network/client_network_manager.hpp +src/network/event.hpp +src/network/game_setup.hpp +src/network/network_interface.hpp +src/network/network_manager.hpp +src/network/network_string.hpp +src/network/network_world.hpp +src/network/protocol.hpp +src/network/protocol_manager.hpp +src/network/protocols/client_lobby_room_protocol.hpp +src/network/protocols/connect_to_peer.hpp +src/network/protocols/connect_to_server.hpp +src/network/protocols/controller_events_protocol.hpp +src/network/protocols/game_events_protocol.hpp +src/network/protocols/get_peer_address.hpp +src/network/protocols/get_public_address.hpp +src/network/protocols/hide_public_address.hpp +src/network/protocols/kart_update_protocol.hpp +src/network/protocols/lobby_room_protocol.hpp +src/network/protocols/ping_protocol.hpp +src/network/protocols/quick_join_protocol.hpp +src/network/protocols/request_connection.hpp +src/network/protocols/server_lobby_room_protocol.hpp +src/network/protocols/show_public_address.hpp +src/network/protocols/start_game_protocol.hpp +src/network/protocols/start_server.hpp +src/network/protocols/stop_server.hpp +src/network/protocols/synchronization_protocol.hpp +src/network/race_config.hpp +src/network/remote_kart_info.hpp +src/network/server_network_manager.hpp +src/network/singleton.hpp +src/network/stk_host.hpp +src/network/stk_peer.hpp +src/network/types.hpp +src/online/current_user.hpp +src/online/http_request.hpp +src/online/messages.hpp +src/online/profile.hpp +src/online/profile_manager.hpp +src/online/request.hpp +src/online/request_manager.hpp +src/online/server.hpp +src/online/servers_manager.hpp +src/online/xml_request.hpp +src/physics/btKart.hpp +src/physics/btKartRaycast.hpp +src/physics/btUprightConstraint.hpp +src/physics/irr_debug_drawer.hpp +src/physics/kart_motion_state.hpp +src/physics/physical_object.hpp +src/physics/physics.hpp +src/physics/stk_dynamics_world.hpp +src/physics/triangle_mesh.hpp +src/physics/user_pointer.hpp +src/race/grand_prix_data.hpp +src/race/grand_prix_manager.hpp +src/race/highscore_manager.hpp +src/race/highscores.hpp +src/race/history.hpp +src/race/race_manager.hpp +src/replay/replay_base.hpp +src/replay/replay_play.hpp +src/replay/replay_recorder.hpp +src/states_screens/addons_screen.hpp +src/states_screens/arenas_screen.hpp +src/states_screens/create_server_screen.hpp +src/states_screens/credits.hpp +src/states_screens/cutscene_gui.hpp +src/states_screens/dialogs/add_device_dialog.hpp +src/states_screens/dialogs/addons_loading.hpp +src/states_screens/dialogs/change_password_dialog.hpp +src/states_screens/dialogs/confirm_resolution_dialog.hpp +src/states_screens/dialogs/custom_video_settings.hpp +src/states_screens/dialogs/enter_player_name_dialog.hpp +src/states_screens/dialogs/gp_info_dialog.hpp +src/states_screens/dialogs/login_dialog.hpp +src/states_screens/dialogs/message_dialog.hpp +src/states_screens/dialogs/notification_dialog.hpp +src/states_screens/dialogs/player_info_dialog.hpp +src/states_screens/dialogs/press_a_key_dialog.hpp +src/states_screens/dialogs/race_paused_dialog.hpp +src/states_screens/dialogs/recovery_dialog.hpp +src/states_screens/dialogs/registration_dialog.hpp +src/states_screens/dialogs/select_challenge.hpp +src/states_screens/dialogs/server_info_dialog.hpp +src/states_screens/dialogs/track_info_dialog.hpp +src/states_screens/dialogs/tutorial_message_dialog.hpp +src/states_screens/dialogs/user_info_dialog.hpp +src/states_screens/dialogs/vote_dialog.hpp +src/states_screens/easter_egg_screen.hpp +src/states_screens/feature_unlocked.hpp +src/states_screens/grand_prix_lose.hpp +src/states_screens/grand_prix_win.hpp +src/states_screens/help_screen_1.hpp +src/states_screens/help_screen_2.hpp +src/states_screens/help_screen_3.hpp +src/states_screens/help_screen_4.hpp +src/states_screens/kart_selection.hpp +src/states_screens/main_menu_screen.hpp +src/states_screens/networking_lobby.hpp +src/states_screens/network_kart_selection.hpp +src/states_screens/offline_kart_selection.hpp +src/states_screens/online_profile_achievements.hpp +src/states_screens/online_profile_base.hpp +src/states_screens/online_profile_friends.hpp +src/states_screens/online_profile_overview.hpp +src/states_screens/online_profile_settings.hpp +src/states_screens/online_screen.hpp +src/states_screens/online_user_search.hpp +src/states_screens/options_screen_audio.hpp +src/states_screens/options_screen_input2.hpp +src/states_screens/options_screen_input.hpp +src/states_screens/options_screen_players.hpp +src/states_screens/options_screen_ui.hpp +src/states_screens/options_screen_video.hpp +src/states_screens/race_gui_base.hpp +src/states_screens/race_gui.hpp +src/states_screens/race_gui_overworld.hpp +src/states_screens/race_result_gui.hpp +src/states_screens/race_setup_screen.hpp +src/states_screens/server_selection.hpp +src/states_screens/soccer_setup_screen.hpp +src/states_screens/state_manager.hpp +src/states_screens/story_mode_lobby.hpp +src/states_screens/tracks_screen.hpp +src/tinygettext/dictionary.hpp +src/tinygettext/dictionary_manager.hpp +src/tinygettext/file_system.hpp +src/tinygettext/iconv.hpp +src/tinygettext/language.hpp +src/tinygettext/log_stream.hpp +src/tinygettext/plural_forms.hpp +src/tinygettext/po_parser.hpp +src/tinygettext/stk_file_system.hpp +src/tinygettext/tgt_log.hpp +src/tinygettext/tinygettext.hpp +src/tracks/ambient_light_sphere.hpp +src/tracks/bezier_curve.hpp +src/tracks/check_cannon.hpp +src/tracks/check_goal.hpp +src/tracks/check_lap.hpp +src/tracks/check_line.hpp +src/tracks/check_manager.hpp +src/tracks/check_sphere.hpp +src/tracks/check_structure.hpp +src/tracks/graph_node.hpp +src/tracks/lod_node_loader.hpp +src/tracks/quad_graph.hpp +src/tracks/quad.hpp +src/tracks/quad_set.hpp +src/tracks/terrain_info.hpp +src/tracks/track.hpp +src/tracks/track_manager.hpp +src/tracks/track_object.hpp +src/tracks/track_object_manager.hpp +src/tracks/track_object_presentation.hpp +src/tracks/track_sector.hpp +src/utils/aligned_array.hpp +src/utils/command_line.hpp +src/utils/constants.hpp +src/utils/crash_reporting.hpp +src/utils/debug.hpp +src/utils/helpers.hpp +src/utils/interpolation_array.hpp +src/utils/leak_check.hpp +src/utils/log.hpp +src/utils/no_copy.hpp +src/utils/profiler.hpp +src/utils/ptr_vector.hpp +src/utils/random_generator.hpp +src/utils/string_utils.hpp +src/utils/synchronised.hpp +src/utils/time.hpp +src/utils/translation.hpp +src/utils/types.hpp +src/utils/vec3.hpp +src/utils/vs.hpp +) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 133e88b62..de3600af1 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -32,6 +32,7 @@ #include "graphics/referee.hpp" #include "graphics/shaders.hpp" #include "graphics/shadow_importance.hpp" +#include "graphics/stkmesh.hpp" #include "graphics/sun.hpp" #include "graphics/rtts.hpp" #include "graphics/water.hpp" @@ -902,7 +903,16 @@ scene::IParticleSystemSceneNode *IrrDriver::addParticleNode(bool default_emitter scene::IMeshSceneNode *IrrDriver::addMesh(scene::IMesh *mesh, scene::ISceneNode *parent) { - return m_scene_manager->addMeshSceneNode(mesh, parent); + if (!isGLSL()) + return m_scene_manager->addMeshSceneNode(mesh, parent); + + if (!parent) + parent = m_scene_manager->getRootSceneNode(); + + scene::IMeshSceneNode* node = new STKMesh(mesh, parent, m_scene_manager, -1); + node->drop(); + + return node; } // addMesh // ---------------------------------------------------------------------------- diff --git a/src/graphics/stkmesh.cpp b/src/graphics/stkmesh.cpp new file mode 100644 index 000000000..8841d150a --- /dev/null +++ b/src/graphics/stkmesh.cpp @@ -0,0 +1,15 @@ +#include "stkmesh.hpp" + +STKMesh::STKMesh(irr::scene::IMesh* mesh, ISceneNode* parent, irr::scene::ISceneManager* mgr, irr::s32 id, + const irr::core::vector3df& position, + const irr::core::vector3df& rotation, + const irr::core::vector3df& scale) : + CMeshSceneNode(mesh, parent, mgr, id, position, rotation, scale) +{ + +} + +void STKMesh::render() +{ + CMeshSceneNode::render(); +} diff --git a/src/graphics/stkmesh.hpp b/src/graphics/stkmesh.hpp new file mode 100644 index 000000000..ae2e6999d --- /dev/null +++ b/src/graphics/stkmesh.hpp @@ -0,0 +1,19 @@ +#ifndef STKMESH_H +#define STKMESH_H + + +#include +#include +#include "../lib/irrlicht/source/Irrlicht/CMeshSceneNode.h" + +class STKMesh : public irr::scene::CMeshSceneNode +{ +public: + STKMesh(irr::scene::IMesh* mesh, ISceneNode* parent, irr::scene::ISceneManager* mgr, irr::s32 id, + const irr::core::vector3df& position = irr::core::vector3df(0,0,0), + const irr::core::vector3df& rotation = irr::core::vector3df(0,0,0), + const irr::core::vector3df& scale = irr::core::vector3df(1.0f, 1.0f, 1.0f)); + virtual void render(); +}; + +#endif // STKMESH_H diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index e1f805678..597492e98 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -818,8 +818,8 @@ bool Track::loadMainTrack(const XMLNode &root) // The merged mesh is grabbed by the octtree, so we don't need // to keep a reference to it. - //scene::ISceneNode *scene_node = irr_driver->addMesh(merged_mesh); - scene::IMeshSceneNode *scene_node = irr_driver->addOctTree(merged_mesh); + scene::ISceneNode *scene_node = irr_driver->addMesh(merged_mesh); + //scene::IMeshSceneNode *scene_node = irr_driver->addOctTree(merged_mesh); // We should drop the merged mesh (since it's now referred to in the // scene node), but then we need to grab it since it's in the // m_all_cached_meshes.