about summary refs log tree commit diff stats
path: root/data/maps/four_rooms/connections.txtpb
blob: 7a115a480befaa2f7be6a1d4f69ff689268a186d (plain) (blame)
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
connections {
  from_room: "Hallway"
  to_room: "Intensify Room"
  door { name: "Intensify Door" }
}
connections {
  from_room: "Hallway"
  to_room: "Examples Room"
  door { name: "Examples Door" }
}
connections {
  from_room: "Hallway"
  to_room: "Synonyms Room"
  door { name: "Synonyms Door" }
}
connections {
  from_room: "Hallway"
  to_room: "Time Room"
  door { name: "Time Door" }
}
connections {
  from_room: "Hallway"
  to_room: "A2 Room"
  door { name: "A2 Door" }
}
connections {
  from_room: "Hallway"
  to_room: "Keyholder Room"
  door { name: "Keyholder Door" }
}
e now renders an image of Lucas' href='/tanetane/commit/CMakeLists.txt?id=0334d396e4ff1b2f8a1e147b753a4de34f55c08b'>0334d39 ^
410f971 ^
763bd80 ^
a475b84 ^
f449345 ^
2ff08df




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



                                    

                                        
 


                                                                          

                           
                                 
                                 


                 
                         
                         
         



                     
                            
     
                                







                       
                  
               
                
               
              
             
                          




                                                               
cmake_minimum_required (VERSION 3.1)
project (tanetane)

set(CMAKE_BUILD_TYPE Debug)

add_subdirectory(vendor/tmxlite/tmxlite)

# Set directory to look for package helpers.
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${tanetane_SOURCE_DIR}/cmake")

# Get dependencies.
find_package(SDL2 REQUIRED)
find_package(SDL2_Image REQUIRED)
find_package(SDL2_Mixer REQUIRED)

set(ALL_LIBS
  ${SDL2_LIBRARY}
  ${SDL2_IMAGE_LIBRARIES}
  ${SDL2_MIXER_LIBRARIES}
  tmxlite
)

include_directories(
  ${SDL2_INCLUDE_DIR}
  ${SDL2_IMAGE_INCLUDE_DIRS}
  src
  vendor/tmxlite/tmxlite/include
)

link_directories(
  ${SDL2_LIBRARY_DIRS}
)

add_executable(tanetane
  src/main.cpp
  src/renderer.cpp
  src/mixer.cpp
  src/sprite.cpp
  src/party.cpp
  src/game.cpp
  src/map.cpp
  src/transform_system.cpp
)

set_property(TARGET tanetane PROPERTY CXX_STANDARD 17)
set_property(TARGET tanetane PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(tanetane ${ALL_LIBS})