Commit Graph

74 Commits

Author SHA1 Message Date
rtw1x1
a3009f4bff FreeType: Fixed mem leak and adjustments 2026-02-04 10:35:46 +00:00
rtw1x1
ce5ef584c9 Implementation FreeType2-13.3 2026-02-04 08:37:37 +00:00
rtw1x1
a9407a5781 fix: Key validation failure 2026-02-03 11:58:21 +00:00
rtw1x1
509e2638cb XChaCha20-Poly1305 via libsodium 2026-02-03 11:12:32 +00:00
MindL0ve
eb4dd129b9 Update NetStream.cpp 2026-01-31 23:40:14 +03:00
d1str4ught
30ff18e982 helping branch prediction 2026-01-30 03:29:58 +01:00
rtw1x1
100dd2b87b fix: Optimized UTF8, BiDi, Debug 2026-01-20 21:23:31 +00:00
savis
b94b971e32 Refactor GameThreadPool for improved thread-safety and lifecycle management 2026-01-07 15:26:37 +01:00
savis
4e68003fdd Consolidate file loading threading to CGameThreadPool 2026-01-05 17:42:13 +01:00
savis
7718c65d7a add GameThreadPool 2026-01-05 17:20:12 +01:00
savis
d5624a8cdd Add parallel race/motion loading and thread-safe Pack/Pool managers 2026-01-04 17:27:32 +01:00
rtw1x1
3d8a8f8e3b Merge pull request #65 from savisxss/main
A bit late, but Happy New Year!
2026-01-04 09:29:02 +00:00
savis
6984fef736 Integrate async loading infrastructure
- Initialize FileLoaderThreadPool and TextureCache
- Route file requests through thread pool
- Handle pre-decoded images from worker threads
- Reduce loading delay from 20ms to 1ms
- 512MB texture cache (up from 256MB)
2026-01-03 20:38:02 +01:00
savis
f702b4953d Add support for pre-decoded image loading
- OnLoadFromDecodedData method for async decoded images
- Bypasses redundant decoding when data comes from worker thread
- Integrates with FileLoaderThreadPool pipeline
2026-01-03 20:37:52 +01:00
savis
3f0f3c792d Add SIMD-optimized texture color conversion
- SSE2/SSSE3 RGBA to BGRA conversion (10x faster)
- Processes 4 pixels per iteration
- Automatic fallback for non-x86 platforms
- Applied to both STB and decoded image paths
2026-01-03 20:37:41 +01:00
savis
0958ea6214 Add multi-threaded file loader pool
- 4-16 worker threads based on CPU core count
- Auto-detects and decodes images on worker threads
- SPSC queues: 16K request, 32K completion
- Atomic task counter for fast idle checks
- Smart idle handling with yield and minimal sleep
2026-01-03 20:37:22 +01:00
savis
049eca38a4 Add LRU texture cache
- 512MB default cache size for decoded textures
- Thread-safe LRU eviction policy
- Tracks hit/miss statistics
- Prevents re-decoding frequently used textures
2026-01-03 20:37:08 +01:00
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
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
e7a113885a fix: Better BiDi logic for formatting 2025-12-30 22:20:04 +00:00
savis
fff15def3c Fix PONG sequence sent as separate packet causing mismatch 2025-12-28 17:17:47 +01:00
rtw1x1
308511bd22 Fix hyperlink tags in Arabic 2025-12-27 07:09:57 +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
savis
9907febf28 enable async loading, optimize rendering and distance checks 2025-12-26 06:21:13 +01:00
savis
25601d4b28 Enable TCP_NODELAY to reduce network latency 2025-12-26 04:55:23 +01:00
savis
b25de40e07 Add missing intrin.h include for __cpuid 2025-12-25 20:37:02 +01:00
Mind Rapist
ef7c946cfb MR-3: Bunch of fixes 2025-12-25 08:39:58 +02:00
Mind Rapist
b344e5505e MR-2: Macro leftovers removed 2025-12-20 15:55:39 +02:00
Mind Rapist
7b08687023 MRMJ-1: Messenger & Skills fixes 2025-12-14 05:12:39 +02:00
heroesf
133ac6fc41 removed cpostit, unused files, small fix warning 2025-09-25 12:45:14 +02:00
d1str4ught
c0ea439b6d Merge pull request #21 from ThorsDev/features/scissor-rect
Added scissor rect for UI
2025-09-24 03:01:04 +02:00
ThorsDev
c5feaaf2d9 scissor rect 2025-09-22 17:48:21 +02:00
mq1n
255212e906 fix MSAA and backbuffer format handling in device creation 2025-09-22 17:59:54 +03:00
mq1n
51ee5feb78 fixed some crashes 2025-09-22 11:25:58 +03:00
d1str4ught
bdcb68619a guild mark uploading fixed 2025-09-22 02:44:22 +02:00
d1str4ught
5b1d3c6bce new pack system 2025-09-21 05:28:55 +02:00
mq1n
fb7e53b909 migrate to DirectX 9Ex from DirectX 9 2025-09-19 16:12:33 +03:00
mq1n
eaecf67d33 fix cipher desync issue
update the handshake phase to call the new method after activating the cipher, ensuring buffered data (likely from a second login attempt, GC_PHASE) is properly decrypted, and fix a logging format issue.
2025-09-07 20:24:38 +03:00
mq1n
b3aba3d280 enabled detailed packet logs for easier debugging 2025-09-02 19:40:05 +03:00
d1str4ught
85920e442d item_set and item_del packets normalized to server 2025-08-28 22:41:41 +02:00
d1str4ught
f791ab6d8c world editor defines removed 2025-08-28 21:03:15 +02:00
d1str4ught
a418f8616d include paths normalized 2025-08-28 20:50:20 +02:00
d1str4ught
3c8a5750f5 openid removed 2025-08-28 20:13:47 +02:00
d1str4ught
b9783bec79 Merge pull request #6 from mq1n/mem-leak-fix
fix some memory leaks
2025-08-28 18:41:51 +02:00