MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnSelendokSpawnRobotPulldown

Method OnSelendokSpawnRobotPulldown

editor/WorldWeaponsDialog.cpp:2314–2326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2312}
2313
2314void CWorldWeaponsDialog::OnSelendokSpawnRobotPulldown() {
2315 int n = D3EditState.current_weapon;
2316
2317 int cur;
2318 char name[200];
2319
2320 cur = SendDlgItemMessage(IDC_SPAWN_ROBOT_PULLDOWN, CB_GETCURSEL, 0, 0);
2321 SendDlgItemMessage(IDC_SPAWN_ROBOT_PULLDOWN, CB_GETLBTEXT, cur, (LPARAM)(LPCTSTR)name);
2322
2323 Weapons[n].robot_spawn_handle = FindObjectIDName(name);
2324
2325 UpdateDialog();
2326}
2327
2328void CWorldWeaponsDialog::OnKillfocusTerrianDamageSize() {
2329 CEdit *ebox;

Callers

nothing calls this directly

Calls 1

FindObjectIDNameFunction · 0.85

Tested by

no test coverage detected