Commit Graph

805 Commits

Author SHA1 Message Date
Raymonf
da11220762 Allow opening CMakeLists as a CMake project in VS
Added another check just in case someone wants to do this for some reason. It's bad. You shouldn't do it.
2020-08-20 18:44:30 -04:00
1425074ccb edited config.ini default back, better plr pos 2020-08-20 16:59:32 -05:00
Raymonf
c66ac111ab Silence codecvt deprecation warning on VC++ 2020-08-20 17:47:38 -04:00
Raymonf
32a37acd5a Update CMakeLists to use correct binary name and pthreads if not using MinGW/VS 2020-08-20 17:47:27 -04:00
49fbdd2154 Merge branch 'master' of https://github.com/OpenFusionProject/OpenFusion 2020-08-20 16:43:57 -05:00
6857f50c30 added basic NPCManager 2020-08-20 16:43:48 -05:00
Raymonf
c827b5a1b6 Lower CMake version requirement to 3.13
Technically we could probably move this all the way down to 3.6, but 3.13 should be a good version to target.
2020-08-20 17:21:43 -04:00
Raymonf
7f8e7dfa1c
Use regular old MIT license 2020-08-20 16:17:53 -04:00
Raymonf
09b21c54d3
Update compilation instructions 2020-08-20 16:10:29 -04:00
Raymonf
c549192f59
CMake build support (#8)
* CMake build support

* Make things nice for VS users

Co-authored-by: Raymonf <Raymonf@users.noreply.github.com>
2020-08-20 15:59:54 -04:00
6843faeb8d fixed windows makefile 2020-08-20 13:31:40 -05:00
b43628a19d faster player distance check 2020-08-20 13:19:03 -05:00
b94f602537 fixed window build 2020-08-20 12:05:01 -05:00
dongresource
fa5f194cc7
Standardized Makefile. (#7)
* Standardized Makefile.

* Incremental compilation
* C++ compilers are called CXX
* Removed excessive comments for well-understood things
* Added clean target
* Proper .PHONY usage
* Updated .gitignore for object files (+ ctags, and vim temp files)

* Add mkdir -p bin.
2020-08-20 12:03:15 -05:00
fbc3c79aa2
Merge pull request #6 from CakeLancelot/add-more-movement-packets
Add zipline, slide, cannon, and jump pad packets
2020-08-20 11:38:13 -05:00
93d973bf21 small CNStructs.hpp refactor 2020-08-20 11:37:47 -05:00
7cf239e3af added 0728 structs + small CNStruct.hpp refactor 2020-08-20 11:36:29 -05:00
CakeLancelot
14d556976d Add zipline, slide, cannon, and jump pad packets
Cannon still looks wonky from other player's PoV, something's up with the rotation - will investigate later.
2020-08-20 11:26:26 -05:00
af6158fbb2
Merge pull request #5 from dongresource/master
Add example config.ini with documented options.
2020-08-20 10:53:45 -05:00
c0abab39ae better structs header 2020-08-20 10:45:50 -05:00
dff6e8c23b better structs header 2020-08-20 10:44:49 -05:00
d6e1f57c23 merged master 2020-08-20 10:43:37 -05:00
9f3f9bb9c3 Fix grammar. 2020-08-20 17:24:27 +02:00
0654500df3 Add default config.ini.
Custom servers will always need one anyway. Might as well give them a
properly documented example to start with.
2020-08-20 17:14:25 +02:00
a0065c2050
Merge pull request #4 from Eperty123/master
Added nano summon feature
2020-08-20 09:48:31 -05:00
Onii-chan
795107a274 Added nano summon feature 2020-08-20 11:51:02 +02:00
42597c2a7a bitch, we good! 2020-08-19 22:32:33 -05:00
Raymonf
bb1ce5c28d fix: MOTD not showing up without config.ini
Since we do an early return without a config.ini file, the MOTDSTRING will still be the default std::string value (""), causing the game to output "Gamemaster: ". To fix this, we'll just hardcode the preferred default value for now.
2020-08-19 22:39:23 -04:00
Raymonf
e75049fc98 MSVC support: alternative implementation of getTime() 2020-08-19 22:26:46 -04:00
Raymonf
1ec4634f69 long -> int64_t; push and pop the original packing for structures
fixes the issue with the tutorial thing
2020-08-19 22:25:19 -04:00
4d9072a752 added radio's logo, started NPCManager 2020-08-19 17:21:35 -05:00
a0d59419f1 changed non-blocking failure to a socket shutdown 2020-08-19 15:54:44 -05:00
94cb89dd6b fixed warnings for windows mingw 2020-08-19 15:42:44 -05:00
ba81db97ef organized structs 2020-08-19 15:07:11 -05:00
ec84d6ca58 scraped all 0104 structs 2020-08-19 15:00:39 -05:00
b8f7d2efc6 added comments to chatHandler() 2020-08-19 13:25:54 -05:00
e7b58c4b32 fixed formatting 2020-08-19 13:22:51 -05:00
0f5be27c97
Merge pull request #3 from JadeShrineMaiden/master
Chat
2020-08-19 13:21:41 -05:00
8328ebf4f3 Chat Feature
Chat with other players, no swearing!!!
2020-08-19 18:47:25 +01:00
a17b72b0b3 Revert "Chat Feature"
This reverts commit 95e454232a.
2020-08-19 18:43:24 +01:00
95e454232a Chat Feature
It just works
2020-08-19 18:37:15 +01:00
fafde9348e lol, whoops 2020-08-19 12:24:05 -05:00
f2059c9ce1 merged motd and exit patch by dongresource 2020-08-19 12:22:54 -05:00
Raymonf
e5274045b0
fix the other type 2020-08-18 22:29:53 -04:00
Raymonf
941d98cc07
Merge pull request #2 from OpenFusionProject/Raymonf-readme-windows
Add a link to Windows compilation instructions
2020-08-18 22:28:58 -04:00
Raymonf
3a892de7c7
Add a link to Windows compilation instructions 2020-08-18 22:11:29 -04:00
8e87a3f102 release makefile 2020-08-18 20:35:48 -05:00
24d30a05bf added heartbeat support 2020-08-18 20:34:39 -05:00
b2325eb308 login server moved to main thread 2020-08-18 19:52:02 -05:00
47b76b422c added sanity checks 2020-08-18 19:11:31 -05:00