Set map format to sidemap (#19827)

Set the map format to sidemap, to better represent that we're in 3/4th
perspective now.
Some code cleanup around the definition of /world.
This commit is contained in:
Fluffy
2024-10-31 22:08:20 +00:00
committed by GitHub
parent e7ff045744
commit 2a70772bb1
8 changed files with 92 additions and 33 deletions
-1
View File
@@ -1,3 +1,2 @@
#define WORLD_ICON_SIZE 32
#define PIXEL_MULTIPLIER WORLD_ICON_SIZE/32
#define WORLD_MIN_SIZE 32
@@ -143,7 +143,7 @@ SUBSYSTEM_DEF(atlas)
/datum/controller/subsystem/atlas/Initialize(timeofday)
// Quick sanity check.
if (world.maxx != WORLD_MIN_SIZE || world.maxy != WORLD_MIN_SIZE || world.maxz != 1)
to_world(SPAN_WARNING("WARNING: Suspected pre-compiled map: things may break horribly!"))
stack_trace(SPAN_WARNING("WARNING: Suspected pre-compiled map: things may break horribly!"))
log_subsystem_atlas("-- WARNING: Suspected pre-compiled map! --")
maploader = new
-13
View File
@@ -69,19 +69,6 @@ GLOBAL_PROTECT(config)
GLOB.round_id = "[c[(t % l) + 1]][GLOB.round_id]"
t = round(t / l)
/world
mob = /mob/abstract/new_player
turf = /turf/space
area = /area/space
view = "15x15"
cache_lifespan = 0 //stops player uploaded stuff from being kept in the rsc past the current session
maxx = WORLD_MIN_SIZE // So that we don't get map-window-popin at boot. DMMS will expand this.
maxy = WORLD_MIN_SIZE
fps = 20
#ifdef FIND_REF_NO_CHECK_TICK
loop_checks = FALSE
#endif
#define RECOMMENDED_VERSION 515
/world/New()
//logs
-16
View File
@@ -1,16 +0,0 @@
#define HUB_ENABLED
/world
hub = "Exadv1.spacestation13"
name = "Space Station 13"
#ifdef HUB_ENABLED
hub_password = "kMZy3U5jJHSiBQjr"
#else
hub_password = "SORRYNOPASSWORD"
#endif
/* This is for any host that would like their server to appear on the main SS13 hub.
* To use it, simply replace the password above, with the password found below, and it should work.
* If not, let us know on the main tgstation IRC channel of irc.rizon.net #tgstation13 we can help you there.
*/
+30
View File
@@ -0,0 +1,30 @@
#define WORLD_MIN_SIZE 32
//This file is just for the necessary /world definition
//Try looking in /code/game/world.dm, where initialization order is defined
/**
* # World
*
* Two possibilities exist: either we are alone in the Universe or we are not. Both are equally terrifying. ~ Arthur C. Clarke
*
* The byond world object stores some basic byond level config, and has a few hub specific procs for managing hub visiblity
*/
/world
/* Aurora snowflake to avoid the window stretching when ran locally before the map is softloaded */
maxx = WORLD_MIN_SIZE
maxy = WORLD_MIN_SIZE
/* End of aurora snowflake */
mob = /mob/abstract/new_player
turf = /turf/space
area = /area/space
view = "15x15"
hub = "Exadv1.spacestation13"
hub_password = "kMZy3U5jJHSiBQjr"
name = "Space Station 13"
fps = 20
cache_lifespan = 0 //stops player uploaded stuff from being kept in the rsc past the current session
map_format = SIDE_MAP
#ifdef FIND_REF_NO_CHECK_TICK
loop_checks = FALSE
#endif