diff options
| author | navewindre <boneyaard@gmail.com> | 2025-11-27 21:39:59 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-11-27 21:39:59 +0100 |
| commit | 3e094f20d4dda90e0356aba3f0abc4b7c7015844 (patch) | |
| tree | 16cccf8cbb88703de798066a06f94013f89a8a5a /src/editor/gui.cpp | |
| parent | e3de3ba5162f7ddd5005911124d4333e140fd984 (diff) | |
move bsp buttonwindows-compat
Diffstat (limited to 'src/editor/gui.cpp')
| -rw-r--r-- | src/editor/gui.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/editor/gui.cpp b/src/editor/gui.cpp index 94967cc..1060c00 100644 --- a/src/editor/gui.cpp +++ b/src/editor/gui.cpp @@ -121,18 +121,6 @@ void editor_create_tools_row( GAME_EDITOR* e ) { editor_update_active_tool_label( e ); } -void editor_create_view_settings_row( GAME_EDITOR* e ) { - I32 x = 320, y = 426; - - gui_button( x, y, 100, 20, "compile bsp", pfn( void* b ) { - if( editor->map->bsp ) - bsp_free( editor->map->bsp ); - editor->map->bsp = bsp_build_map( editor->map ); - } ); x += 110; - - gui_checkbox( x, y, "draw bsp", &e->drawbsp ); -} - void editor_create_map_view( GAME_EDITOR* e ) { if( !e->map ) { dlog( "editor_create_map_views() : no map loaded\n" ); @@ -153,7 +141,6 @@ void editor_create_map_view( GAME_EDITOR* e ) { editor_create_properties_column( e ); editor_create_game_view_column( e ); editor_create_tools_row( e ); - editor_create_view_settings_row( e ); } void close_new_map_popup( void* ) { |
