Skip to content

Commit

Permalink
Just fucking replace it all
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowLarkens committed May 25, 2024
1 parent 9d3045c commit a7c4b17
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 24 deletions.
3 changes: 0 additions & 3 deletions tgs_dmapi/tgs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@
/world/proc/TgsInitializationComplete()
return

/// Put this at the start of [/world/proc/Topic].
#define TGS_TOPIC var/tgs_topic_return = TgsTopic(args[1]); if(tgs_topic_return) return tgs_topic_return

/**
* Call this as late as possible in [world/proc/Reboot] (BEFORE ..()).
*/
Expand Down
8 changes: 0 additions & 8 deletions tgs_dmapi/tgs/v5/_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@

#define DMAPI5_MISSING_CHUNKS "missingChunks"

#define DMAPI5_CHUNK "chunk"
#define DMAPI5_CHUNK_PAYLOAD "payload"
#define DMAPI5_CHUNK_TOTAL "totalChunks"
#define DMAPI5_CHUNK_SEQUENCE_ID "sequenceId"
#define DMAPI5_CHUNK_PAYLOAD_ID "payloadId"

#define DMAPI5_MISSING_CHUNKS "missingChunks"

#define DMAPI5_RESPONSE_ERROR_MESSAGE "errorMessage"

#define DMAPI5_BRIDGE_PARAMETER_COMMAND_TYPE "commandType"
Expand Down
5 changes: 0 additions & 5 deletions tgs_dmapi/tgs/v5/api.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
interop_version = version
TGS_DEBUG_LOG("V5 API created: [json_encode(args)]")

var/chunked_requests = 0
var/list/chunked_topics = list()

var/detached = FALSE

/datum/tgs_api/v5/ApiVersion()
return new /datum/tgs_version(
#include "__interop_version.dm"
Expand Down
1 change: 1 addition & 0 deletions tgs_dmapi/tgs/v5/serializers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
. = ..()
.["iconUrl"] = icon_url
.["proxyIconUrl"] = proxy_icon_url

/datum/tgs_chat_embed/footer/_interop_serialize()
return list(
"text" = text,
Expand Down
8 changes: 0 additions & 8 deletions tgs_dmapi/tgs/v5/undefs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@

#undef DMAPI5_MISSING_CHUNKS

#undef DMAPI5_CHUNK
#undef DMAPI5_CHUNK_PAYLOAD
#undef DMAPI5_CHUNK_TOTAL
#undef DMAPI5_CHUNK_SEQUENCE_ID
#undef DMAPI5_CHUNK_PAYLOAD_ID

#undef DMAPI5_MISSING_CHUNKS

#undef DMAPI5_RESPONSE_ERROR_MESSAGE

#undef DMAPI5_BRIDGE_PARAMETER_COMMAND_TYPE
Expand Down

0 comments on commit a7c4b17

Please sign in to comment.