Compare commits
3 Commits
0.3.dev-20
...
0.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f65d157786 | ||
|
|
899404f3b1 | ||
|
|
6aab526989 |
@@ -10,7 +10,7 @@ project(minetest)
|
||||
# Also remember to set PROTOCOL_VERSION in clientserver.h when releasing
|
||||
set(VERSION_MAJOR 0)
|
||||
set(VERSION_MINOR 3)
|
||||
set(VERSION_PATCH dev-20111021)
|
||||
set(VERSION_PATCH 0)
|
||||
set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
||||
|
||||
MESSAGE(STATUS "*** Will build version ${VERSION_STRING} ***")
|
||||
|
||||
@@ -3,11 +3,12 @@ Minetest-c55 changelog
|
||||
This should contain all the major changes.
|
||||
For minor stuff, refer to the commit log of the repository.
|
||||
|
||||
0.3.0: (released on 2011-11-01)
|
||||
- Some small fixes
|
||||
0.3.dev-20111021:
|
||||
- Modify dungeon masters to only try to shoot players
|
||||
- Fix object duplication bug at block load/unload bug
|
||||
- Improve network layer
|
||||
|
||||
0.3.dev-20111016:
|
||||
- Locked chest
|
||||
- Server user limit setting (max_users)
|
||||
|
||||
@@ -670,7 +670,7 @@ void Connection::receive()
|
||||
// TODO: We can not know how many layers of header there are.
|
||||
// For now, just assume there are no other than the base headers.
|
||||
u32 packet_maxsize = datasize + BASE_HEADER_SIZE;
|
||||
Buffer<u8> packetdata(packet_maxsize);
|
||||
SharedBuffer<u8> packetdata(packet_maxsize);
|
||||
|
||||
bool single_wait_done = false;
|
||||
|
||||
|
||||
@@ -222,13 +222,13 @@ inline u16 readU16(std::istream &is)
|
||||
return readU16((u8*)buf);
|
||||
}
|
||||
|
||||
inline void writeU32(std::ostream &os, u16 p)
|
||||
inline void writeU32(std::ostream &os, u32 p)
|
||||
{
|
||||
char buf[4];
|
||||
writeU16((u8*)buf, p);
|
||||
os.write(buf, 4);
|
||||
}
|
||||
inline u16 readU32(std::istream &is)
|
||||
inline u32 readU32(std::istream &is)
|
||||
{
|
||||
char buf[4];
|
||||
is.read(buf, 4);
|
||||
|
||||
Reference in New Issue
Block a user