Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions code/_compile_options.dm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
// If this is uncommented, we do a single run though of the game setup and tear down process with unit tests in between
//#define UNIT_TESTS

// VOIDCREW EDIT ADDITION START - dev-only tgui test harness (voidcrew/modules/ui_harness). Lets local tools click a
// client's tgui windows through world/Topic from 127.0.0.1. Never define this on a live server.
//#define UI_HARNESS
// VOIDCREW EDIT ADDITION END

// If this is uncommented, will attempt to load and initialize prof.dll/libprof.so by default.
// Even if it's not defined, you can pass "tracy" via -params in order to try to load it.
// We do not ship byond-tracy. Build it yourself here: https://github.com/mafemergency/byond-tracy,
Expand Down
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -7721,6 +7721,7 @@
#include "voidcrew\modules\transporter\transporter_designs.dm"
#include "voidcrew\modules\transporter\transporter_pad.dm"
#include "voidcrew\modules\transporter\transporter_transponder.dm"
#include "voidcrew\modules\ui_harness\ui_harness.dm"
#if defined(UNIT_TESTS) || defined(SPACEMAN_DMM)
#endif
#include "voidcrew\modules\vehicles\atv.dm"
Expand Down
3 changes: 3 additions & 0 deletions tgui/packages/tgui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { setupHotReloading } from 'tgui-dev-server/link/client';

import { App } from './App';
import { setGlobalStore } from './backend';
import { setupUiHarness } from 'voidcrew_tgui/utils/harness'; // VOIDCREW EDIT ADDITION - ui_harness dev test harness
import { captureExternalLinks } from './links';
import { render } from './renderer';
import { configureStore } from './store';
Expand Down Expand Up @@ -45,6 +46,8 @@ function setupApp() {

// Dispatch incoming messages as store actions
Byond.subscribe((type, payload) => store.dispatch({ type, payload }));
// VOIDCREW EDIT ADDITION - lets -DUI_HARNESS dev builds drive this window (voidcrew/modules/ui_harness)
setupUiHarness(store);

// Enable hot module reloading
if (import.meta.webpackHot) {
Expand Down
Loading
Loading