170 lines
2.5 KiB
Python
170 lines
2.5 KiB
Python
cc_binary(
|
|
name = "main",
|
|
srcs = [
|
|
"audio.h",
|
|
"audio.cpp",
|
|
|
|
"bh.h",
|
|
|
|
"common.h",
|
|
"common.cpp",
|
|
|
|
"config_screen.h",
|
|
"config_screen.cpp",
|
|
|
|
"course.h",
|
|
"course.cpp",
|
|
|
|
"course_render.h",
|
|
"course_render.cpp",
|
|
|
|
"credits.h",
|
|
"credits.cpp",
|
|
|
|
"depot.h",
|
|
"depot.cpp",
|
|
|
|
"env.h",
|
|
"env.cpp",
|
|
|
|
"etr_types.h",
|
|
|
|
"event.h",
|
|
"event.cpp",
|
|
|
|
"event_select.h",
|
|
"event_select.cpp",
|
|
|
|
"font.h",
|
|
"font.cpp",
|
|
|
|
"gui.h",
|
|
"gui.cpp",
|
|
|
|
"game_config.h",
|
|
"game_config.cpp",
|
|
|
|
"game_ctrl.h",
|
|
"game_ctrl.cpp",
|
|
|
|
"game_over.h",
|
|
"game_over.cpp",
|
|
|
|
"game_type_select.h",
|
|
"game_type_select.cpp",
|
|
|
|
"help.h",
|
|
"help.cpp",
|
|
|
|
"hud.h",
|
|
"hud.cpp",
|
|
|
|
"intro.h",
|
|
"intro.cpp",
|
|
|
|
"keyframe.h",
|
|
"keyframe.cpp",
|
|
|
|
"loading.h",
|
|
"loading.cpp",
|
|
|
|
"mathlib.h",
|
|
"mathlib.cpp",
|
|
|
|
"matrices.h",
|
|
"matrices.cpp",
|
|
|
|
"newplayer.h",
|
|
"newplayer.cpp",
|
|
|
|
"ogl.h",
|
|
"ogl.cpp",
|
|
|
|
"ogl_test.h",
|
|
"ogl_test.cpp",
|
|
|
|
"particles.h",
|
|
"particles.cpp",
|
|
|
|
"paused.h",
|
|
"paused.cpp",
|
|
|
|
"physics.h",
|
|
"physics.cpp",
|
|
|
|
"quadtree.h",
|
|
"quadtree.cpp",
|
|
|
|
"race_select.h",
|
|
"race_select.cpp",
|
|
|
|
"racing.h",
|
|
"racing.cpp",
|
|
|
|
"regist.h",
|
|
"regist.cpp",
|
|
|
|
"reset.h",
|
|
"reset.cpp",
|
|
|
|
"score.h",
|
|
"score.cpp",
|
|
|
|
"splash_screen.h",
|
|
"splash_screen.cpp",
|
|
|
|
"spx.h",
|
|
"spx.cpp",
|
|
|
|
"states.h",
|
|
"states.cpp",
|
|
|
|
"textures.h",
|
|
"textures.cpp",
|
|
|
|
"tool_char.h",
|
|
"tool_char.cpp",
|
|
|
|
"tool_frame.h",
|
|
"tool_frame.cpp",
|
|
|
|
"tools.h",
|
|
"tools.cpp",
|
|
|
|
"track_marks.h",
|
|
"track_marks.cpp",
|
|
|
|
"translation.h",
|
|
"translation.cpp",
|
|
|
|
"tux.h",
|
|
"tux.cpp",
|
|
|
|
"vectors.h",
|
|
"vectors.cpp",
|
|
|
|
"version.h",
|
|
|
|
"view.h",
|
|
"view.cpp",
|
|
|
|
"winsys.h",
|
|
"winsys.cpp",
|
|
|
|
"main.cpp",
|
|
],
|
|
local_defines = [
|
|
'ETR_DATA_DIR=\\"/home/less_shelter\\"',
|
|
],
|
|
deps = [
|
|
"@sfml//:audio",
|
|
"@sfml//:graphics",
|
|
"@bazel_tools//tools/cpp/runfiles",
|
|
"@com_google_absl//absl/status:statusor",
|
|
"@com_google_absl//absl/strings",
|
|
],
|
|
data = [
|
|
"//data",
|
|
],
|
|
)
|