src/signs_gui.cpp
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6144 5a0ffbf27ced
child 6719 4cc327ad39d5
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
    35 	}
    35 	}
    36 
    36 
    37 	return strcmp(buf1, _bufcache); // sort by name
    37 	return strcmp(buf1, _bufcache); // sort by name
    38 }
    38 }
    39 
    39 
    40 static void GlobalSortSignList(void)
    40 static void GlobalSortSignList()
    41 {
    41 {
    42 	const Sign *si;
    42 	const Sign *si;
    43 	uint n = 0;
    43 	uint n = 0;
    44 
    44 
    45 	/* Create array for sorting */
    45 	/* Create array for sorting */
   135 	_sign_list_widget,
   135 	_sign_list_widget,
   136 	SignListWndProc
   136 	SignListWndProc
   137 };
   137 };
   138 
   138 
   139 
   139 
   140 void ShowSignList(void)
   140 void ShowSignList()
   141 {
   141 {
   142 	Window *w;
   142 	Window *w;
   143 
   143 
   144 	w = AllocateWindowDescFront(&_sign_list_desc, 0);
   144 	w = AllocateWindowDescFront(&_sign_list_desc, 0);
   145 	if (w != NULL) {
   145 	if (w != NULL) {