MCPcopy Create free account
hub / github.com/SimHacker/micropolis / SimCmdMultiPlayerMode

Function SimCmdMultiPlayerMode

micropolis-activity/src/sim/w_sim.c:1486–1498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1484
1485
1486int SimCmdMultiPlayerMode(ARGS)
1487{
1488 /* This is read-only because it's specified on
1489 the command line and effects how the user
1490 interface is initialized. */
1491
1492 if (argc != 2) {
1493 return (TCL_ERROR);
1494 }
1495
1496 sprintf(interp->result, "%d", MultiPlayerMode);
1497 return (TCL_OK);
1498}
1499
1500
1501int SimCmdSugarMode(ARGS)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected