Minor tweaks
This commit is contained in:
@@ -91,8 +91,9 @@ Region* RegionPagerBase::CreateRegion(int x, int y) {
|
||||
}
|
||||
|
||||
void RegionPagerBase::UnloadRegion(int x, int y) {
|
||||
//custom loop, not FindRegion()
|
||||
regionList.remove_if([x, y](Region& region) -> bool { return region.GetX() == x && region.GetY() == y; });
|
||||
regionList.remove_if([x, y](Region& region) -> bool {
|
||||
return region.GetX() == x && region.GetY() == y;
|
||||
});
|
||||
}
|
||||
|
||||
void RegionPagerBase::UnloadAll() {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
//BUGFIX: memset() is used before sending a packet to remove old data; you don't want to send sensitive data over the network
|
||||
//NOTE: memset() is used before sending a packet to remove old data; you don't want to send sensitive data over the network
|
||||
//NOTE: don't confuse SerialPacket with UDPpacket
|
||||
|
||||
void UDPNetworkUtility::Open(int port) {
|
||||
|
||||
@@ -5,14 +5,9 @@ TODO: make the whole thing more fault tolerant
|
||||
TODO: Authentication
|
||||
TODO: server is slaved to the client
|
||||
|
||||
TODO: I completely forgot about status ailments
|
||||
TODO: Time delay for requesting region packets
|
||||
TODO: command line parameters overriding config.cfg settings
|
||||
|
||||
--Battle System--
|
||||
|
||||
TODO
|
||||
|
||||
--Requirements--
|
||||
|
||||
The enemies need AI scripts
|
||||
|
||||
Reference in New Issue
Block a user