Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
468 commits
Select commit Hold shift + click to select a range
075a1e1
GS1: Massive parsing speed up.
LoneBoco Jul 14, 2025
3bc1ae4
Adjusted some packaging.
LoneBoco Jul 14, 2025
6220131
Fixed a bug where a triggeraction with no params was ignored.
LoneBoco Jul 15, 2025
57007e4
NPC-Server: Call the created event on weapons and fix event dispatch.
LoneBoco Jul 15, 2025
11e04e1
Modifications to scripts are propagated to players.
LoneBoco Jul 15, 2025
c9878bf
Added a bunch of documentation.
LoneBoco Jul 16, 2025
031ad95
Allow the servernpc triggeraction with no parameters.
LoneBoco Jul 16, 2025
21cfe1c
Updating the .gitattributes file.
LoneBoco Jul 16, 2025
ae3e2af
Normalizing line endings.
LoneBoco Jul 16, 2025
6dc0a5e
More documentation updates.
LoneBoco Jul 16, 2025
91d1172
Made some changes to the RC file browser code.
LoneBoco Jul 16, 2025
055b1d8
Fixed the location where the documents were packaged.
LoneBoco Jul 16, 2025
cbfbce7
Attempting to fix a packaging bug where the (npcserver) account is be…
LoneBoco Jul 16, 2025
06b1a49
Set the npc-server's level to empty.
LoneBoco Jul 16, 2025
ac28f7e
Backmerging dev to allow merging to dev when v4.0.0 is ready
xx-shitai-xx Jul 17, 2025
1518a9d
Fix prop for IRC channels
xx-shitai-xx Aug 7, 2025
8166cf0
GS1: Removed waterheight from the function list as its a variable.
LoneBoco Jul 26, 2025
997fcf9
Added maxhp/hp variants to the player/NPC properties.
LoneBoco Jul 26, 2025
39331a0
Fix a regression with clientside joins and updated docs.
LoneBoco Aug 8, 2025
8c5dd7b
Better separation of local and global positions.
LoneBoco Aug 8, 2025
8e9a96a
Rewrote Map handling.
LoneBoco Aug 11, 2025
5e1f737
GS1: levelorigx -> levelorgx
LoneBoco Aug 11, 2025
9d0d647
GS1: Implemented tiles[x,y] as an alias for board[].
LoneBoco Aug 11, 2025
6f4ed60
Updated documentation.
LoneBoco Aug 11, 2025
4ef3688
Linux build fixes.
LoneBoco Aug 11, 2025
46721d1
Moved some files around.
LoneBoco Aug 11, 2025
8c1df02
NPC-Server: Separated event distance from sync distance.
LoneBoco Aug 11, 2025
b97c443
Improved guild management.
LoneBoco Aug 12, 2025
4eae105
GS1: Implemented guild management commands.
LoneBoco Aug 12, 2025
f1e7a33
Wall, water, and player tests will now work on gmaps.
LoneBoco Aug 12, 2025
8f21ac9
GS1: Implemented new commands.
LoneBoco Aug 12, 2025
91865f8
Fixed issues with position packets.
LoneBoco Aug 13, 2025
6771451
Fixed levels being sent twice when on a gmap.
LoneBoco Aug 13, 2025
7dddb2a
Fixed a regression when sending level objects to players.
LoneBoco Aug 13, 2025
16e7e24
Moved the CSocket.h include to try to avoid a mingw compiler warning.
LoneBoco Aug 13, 2025
264718d
Fixed a regression on deserializing old movement props.
LoneBoco Aug 14, 2025
d477087
GS1: New commands and variables.
LoneBoco Aug 17, 2025
4a0a02f
GS1: Implemented playersays and playersaysnumber.
LoneBoco Aug 17, 2025
cad3245
Fixed regressions after the positioning update, especially around big…
LoneBoco Aug 18, 2025
de8d25a
NPC-Server: Stop clientside scripts from repeatedly calling "created".
LoneBoco Aug 18, 2025
646dfda
GS1: Implemented timershow.
LoneBoco Aug 18, 2025
3a750a0
GS1: Implemented hitnpc and fixed hitobjects and hitplayer.
LoneBoco Aug 18, 2025
b642583
Added triggerdistance server option for triggeraction notification di…
LoneBoco Aug 18, 2025
790954f
More NPC data is saved and loaded from disk.
LoneBoco Aug 18, 2025
a79072c
Implemented serverside showimg.
LoneBoco Aug 18, 2025
8dbece9
GS1: Fixed the log function.
LoneBoco Aug 20, 2025
03a26e5
Improved accuracy of level sending packets.
LoneBoco Aug 22, 2025
c09c487
The NPC moved packet now includes the destination position.
LoneBoco Aug 22, 2025
6caa9b0
Optimization: NPC showimg sending.
LoneBoco Aug 22, 2025
1a858a7
Optimization: Level loading on server start.
LoneBoco Aug 22, 2025
ab0f9a2
Fixed sparringzone NPCs by fixing a string trimming problem.
LoneBoco Aug 22, 2025
0a1ebf1
Moved some stuff around in NPC.
LoneBoco Aug 23, 2025
dbdca44
Fixed NPCs not defaulting to the male voice.
LoneBoco Aug 23, 2025
22346b0
Properly implemented serverside move.
LoneBoco Aug 23, 2025
4e20bc1
Fixed a regression in the distance calculation for queuing events.
LoneBoco Aug 29, 2025
5bdfd74
Fixed NPCs not loading into levels on server start.
LoneBoco Aug 29, 2025
dc43acb
Improved the NC warp command.
LoneBoco Aug 29, 2025
8228623
Documentation update.
LoneBoco Aug 29, 2025
98afa60
Don't send the NPC-server player to the hub server.
LoneBoco Aug 29, 2025
049945c
Added the ability to abort an NPC move by setting its location via sc…
LoneBoco Aug 29, 2025
bba7b8a
Fixed a regression that broke baddy sending.
LoneBoco Aug 29, 2025
fcb9e3c
Fixed weapons in classic mode.
LoneBoco Aug 29, 2025
7d6783b
Some small changes.
LoneBoco Aug 29, 2025
5826f37
Fixing NC connections on remotely hosted servers.
LoneBoco Aug 29, 2025
d7d219c
Fixed a release mode data corruption bug.
LoneBoco Aug 30, 2025
ac9ca30
Fixed some issues with NPC classes.
LoneBoco Aug 30, 2025
fa928c8
Prevent another way the NPC-Server can get in the hub server's player…
LoneBoco Aug 30, 2025
9372f66
Added the "sleepwhennoplayers" server option.
LoneBoco Aug 30, 2025
73e770f
Work around some GCC oddities with lambda functions.
LoneBoco Aug 30, 2025
2972b93
NPC-Server: Improved sleeping state.
LoneBoco Aug 30, 2025
edbec5b
Fixed an RC/NC disconnect regression.
LoneBoco Aug 31, 2025
c3d7eb1
GS1: Improved array literal conformance.
LoneBoco Sep 1, 2025
1d11fbb
Update the NC weapon list when weapons are added or deleted.
LoneBoco Sep 1, 2025
433dd4f
Implemented new server options.
LoneBoco Sep 1, 2025
7f2ebe7
Reworked level and death item drops.
LoneBoco Sep 1, 2025
f80bfe2
Some misc updates.
LoneBoco Sep 1, 2025
435ad86
Added the list of v6 extended colors.
LoneBoco Sep 1, 2025
0acc5c8
Fixed picking the launch server via command line / environment variab…
LoneBoco Sep 4, 2025
718b7d1
Refactor of some type names.
LoneBoco Sep 14, 2025
97e1746
GS1: Implemented the sleep command.
LoneBoco Sep 14, 2025
d482b53
Fixed up various regressions with reconnections.
LoneBoco Sep 14, 2025
e2e0d7e
GS1: Implemented flags shotbyplayer, shotbybaddy, and shotbynpc.
LoneBoco Sep 14, 2025
fb1ae71
NPC-Server: Spyfire and explosions from players can now trigger NPCs.
LoneBoco Sep 14, 2025
c41aeda
Documentation update.
LoneBoco Sep 14, 2025
352ce01
Refactored variables, again.
LoneBoco Sep 15, 2025
a9c55f6
Fixed some Linux compile errors.
LoneBoco Sep 15, 2025
f2bf4d0
NPC-Server: Fixed the level of the control-NPC during events.
LoneBoco Sep 15, 2025
6392538
GS1: Fixed a regression with array access.
LoneBoco Sep 15, 2025
b2137d5
GS1: Weapon scripts can now store variables properly.
LoneBoco Sep 15, 2025
88206a4
GS1: Implemented tile editing.
LoneBoco Sep 15, 2025
7e49faf
Allow baddy names and item numbers in .nw level loading.
LoneBoco Sep 16, 2025
4b2e083
GS1: Linked up the gravity variable.
LoneBoco Sep 16, 2025
abd4dce
Script loading optimizations.
LoneBoco Sep 16, 2025
0af215c
GS1: Fixed a regression with timeout.
LoneBoco Sep 16, 2025
b234d66
Fixed the horse packet setting an incorrect X position.
LoneBoco Sep 16, 2025
ea1a3eb
Fixed an issue warping off a gmap that caused serverside NPCs to break.
LoneBoco Sep 16, 2025
a7f2191
GS1: Implemented the _() function.
LoneBoco Sep 16, 2025
98cc89d
Slightly adjusted how logging works.
LoneBoco Sep 17, 2025
639b93e
Moved the GuildManager out of Server.
LoneBoco Sep 17, 2025
4ad9c1c
GS1: Case sensitivity conformance.
LoneBoco Sep 17, 2025
dfe8458
GS1: Implemented message codes #K and #U.
LoneBoco Sep 17, 2025
c329a42
Fixed NPC save/load for non-character NPCs.
LoneBoco Sep 17, 2025
c0faaa6
NPC-Server: Expanded scripted level items to all item types.
LoneBoco Sep 17, 2025
1f9df5f
GS1: User-defined functions from joined classes can be called.
LoneBoco Sep 17, 2025
f3ab0b1
Documentation updates.
LoneBoco Sep 17, 2025
3f3d5e6
Implemented new translation support (classic).
LoneBoco Sep 18, 2025
bbdf271
GS1: Finished the horse properties.
LoneBoco Sep 18, 2025
0614397
GS1: Fixed a regression crash when accessing an object's properties.
LoneBoco Sep 18, 2025
8a6768d
Fix CPack.
LoneBoco Sep 18, 2025
32b67bd
Translation system improvements.
LoneBoco Sep 18, 2025
f98c37e
GS1: Implemented copystrings.
LoneBoco Sep 19, 2025
7c22aab
GS1: Implemented commands copylevel and deletelevel.
LoneBoco Sep 19, 2025
a71f678
Fixed issues with the translation language code mapping.
LoneBoco Sep 19, 2025
d85db13
Fixed a crash with baddies.
LoneBoco Sep 19, 2025
b23e25a
Various bug fixes.
LoneBoco Sep 19, 2025
348931a
Fixed issues with board changes breaking older clients.
LoneBoco Sep 19, 2025
7b8cab1
Fixed a regression in baddy loading that made every baddy a graysoldier.
LoneBoco Sep 20, 2025
dabc47d
Added string::equalsi to avoid accidents with string::comparei in the…
LoneBoco Sep 20, 2025
af7c07a
Don't save the NPC shape unless it has been changed.
LoneBoco Sep 21, 2025
ec5fadc
Fixed 1.41 clients not being able to connect.
LoneBoco Sep 21, 2025
4e94f82
GS1: Fixed the #P1-30 message codes being off by 1.
LoneBoco Sep 21, 2025
3d7b2ae
GS1: Fixed the setani command.
LoneBoco Sep 21, 2025
cb753ee
GS1: Implemented the carrying and carriesXYZ flags.
LoneBoco Sep 21, 2025
d27008f
GS1: Implemented players[].carrysprite (GR extension).
LoneBoco Sep 21, 2025
a8b0b11
GS1: Implemented the playerhurt event and added hurtdpower.
LoneBoco Sep 21, 2025
9c04847
GS1: Implemented base64 conversion functions.
LoneBoco Sep 21, 2025
f946162
GS1: Implemented toweapons.
LoneBoco Sep 21, 2025
03e6b9a
GS1: Fixed random() being very un-random.
LoneBoco Sep 21, 2025
56f156a
NPC-Server: Support for player laid bombs.
LoneBoco Sep 21, 2025
aca1ee1
GS1: Fixed the explodebomb command to have a correct explosion radius.
LoneBoco Sep 21, 2025
6390300
GS1: Fixed bugs with script execution and variables.
LoneBoco Sep 21, 2025
c7eb3fe
Added a GS1 script command for debug builds that helps with breakpoints.
LoneBoco Sep 21, 2025
7577f70
GS1: Implemented nwtime and its derivatives.
LoneBoco Sep 21, 2025
fed6f51
Fixed an issue where connecting players would become visible for ever…
LoneBoco Sep 21, 2025
add336d
Implemented player props packet logging.
LoneBoco Sep 21, 2025
c0ff1f5
Fixed the -gr_movement weapon. Whoops.
LoneBoco Sep 22, 2025
f1f61c3
Refresh the NPC mod times when it is moved to a different level.
LoneBoco Sep 22, 2025
e96bc5f
Fixed a bug where the player nickname was not being set properly on l…
LoneBoco Sep 28, 2025
4442960
Replaced the filesystem mechanics.
LoneBoco Sep 30, 2025
3bd70d5
Re-enabled gani script compilation.
LoneBoco Oct 1, 2025
ac463d6
Fix MinGW compilation.
LoneBoco Oct 1, 2025
67d4fa6
Try to make MinGW shut up a bit.
LoneBoco Oct 1, 2025
f601cad
Fixed NPCProp::CLASS.
LoneBoco Oct 2, 2025
6405ca6
Fixed GS2 weapon packets.
LoneBoco Oct 2, 2025
ac4c4ca
MinGW you will be the death of me.
LoneBoco Oct 2, 2025
e71a551
Statically link against libstdc++ for GCC.
LoneBoco Oct 2, 2025
64d3a48
More build configuration.
LoneBoco Oct 2, 2025
15b8944
Updated to latest gs2lib.
LoneBoco Oct 2, 2025
1575546
Some more attempts to statically link to the standard library when us…
LoneBoco Oct 2, 2025
f66d058
Added some logs for when a player gets disconnected.
LoneBoco Oct 5, 2025
49922f7
Linux: Removed static runtime link.
LoneBoco Oct 5, 2025
8a91172
Reverting some build stuff. Trying new things.
LoneBoco Oct 7, 2025
aa17316
Some attempts and diagnosing / fixing file send issues.
LoneBoco Oct 7, 2025
0ff7fe3
Fixed file sending not working.
LoneBoco Oct 7, 2025
d87795b
Implemented 3D terrain.
LoneBoco Oct 8, 2025
0b9e1dd
Fixed an issue where the player would time out.
LoneBoco Oct 8, 2025
5d1426c
Fixed a regression where an RC that modifies their own account will w…
LoneBoco Oct 8, 2025
086ff3d
Removed unused RC commands and updated the rchelp.txt file.
LoneBoco Oct 8, 2025
90ff2a5
Fixed ANSI conversion for Linux and MinGW (probably).
LoneBoco Oct 8, 2025
942a024
Fixed the builds.
LoneBoco Oct 8, 2025
68044d1
Fixed Linux crash.
LoneBoco Oct 8, 2025
bac84cd
Linux being a pain.
LoneBoco Oct 8, 2025
dca0e05
GS1: Fixed some instances where sleep would not work.
LoneBoco Oct 8, 2025
4aa1e9c
Optimized string splitting so it can split views without allocating n…
LoneBoco Oct 9, 2025
da2ae25
Added new server options.
LoneBoco Oct 10, 2025
d61cef1
Name refactor.
LoneBoco Oct 10, 2025
903ff82
Fixed weapons not being sent to players.
LoneBoco Oct 10, 2025
4d7cbb6
Fixed some NPC naming issues and fixed adding NPCs on gmaps via script.
LoneBoco Oct 10, 2025
736b1e2
Implemented new file writing mechanics.
LoneBoco Oct 10, 2025
a09e836
Lots of file system improvements.
LoneBoco Oct 14, 2025
c783dd0
Serverside shoot improvements.
LoneBoco Oct 14, 2025
6d92302
Fixing a release mode build error.
LoneBoco Oct 14, 2025
35a642f
Rename old style weapons.
LoneBoco Oct 14, 2025
35d9a35
GS1: Implemented new variables, events, functions, and message codes.
LoneBoco Oct 15, 2025
c37046b
Fixed level loading bugs involving serverside NPCs.
LoneBoco Oct 16, 2025
95c9eae
Fully fixed board modifications on gmaps for 2.x clients.
LoneBoco Oct 16, 2025
c1f01d8
GS1: Implemented the savelog command.
LoneBoco Oct 16, 2025
77d9c6a
Fix build error
xx-shitai-xx Jan 5, 2026
106e647
Merge remote-tracking branch 'upstream/dev' into beta4
xx-shitai-xx Jan 5, 2026
13cf72b
If we find an existing UPNP redirect, use it so it can be removed later.
LoneBoco Nov 4, 2025
ccde0f6
Bug fixes and improvements.
LoneBoco Jan 27, 2026
d5d854d
Load joined classes from a cached script.
LoneBoco Nov 4, 2025
7e91da2
Use steady_clock instead of high_resolution_clock.
LoneBoco Jan 26, 2026
c71750c
Massive rework to levels.
LoneBoco Dec 22, 2025
17d8bd7
Attempt to fix CPack.
LoneBoco Jan 29, 2026
1cbaf21
NPC-Server: Implemented support for tileset types 1 and 5.
LoneBoco Feb 5, 2026
bcf01dd
GS1: Added new player variables for kills and sparring.
LoneBoco Feb 5, 2026
685938e
Protected weapons aren't removed from player accounts, letting server…
LoneBoco Feb 5, 2026
56037e2
GS1: Implemented getflagkeys()
LoneBoco Feb 5, 2026
1142d49
GS1: Fixed some bugs around cliento. and clientro. variables.
LoneBoco Feb 5, 2026
a391d2c
GS1: Implemented players[].shootpower.
LoneBoco Feb 5, 2026
934aa15
Switched gs2-parser to FetchContent.
LoneBoco Feb 7, 2026
8df477d
Removed clang from the supported compiler list.
LoneBoco Feb 7, 2026
e42fa32
Switching to std::clamp.
LoneBoco Feb 8, 2026
68c551b
Fixed a regression that caused re-entered levels to lose their NPCs.
LoneBoco Feb 8, 2026
9b6dbbb
Renamed the -gr_movement weapon.
LoneBoco Feb 8, 2026
96940db
Added support for more colors.
LoneBoco Feb 8, 2026
447ceb2
Fixed a bug where 2.31 clients wouldn't see each other move.
LoneBoco Feb 9, 2026
32a7183
GS1: Fixed drawunderplayer and drawoverplayer.
LoneBoco Feb 9, 2026
167cd53
NPC-Server: Don't show male/female indicators if an NPC isn't a chara…
LoneBoco Feb 9, 2026
173a0eb
Slightly improved serverside bomb explosions by adding a slight time …
LoneBoco Feb 9, 2026
b12101d
NPC-Server: Serverside wasthrown support.
LoneBoco Feb 9, 2026
c912fa1
GS1: Fixed issues with variables, again.
LoneBoco Feb 9, 2026
dbc928b
Fixing build issues.
LoneBoco Feb 9, 2026
10aac38
Documentation updates.
LoneBoco Feb 9, 2026
730321e
GS1: Added some missing message codes to the lexer.
LoneBoco Feb 9, 2026
7119784
Some more improvements to carryable NPCs.
LoneBoco Feb 9, 2026
c2e8d2d
NPC-Server: Fixed serverside arrows not deleting.
LoneBoco Feb 10, 2026
f3dcfe8
Bug fixes and documentation changes.
LoneBoco Feb 10, 2026
b44b6b6
Cache the link to the server to avoid calling into BabyDI all the time.
LoneBoco Feb 10, 2026
b97bd16
Added a reference implementation of std::generator.
LoneBoco Feb 10, 2026
c7f2994
GS1: Added custom GR commands `enabledamagereactions` and `disabledam…
LoneBoco Feb 11, 2026
cd9f98b
Fix compile issues.
LoneBoco Feb 11, 2026
a859015
Documentation updates to help with initial server setup.
LoneBoco Feb 11, 2026
33df60f
Fixed clang compilation errors.
LoneBoco Feb 14, 2026
fb18393
Fixed chests on gmaps not saving to accounts correctly.
LoneBoco Feb 14, 2026
8759d7c
Pin GS2Lib.
LoneBoco Mar 23, 2026
cfa12fd
Fixed integer overflow issues with the ap counter.
LoneBoco Mar 31, 2026
01245c1
Fixed some GR triggeractions not respecting serveroptions.
LoneBoco Mar 31, 2026
174d9ca
Fixed regression after the file writing was changed to write temporar…
LoneBoco Mar 31, 2026
ec79b78
New settings system.
LoneBoco Mar 31, 2026
50b904d
Swapped most setting searches to cached values.
LoneBoco Apr 2, 2026
d77a326
Fixed a bug in checking time differences, found by Kixt.
LoneBoco Apr 3, 2026
6b4b425
Fixed some gmap regressions that prevented them from loading.
LoneBoco Apr 3, 2026
5efd41c
Reverted changes to how gmaps are loaded and added some extra checks …
LoneBoco Apr 3, 2026
ea32f1f
Fixed warpto on gmaps.
LoneBoco Apr 3, 2026
4d316ec
Fixed a crash in //#CLIENTSIDE script splitting, found by Kixt.
LoneBoco Apr 4, 2026
56c933d
Serverside links now warp to the correct gmap subpart.
LoneBoco Apr 4, 2026
83d31b8
Updated gs2lib and made some minor text changes.
LoneBoco Apr 9, 2026
df23c17
Fixed gs2lib Linux compilation.
LoneBoco Apr 9, 2026
c4d25f3
Fixed some more filesystem regressions.
LoneBoco Apr 10, 2026
9af65b6
Reimplemented group maps.
LoneBoco Apr 10, 2026
776c314
Fixed Linux compile issues.
LoneBoco Apr 10, 2026
0a84e9a
Record the group name for players and NPCs for saving/loading.
LoneBoco Apr 10, 2026
6bde820
Unload levels that aren't being used.
LoneBoco Apr 11, 2026
81f4046
GS1: Fixed identifier bugs and improved conformance.
LoneBoco Apr 13, 2026
ad56a93
Fixed a bug where deleting a weapon file doesn't remove it from the s…
LoneBoco Apr 14, 2026
9fb1a85
GS1: Implemented on-demand compilation.
LoneBoco Apr 14, 2026
e30fadf
GS1: Added auto translation support for say2 and sendpm.
LoneBoco Apr 14, 2026
a7592b6
GS1: Proper translation support for #U.
LoneBoco Apr 14, 2026
f13f792
NPC-Server: Serverside support for math in level links.
LoneBoco Apr 14, 2026
8dd7afe
Fixed RC /help command.
LoneBoco Apr 14, 2026
c97b112
GS1: Added a small optimization to more quickly parse some math expre…
LoneBoco Apr 14, 2026
f9cd775
Fixed a regression in loading baddies from .graal levels.
LoneBoco May 11, 2026
301767b
Fixed a regression where a client loses their leader status after an …
LoneBoco May 11, 2026
18a7b16
Fixed loading of signs and chests in binary level files.
LoneBoco May 12, 2026
75e6810
Fixed player private message formatting.
LoneBoco May 12, 2026
705a11a
Added some new debug assert logging methods.
LoneBoco May 14, 2026
7680ca3
Enabled SegmentHeap support for MSVC builds.
LoneBoco May 14, 2026
64ffbeb
GS1: Stop script execution after 'destroy' is called.
LoneBoco May 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignAfterOpenBracket: BlockIndent
AlignConsecutiveAssignments: None
AlignEscapedNewlines: Left
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Always
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakTemplateDeclarations: Leave
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
Expand All @@ -35,23 +37,24 @@ BraceWrapping:
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
BracedInitializerIndentWidth: 4
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
Cpp11BracedListStyle: false
Cpp11BracedListStyle: true
ColumnLimit: 0
CompactNamespaces: false
ContinuationIndentWidth: 4
ContinuationIndentWidth: 0
IndentAccessModifiers: false
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
IndentWidth: 4
InsertNewlineAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
LambdaBodyIndentation: OuterScope
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
NamespaceIndentation: None
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Left
Expand All @@ -64,7 +67,7 @@ SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
Expand Down
8 changes: 6 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
dependencies/v8
.git
build*/
cmake-*/
build
cmake-build-*/
vcpkg/
docker/
dependencies/fc/
*.tar
*.diff
36 changes: 21 additions & 15 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ ij_c_indent_implementation_members = 0
ij_c_indent_inside_code_block = 4
ij_c_indent_interface_members = 0
ij_c_indent_interface_members_except_ivars_block = false
ij_c_indent_namespace_members = 4
ij_c_indent_namespace_members = 0
ij_c_indent_preprocessor_directive = 0
ij_c_indent_visibility_keywords = 4
ij_c_insert_override = true
Expand Down Expand Up @@ -979,34 +979,37 @@ ij_toml_keep_indents_on_empty_lines = false

# Visual C++ Code Style settings

cpp_generate_documentation_comments = xml
cpp_generate_documentation_comments = doxygen_triple_slash

# Visual C++ Formatting settings

indent_style = tab
indent_size = 4
tab_width= 4
cpp_indent_braces = false
cpp_indent_multi_line_relative_to = innermost_parenthesis
cpp_indent_multi_line_relative_to = outermost_parenthesis
cpp_indent_within_parentheses = indent
cpp_indent_preserve_within_parentheses = true
cpp_indent_preserve_within_parentheses = false
cpp_indent_case_contents = true
cpp_indent_case_labels = false
cpp_indent_case_labels = true
cpp_indent_case_contents_when_block = false
cpp_indent_lambda_braces_when_parameter = true
cpp_indent_lambda_braces_when_parameter = false
cpp_indent_goto_labels = one_left
cpp_indent_preprocessor = leftmost_column
cpp_indent_access_specifiers = false
cpp_indent_namespace_contents = true
cpp_indent_namespace_contents = false
cpp_indent_preserve_comments = false
cpp_new_line_before_open_brace_namespace = ignore
cpp_new_line_before_open_brace_type = ignore
cpp_new_line_before_open_brace_function = ignore
cpp_new_line_before_open_brace_block = ignore
cpp_new_line_before_open_brace_lambda = ignore
cpp_new_line_scope_braces_on_separate_lines = false
cpp_new_line_before_open_brace_namespace = new_line
cpp_new_line_before_open_brace_type = new_line
cpp_new_line_before_open_brace_function = new_line
cpp_new_line_before_open_brace_block = new_line
cpp_new_line_before_open_brace_lambda = new_line
cpp_new_line_scope_braces_on_separate_lines = true
cpp_new_line_close_brace_same_line_empty_type = false
cpp_new_line_close_brace_same_line_empty_function = false
cpp_new_line_before_catch = true
cpp_new_line_before_else = true
cpp_new_line_before_while_in_do_while = false
cpp_new_line_before_while_in_do_while = true
cpp_space_before_function_open_parenthesis = remove
cpp_space_within_parameter_list_parentheses = false
cpp_space_between_empty_parameter_list_parentheses = false
Expand Down Expand Up @@ -1043,10 +1046,13 @@ cpp_space_around_ternary_operator = insert
cpp_use_unreal_engine_macro_formatting = true
cpp_wrap_preserve_blocks = one_liners

# Visual C++ Inlcude Cleanup settings
# Visual C++ Include Cleanup settings

cpp_include_cleanup_alternate_files = utilities/std/generator.h:generator,generator.h:generator
cpp_include_cleanup_add_missing_error_tag_type = suggestion
cpp_include_cleanup_excluded_files = corecrt.h,Windows.h,tomcrypt.h
cpp_include_cleanup_remove_unused_error_tag_type = dimmed
cpp_include_cleanup_replacement_files = generator:utilities/std/generator.h
cpp_include_cleanup_optimize_unused_error_tag_type = suggestion
cpp_include_cleanup_sort_after_edits = false
cpp_sort_includes_error_tag_type = none
Expand Down
8 changes: 6 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
* test eol=lf
bin/servers/* binary
* text=auto
*.cpp text
*.h text
*.exe binary
bin/servers/** binary
.gitignore text
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ bin/*.bin
bin/*.dat
bin/*.dll
bin/*.exe
bin/*.idb
bin/*.ilk
bin/*.obj
bin/*.pdb
bin/*.zip
bin/*.txt
bin/*.ilk
bin/*.zip
bin/GS2Emu.*
bin/gs2emu*
bin/servers/*
Expand All @@ -24,7 +26,7 @@ build*/*
cmake-build-*/
dependencies/.cipd/
dependencies/.gclient*
dependencies/v8*
dependencies/fc/
lib/
out/
packages/
Expand Down
18 changes: 0 additions & 18 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
[submodule "dependencies/miniupnp"]
path = dependencies/miniupnp
url = https://github.com/miniupnp/miniupnp.git
[submodule "dependencies/depot_tools"]
path = dependencies/depot_tools
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git
[submodule "dependencies/gs2lib"]
path = dependencies/gs2lib
url = https://xtjoeytx@bitbucket.org/xtjoeytx/gs2lib.git
[submodule "dependencies/gs2compiler"]
path = dependencies/gs2compiler
url = https://github.com/xtjoeytx/gs2-parser.git
[submodule "cmake/nuget"]
path = cmake/nuget
url = https://github.com/katusk/CMakeNuGetTools
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg.git
Loading