Skip to content

Commit

Permalink
ui options
Browse files Browse the repository at this point in the history
  • Loading branch information
20k committed Oct 4, 2019
1 parent 51fe420 commit 276e839
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluid_fun.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
<Add directory="C:/Users/James/Desktop/projects/fluid_fun/deps" />
<Add directory="deps/bullet" />
<Add directory="deps/imgui" />
<Add directory="C:/msys64/mingw64/include/bullet" />
</Compiler>
<Linker>
<Add option="-lmingw32" />
Expand Down Expand Up @@ -113,6 +112,8 @@
<Option link="0" />
</Unit>
<Unit filename="physics_gpu.hpp" />
<Unit filename="ui_options.cpp" />
<Unit filename="ui_options.hpp" />
<Unit filename="util.hpp" />
<Extensions>
<code_completion />
Expand Down
1 change: 1 addition & 0 deletions ui_options.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "ui_options.hpp"
22 changes: 22 additions & 0 deletions ui_options.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifndef UI_OPTIONS_HPP_INCLUDED
#define UI_OPTIONS_HPP_INCLUDED

namespace options
{
enum options
{
FLUID,
SAND,
RIGID,
COUNT
};
}

struct ui_options
{
options::options brush = options::COUNT;

void tick();
};

#endif // UI_OPTIONS_HPP_INCLUDED

0 comments on commit 276e839

Please sign in to comment.