zhenyan121 7f2597ebe0 feat(chat): implement in-game chat box with UTF-8 support
- Add ChatMessage struct and ChatBox widget for displaying and sending messages
- Introduce split_utf8() in text_tools for splitting UTF-8 strings by character count
- Add TimeTools utility (get_time_ticks) for message timestamps
- Update TextField with start_typing/stop_typing methods and set_typing()
- Integrate text input handling in WorldScene and WorldUIManager for chat
- Add utf8cpp library for robust UTF-8 validation and processing
- Add ChatBox rendering and input logic (src/ui/chat_box.cpp)
- Register ChatBox source in CMakeLists.txt
- Fix Renderer::render_lable to skip rendering if VAO is null
- Update credits to include utf8cpp library
2026-07-18 17:34:38 +08:00
2026-07-17 18:08:51 +08:00
2026-07-16 17:11:53 +08:00
2026-07-17 18:08:51 +08:00
2026-06-20 15:03:40 +08:00
2026-07-17 18:08:51 +08:00
2026-04-21 22:53:34 +08:00
2026-07-11 09:22:40 +08:00
2026-05-28 21:34:36 +08:00
2026-07-17 18:08:51 +08:00
2026-03-05 13:43:34 +08:00
2026-06-22 13:34:45 +08:00
2026-06-20 15:03:40 +08:00
2026-04-19 18:01:09 +08:00
2026-06-20 15:03:40 +08:00
2026-07-17 18:08:51 +08:00

What's it

A cube game like Minecraft, using C++ and OpenGL.

Build Guide

Prerequisites

  • CMake (>= 3.24)
  • C++ 23 compatible compiler

Step

  1. Clone the repository
    git clone https://github.com/zhenyan121/Cubed.git && cd Cubed
    
  2. Configure with CMake
    mkdir build && cd build
    cmake -G "Ninja" ..
    
  3. Build the project
    ninja
    
Description
No description provided
Readme MIT 38 MiB
Languages
C++ 96.8%
C 2.1%
GLSL 0.6%
Python 0.3%
CMake 0.2%