Skip to content

Commit

Permalink
Darker backgrounds, update screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Feb 16, 2023
1 parent 3d62c24 commit 5f843b4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ build/
bin/
experimental/

# Binaries
./OpenEdits
*.sqlite

# Development files
*.patch
*.diff
Expand Down
Binary file modified assets/textures/pack_simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/gui/gameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ static std::string dump_val(const core::vector3df vec)

// -------------- Public members -------------

void SceneGameplay::OnClose()
{
m_chathistory_text.clear();
}


void SceneGameplay::draw()
{
const auto wsize = m_gui->window_size;
Expand Down
2 changes: 2 additions & 0 deletions src/gui/gameplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class SceneGameplay : public SceneHandler {
SceneGameplay();
~SceneGameplay();

void OnClose() override;

void draw() override;
void step(float dtime) override;
bool OnEvent(const SEvent &e) override;
Expand Down

0 comments on commit 5f843b4

Please sign in to comment.