Skip to content

Commit

Permalink
Change version to v1.0.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Feb 10, 2023
1 parent eeea3c7 commit 5d3b6fc
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 19 deletions.
15 changes: 15 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Copyright (C) 2023 SmallJoker <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,25 @@
A 2D game block building inspired by Everybody Edits.
Code structure inspired by Minetest practices.

## Available archives

## Dependencies
### Linux

1. Verify the archive checksum
2. Extract the archive to any location
3. Run `AppRun.sh`
4. In case of issues: run with `gdb`. Debug symbols are included.


## Compiling

### Dependencies

* CMake (cmake-gui recommended for desktops)
* [Irrlicht-Mt](https://github.com/minetest/irrlicht) : GUI/rendering library
* [enet](http://enet.bespin.org/) : networking library
* Threads (phthread?)


## Compiling

Debian/Ubuntu:

sudo apt install libenet-dev
Expand Down
14 changes: 0 additions & 14 deletions src/gui/gameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ SceneGameplay::~SceneGameplay()
{
if (m_blockselector)
delete m_blockselector;

if (m_world_smgr != m_gui->scenemgr)
m_world_smgr->drop();
}


Expand Down Expand Up @@ -281,26 +278,15 @@ bool SceneGameplay::OnEvent(GameEvent &e)

switch (e.type_c2g) {
case E::C2G_MAP_UPDATE:
printf(" * Map update\n");
m_need_mesh_update = true;
break;
case E::C2G_PLAYER_JOIN:
printf(" * Player %s joined\n",
e.player->name.c_str()
);
m_need_playerlist_update = true;
break;
case E::C2G_PLAYER_LEAVE:
printf(" * Player %s left\n",
e.player->name.c_str()
);
m_need_playerlist_update = true;
break;
case E::C2G_PLAYER_CHAT:
printf(" * <%s> %s\n",
e.player_chat->player->name.c_str(),
e.player_chat->message.c_str()
);
{
char buf[200];
snprintf(buf, sizeof(buf), "%s: %s\n",
Expand Down
2 changes: 1 addition & 1 deletion src/gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gui::Gui()

ASSERT_FORCED(device, "Failed to initialize driver");

device->setWindowCaption(L"OpenEdits - development");
device->setWindowCaption(L"OpenEdits v1.0.0-dev");

scenemgr = device->getSceneManager();
gui = device->getGUIEnvironment();
Expand Down

0 comments on commit 5d3b6fc

Please sign in to comment.