mirror of
https://github.com/dpethes/rerogue.git
synced 2025-06-07 18:58:32 +02:00
model viewer: remove unused stuff
This commit is contained in:
parent
3245dc4331
commit
d8c412c589
@ -24,11 +24,8 @@ uses
|
|||||||
rs_dat, hob_mesh;
|
rs_dat, hob_mesh;
|
||||||
|
|
||||||
const
|
const
|
||||||
SCR_W_fscrn = 1024;
|
|
||||||
SCR_H_fscrn = 768;
|
|
||||||
SCR_W_INIT = 1280;
|
SCR_W_INIT = 1280;
|
||||||
SCR_H_INIT = 720;
|
SCR_H_INIT = 720;
|
||||||
SCREEN_BPP = 0;
|
|
||||||
RotationAngleIncrement = 1;
|
RotationAngleIncrement = 1;
|
||||||
ZoomIncrement = 0.3;
|
ZoomIncrement = 0.3;
|
||||||
MouseZoomDistanceMultiply = 0.15;
|
MouseZoomDistanceMultiply = 0.15;
|
||||||
@ -155,8 +152,6 @@ end;
|
|||||||
|
|
||||||
|
|
||||||
procedure WindowInit(w_width, w_height: integer);
|
procedure WindowInit(w_width, w_height: integer);
|
||||||
const
|
|
||||||
renderer_index = -1; //The index of the rendering driver to initialize: -1 to initialize the first one supporting the requested flags
|
|
||||||
var
|
var
|
||||||
ver: TSDL_Version;
|
ver: TSDL_Version;
|
||||||
x, y: integer;
|
x, y: integer;
|
||||||
@ -400,7 +395,6 @@ end;
|
|||||||
|
|
||||||
procedure DrawGui;
|
procedure DrawGui;
|
||||||
var
|
var
|
||||||
showtest: bool;
|
|
||||||
style: PImGuiStyle;
|
style: PImGuiStyle;
|
||||||
file_item: TFileListItem;
|
file_item: TFileListItem;
|
||||||
fitem_selected: Boolean = false;
|
fitem_selected: Boolean = false;
|
||||||
@ -441,8 +435,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
igEnd;
|
igEnd;
|
||||||
|
|
||||||
//igShowTestWindow(@showtest);
|
|
||||||
|
|
||||||
if (selected_mesh_name <> EmptyStr) and (selected_mesh_name <> g_model_name) then begin
|
if (selected_mesh_name <> EmptyStr) and (selected_mesh_name <> g_model_name) then begin
|
||||||
try
|
try
|
||||||
LoadMesh(selected_item);
|
LoadMesh(selected_item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user