Commit Graph

89 Commits

Author SHA1 Message Date
Claude
dfe0baabce fix: restore linux mingw client build and gm smoke 2026-04-17 21:53:59 +02:00
rtw1x1
3f8a664c2c fix: SpeedTree fog fix 2026-02-19 18:51:43 +00:00
rtw1x1
0d748d2eb2 Merge pull request #114 from MindRapist/mr-15 2026-02-18 15:51:17 +00:00
Mind Rapist
46c7c0ed59 DumpProto fix 2026-02-18 01:59:08 +02:00
Mind Rapist
2400d2a36f Various fixes and improvements 2026-02-18 01:00:24 +02:00
SuntrustDev
7eca2871d7 Use character midpoint calculation to increase cursor placement accuracy in text fields 2026-02-17 21:33:33 +01:00
SuntrustDev
122ca058de Prevent text fields cursor from being stuck on n-1 character when clicking on the end of the text field 2026-02-17 21:32:13 +01:00
Mind Rapist
3e604d5f10 Fog fixes 2026-02-16 16:47:52 +02:00
rtw1x1
c34b46a9a4 Packet miss match
fixed: Packet miss match for command_safebox_money

fixed: Py_BuildException

log: Detailed TraceError for CreateMemoryFile
2026-02-13 00:00:23 +00:00
Mind Rapist
7a942e4fc0 Several bug fixes 2026-02-13 01:48:07 +02:00
SuntrustDev
6929730dd6 Change from korean_tolower to ascii_tolower for better understandability 2026-02-09 02:41:59 +01:00
rtw1x1
cda1c73bd3 Networking Overhaul: Modern packets, buffers, handshake, dispatch & security hardening
See Readme
2026-02-08 07:36:07 +00:00
rtw1x1
87cfa1540f FreeType: LCD subpixel 2026-02-04 12:30:14 +00:00
rtw1x1
ba514d2e9a FreeType: Kerning API and font adjustments 2026-02-04 11:59:36 +00:00
rtw1x1
4280220819 FreeType: TextBar boldness fix 2026-02-04 10:50:00 +00:00
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