Commit Graph

251 Commits

Author SHA1 Message Date
savis
fd1218bd4e Add worker-thread image decoder
- Decodes DDS, PNG, JPG, TGA, BMP formats
- Thread-safe for use in worker threads
- Uses stb_image for common formats
- Custom DDS header parsing
2026-01-03 20:36:37 +01:00
savis
c6aa6b4149 Add decoded image data structure
- Stores decoded pixel data ready for GPU upload
- Supports RGBA8, RGB8, and DDS formats
- Separates CPU decoding from GPU upload phases
2026-01-03 20:35:45 +01:00
savis
7fb832ad6b Add buffer pool for I/O operations
- Reuses vector<uint8_t> buffers to reduce allocations
- Thread-safe with mutex protection
- Max 64 buffers, 64MB buffer size limit
- Tracks allocation statistics and pooled memory
2026-01-03 20:35:06 +01:00
savis
33ac4b69f4 Add lock-free SPSC queue implementation
- Single producer/single consumer bounded queue
- Cache-line aligned atomics to prevent false sharing
- Used for async file loading communication
2026-01-03 20:34:47 +01:00
savis
5fce64f978 Fix minimap radius calculations and atlas waypoint positioning 2026-01-02 06:56:12 +01:00
savis
2372599578 Fix quest marker alignment on minimap 2026-01-02 06:28:49 +01:00
Mind Rapist
efbdf9155e Minor fixes & corrections 2026-01-02 06:33:57 +02:00
rtw1x1
85763c9f81 fix: Auto-detect LTR / RTL in input 2025-12-31 20:56:02 +00:00
rtw1x1
73958b4f62 fix: Broken cursor and tag logic from BiDi 2025-12-31 20:23:40 +00:00
rtw1x1
846fab02dc fix: CheckMeshIndex bounds check to use actual mesh count 2025-12-31 10:10:11 +00:00
rtw1x1
999a0929a6 Revert "Stop crashing on bad meshes like it's the end of the world"
This reverts commit b201fd6dd6.
2025-12-31 09:58:06 +00:00
rtw1x1
fb4ba5960e Merge pull request #56 from MindRapist/mr-6
PK Mode fix
2025-12-31 09:09:56 +00:00
rtw1x1
b201fd6dd6 Stop crashing on bad meshes like it's the end of the world
Pushing this on behalf of savis
2025-12-31 09:05:58 +00:00
Mind Rapist
54a5dde037 PK Mode fix 2025-12-31 04:14:02 +02:00
rtw1x1
e7a113885a fix: Better BiDi logic for formatting 2025-12-30 22:20:04 +00:00
Ricardo Domingues
e881517775 Merge branch 'main' into fix/client-freeze-on-drag 2025-12-30 17:51:50 +00:00
Ricardo Domingues
96876420d1 Increased horse rotation speed 2025-12-30 17:37:42 +00:00
rtw1x1
18073e7193 Merge pull request #53 from MindRapist/mr-5
MR-5: FlyTarget fixes
2025-12-29 16:47:27 +00:00
Mind Rapist
08228b1ff9 MR-5: FlyTarget fixes 2025-12-29 18:37:39 +02:00
Mind Rapist
55b2d70459 MR-5: FlyTarget fixes 2025-12-29 00:21:32 +02:00
savis
fff15def3c Fix PONG sequence sent as separate packet causing mismatch 2025-12-28 17:17:47 +01:00
rtw1x1
a4112cd128 fix: Better support UTF8 & Arabic 2025-12-27 18:50:42 +00:00
rtw1x1
67bda2c286 Merge pull request #49 from savisxss/Garvage
perf: optimize terrain garbage collector with early exit
2025-12-27 08:14:54 +00:00
Mind Rapist
2422af51a8 Fixed PK mode bugs 2025-12-27 10:12:27 +02:00
savis
977e273764 perf: optimize terrain garbage collector with early exit 2025-12-27 08:31:54 +01:00
rtw1x1
308511bd22 Fix hyperlink tags in Arabic 2025-12-27 07:09:57 +00:00
Ricardo Domingues
2a8d881ef3 Added Amun fix for window freeze on drag 2025-12-26 19:13:40 +00:00
rtw1x1
d3017b0ab0 Macro removal 2025-12-26 16:09:30 +00:00
rtw1x1
5d73d79eb8 Full unicode hotfix Debug mode 2025-12-26 16:02:34 +00:00
rtw1x1
4729dafc12 Full Unicode patch with RTL Support & BiDi logic #3 2025-12-26 14:53:52 +00:00
rtw1x1
a955c50744 Full Unicode patch with RTL Support & BiDi logic.
This commit is well documented, so no need to tell you my life story.

Full Unicode patch with RTL Support & BiDi logic.

Removed the legacy codePage, normalised to UTF8 (65001).

It also comes with:

CTRL + A : select text (highlighted)
CTRL + C : copy
CTRL + V : paste
CTRL + X : cut
CTRL + Y : redo
CTRL + Z : undo
2025-12-26 12:32:43 +00:00
rtw1x1
d37607baa1 Merge pull request #45 from savisxss/opti2 2025-12-26 07:05:06 +00:00
rtw1x1
b56f55ce7c Merge pull request #43 from savisxss/socket 2025-12-26 07:04:52 +00:00
rtw1x1
e578f05986 Merge pull request #42 from SunTrustDev/bugfix/std-1 2025-12-26 07:04:38 +00:00
savis
9ac8e3e4d7 Optimize collision detection loops and distance calculations 2025-12-26 06:36:22 +01:00
savis
9907febf28 enable async loading, optimize rendering and distance checks 2025-12-26 06:21:13 +01:00
savis
f9e1f8b7af increase socket buffers 2025-12-26 06:19:50 +01:00
savis
25601d4b28 Enable TCP_NODELAY to reduce network latency 2025-12-26 04:55:23 +01:00
Simone Romano
4b6cdc8003 Fix: Add quest dialog cancelation packet handling 2025-12-25 21:59:50 +01:00
savis
b25de40e07 Add missing intrin.h include for __cpuid 2025-12-25 20:37:02 +01:00
Mind Rapist
99bd5103a3 MR-3: Bunch of fixes 2025-12-25 17:51:09 +02:00
Mind Rapist
ef7c946cfb MR-3: Bunch of fixes 2025-12-25 08:39:58 +02:00
d1str4ught
76b0dc793d FIX_POS_SYNC removed 2025-12-25 03:26:57 +01:00
Mind Rapist
b344e5505e MR-2: Macro leftovers removed 2025-12-20 15:55:39 +02:00
Mind Rapist
7580e4278c MR-2: Realtime character level updates + Macros removed 2025-12-20 02:28:41 +02:00
Mind Rapist
e0df09ea28 MR-2: Realtime character level updates + Macros removed 2025-12-20 01:58:56 +02:00
Mind Rapist
06c8e6f9b0 MR-2: Realtime character level updates 2025-12-19 22:15:38 +02:00
Mind Rapist
e3ae5541ba MRMJ-1: Messenger & Skills fixes 2025-12-14 06:39:06 +02:00
Mind Rapist
08ed73b29c MRMJ-1: Messenger & Skills fixes 2025-12-14 05:26:24 +02:00
Mind Rapist
7b08687023 MRMJ-1: Messenger & Skills fixes 2025-12-14 05:12:39 +02:00