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

Method OnSelendokPathpadPulldown

editor/PathPadDialog.cpp:295–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void CPathPadDialog::OnSelendokPathpadPulldown() {
296 int i, cur;
297 char name[200];
298
299 cur = SendDlgItemMessage(IDC_PATHPAD_PULLDOWN, CB_GETCURSEL, 0, 0);
300 SendDlgItemMessage(IDC_PATHPAD_PULLDOWN, CB_GETLBTEXT, cur, (LPARAM)(LPCTSTR)name);
301
302 i = FindGamePathName(name);
303
304 D3EditState.current_path = i;
305 D3EditState.current_node = 0;
306
307 State_changed = 1;
308 UpdateDialog();
309}
310
311void CPathPadDialog::OnPathpadCenterView() {
312 if (Num_game_paths < 1) {

Callers

nothing calls this directly

Calls 1

FindGamePathNameFunction · 0.85

Tested by

no test coverage detected