441 Commits

Author SHA1 Message Date
死体 34bcb82bfd Fix build error 2026-01-06 00:20:39 +01:00
死体 6cbb9b2377 Backmerge master 2025-01-06 22:48:39 +01:00
joey 3a294798e8 save string function for writing to files 2024-08-09 17:43:11 -04:00
joey 5c11f94529 format changes 2024-08-08 22:35:04 -04:00
joey acecc89392 Add file permissions changes 2024-08-06 22:42:04 -04:00
John Norman 24ecff7fa5 Fixed bugs with bigmaps. 2024-07-08 18:39:49 -07:00
John Norman 3c1bce6b32 Fixed a bug where a reference to a temporary was being returned. 2024-07-06 21:05:35 -07:00
John Norman d6ed2fa896 Standardized position and added NPC Z.
X/Y/Z are stored in pixel coordinates and converted.
Added missing NPC Z properties.
2024-07-06 20:24:59 -07:00
John Norman 7774d58e8b Split shared character props into its own structure. 2024-07-06 20:17:16 -07:00
John Norman 8336d6a326 Resolved compile issues. 2024-07-06 19:57:27 -07:00
John Norman deb5d3b7df Switch to BabyDI.
Added BabyDI and migrated Server into it.
Replaced pointers of server being passed around with calls to BabyDI.
2024-07-05 17:32:18 -07:00
John Norman 067db344e2 Moved initialization to default member initialization. 2024-07-05 17:13:56 -07:00
John Norman 75393a0a1a #include updates.
Sorted includes.
Converted dependencies to brackets.
Use relative path for includes.
2024-07-05 16:23:33 -07:00
John Norman 12cff8bf4a Renamed directories to be lowercase. 2024-07-05 14:15:03 -07:00
John Norman 5b551b3e5e Moving ScriptClass to the Scripting folder. 2024-07-05 13:57:31 -07:00
John Norman bee6e36e1c Moved the Map files into the Level folder. 2024-07-05 13:40:30 -07:00
John Norman e97be7cce5 Added test for IdGenerator.
Added test for IdGenerator.
IdGenerator restricted to std::integral types.
Enabled tests for Windows.
2024-06-27 09:42:33 -07:00
John Norman 19442e7b25 Standardized id management.
Added a new IdGenerator template class to handle id assignment.
Moved player, external player, npc, and baddy id handling to the new class.
2024-06-26 12:06:48 -07:00
John Norman 3dcd494620 Changes from review.
Fixed the name of SCachedLevel.
Removed an empty comment.
2024-06-10 17:28:55 -07:00
John Norman b8baca5f2e Renamed functions to follow the style guide. 2024-06-10 12:58:53 -07:00
John Norman e9e9b6e4fe Renamed CScriptEngine to ScriptEngine across all files.
Renamed the class `CScriptEngine` to `ScriptEngine` across all files and functions.
2024-06-10 11:13:35 -07:00
John Norman 5ec4a50f31 Fixing some changes that got lost in the cherrypick. 2024-06-10 11:13:35 -07:00
John Norman 056f49ee4b Fixed compilation errors. 2024-06-10 11:13:34 -07:00
John Norman 4b01259424 Renamed class names and private/protected member variables. 2024-06-10 11:13:33 -07:00
John Norman 3165f96da0 Formatted all files. 2024-06-10 11:13:32 -07:00
John Norman c90ce94a34 Fixed #includes after the file renaming.
Fixed wrong names in includes.
Fixed some missing includes causing build errors.
2024-06-10 11:13:32 -07:00
John Norman 6278c94ff4 Folder renames. 2024-06-10 09:08:41 -07:00
John Norman 0ca668c643 File renames. 2024-06-10 09:05:20 -07:00
死体 1c5b20a9cd Make level.npcs work the same as level.signs, level.chests and level.links 2023-11-13 20:42:04 +01:00
死体 a139f32a53 Fix gani arguments 2023-11-03 18:24:11 +01:00
死体 b651ef4181 Add shoot support 2023-11-03 18:15:45 +01:00
死体 4fce8bc27f Add level.chest manipulation 2023-04-21 22:43:32 +02:00
死体 78e4ebd3f9 Fix line-endings 2023-04-21 15:57:23 +02:00
死体 91906661e8 Fix signs + level layers 2023-04-21 15:45:58 +02:00
死体 84da90d0e9 Add sign manipulation 2023-04-20 12:52:25 +02:00
死体 372ca68082 Improve implementation 2023-04-18 16:45:59 +02:00
死体 ef6cd7b469 Minor cosmetic changes 2023-04-18 10:26:20 +02:00
死体 3101604eed Put back std::optional, fix build error on non-npcserver builds 2023-04-17 23:15:48 +02:00
死体 a3b10428b4 Fix build error 2023-04-17 22:50:08 +02:00
死体 a768d4c5e5 Add AddLevelLink function for adding a level link to a level. Closes #59 2023-04-17 22:34:26 +02:00
John Norman 1117da4741 Removed cache invalidation as it was not the issue at hand. 2023-02-16 11:22:37 -08:00
John Norman 78c620a145 Add GS2 script invalidation for NC weapon updates. 2023-02-15 22:04:02 -08:00
John Norman 1cda938275 Resolved crashing on shutdown. 2023-02-15 22:03:33 -08:00
John Norman cb297b9c09 Fixed UPNP. 2023-02-15 17:29:49 -08:00
John Norman fbcb63cf3e Fixing level warp issues. 2023-02-15 17:29:34 -08:00
John Norman 821e196dc5 Implemented smart pointers in the npc-server code. 2023-01-28 10:34:23 -08:00
John Norman d087e77545 All non-V8 related code migrated to smart pointers. 2023-01-27 21:45:41 -08:00
死体 200c41e685 Some cleanup 2022-12-28 23:35:52 +01:00
死体 4c56f7e3b6 Don't allow to fetch the level object on a npc marked as deleted, to avoid putnpc loops 2022-12-14 14:25:02 +01:00
joey b93b52f86d Update IConfig.h.in
stop failing my build !
2022-12-10 15:19:45 -05:00