Skip to content

Commit

Permalink
Titlescreen
Browse files Browse the repository at this point in the history
  • Loading branch information
imtakingabreakdontatme committed Jan 28, 2016
1 parent 90fc9a8 commit 5badf64
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _maps/DiscStation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Names of z-level do not matter, but order does greatly, for instances such as ch

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\DiscStation\DiscStation.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/asteroidstation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Names of z-level do not matter, but order does greatly, for instances such as ch

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\AsteroidStation\AsteroidStation.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/birdstation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ A small map intended for lowpop(40 players and less).

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\BirdStation\BirdStation.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/dreamstation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ z7 = empty space

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\DreamStation\dreamstation04.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/metastation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ z7 = empty space

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\MetaStation\MetaStation.v41I.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/ministation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Changes to the uplinks were made to discourage murderboning, the rest is the sam

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\MiniStation\MiniStation.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
2 changes: 2 additions & 0 deletions _maps/tgstation2.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ z7 = empty space

#if !defined(MAP_FILE)

#define TITLESCREEN "title" //Add an image in misc/fullscreen.dmi, and set this define to the icon_state, to set a custom titlescreen for your map

#include "map_files\TgStation\tgstation.2.1.3.dmm"
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
Expand Down
6 changes: 6 additions & 0 deletions code/game/turfs/turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@
icon = 'icons/misc/fullscreen.dmi'
icon_state = "title"
layer = FLY_LAYER
var/titlescreen = TITLESCREEN

/turf/indestructible/splashscreen/New()
..()
if(titlescreen)
icon_state = TITLESCREEN

/turf/indestructible/riveted
icon_state = "riveted"
Expand Down

0 comments on commit 5badf64

Please sign in to comment.