Commit Graph

534 Commits

Author SHA1 Message Date
32555c9152 Speed up NodeDef lookup in ContentRegistry via using regular array 2024-04-28 14:23:56 +02:00
c303640a02 Add colors attribute to Mesh 2024-04-28 11:42:49 +02:00
94e8982bd5 Display correct node string ID in editmode HUD 2024-04-26 22:22:00 +02:00
658854a3e4 X11Window: Implement raw mouse input through Xinput2 2024-04-26 22:03:59 +02:00
5cfea89ea0 Rename ImageGallery to ItemGallery and make it more generic
In future ItemGallery will be used for implementing inventory
2024-04-26 16:17:32 +02:00
Looki2000
44d1891196 Merge branch 'master' of https://git.cubesoftware.xyz/PolyGun/PolyGun 2024-04-24 00:59:51 +02:00
Looki2000
87522ca98f better ray casting using DDA algorithm 2024-04-24 00:58:13 +02:00
0989660683 Fix mouse click hiding chat in game (found by Looki2000) 2024-04-23 20:07:07 +02:00
7cff518260 t3d_to_polymap: Remove unused code that I accidentally added while copying 2024-04-23 16:08:53 +02:00
08c702e00e Implement ThreadHelper and use it to fix crashes with rendering player nicks 2024-04-23 11:37:45 +02:00
Kacper Kostka
75ca41bdfc Merge branch 'master' of https://git.cubesoftware.xyz/PolyGun/PolyGun 2024-04-22 20:38:53 +02:00
Kacper Kostka
3b27fcb883 deleted ingame music 2024-04-22 20:38:43 +02:00
05bc32769e Temporarily don't check incoming packet retries 2024-04-22 19:55:31 +02:00
1cfb024d04 added entitydef class 2024-04-22 13:12:57 +02:00
95b1821636 added "}" at the end of matrix.cpp file 2024-04-22 12:53:30 +02:00
c9a6b88826 Temporary fix for Matrix4::look_at 2024-04-22 12:38:16 +02:00
77ded46961 Remove Mesh::load_from_memory to make loading mesh data more flexible 2024-04-21 16:24:48 +02:00
5646d1a5e4 t3d_to_polymap: Update defaultblocks leaves ID mapping 2024-04-21 15:39:18 +02:00
ea46b48eee Properly wait while resource is pending in ResourceManager 2024-04-21 14:39:49 +02:00
4a6e086c0e Added new nodes and code for playing ingame music 2024-04-19 19:23:39 -04:00
f8dec1dba5 Temporarily comment out packet retry limit 2024-04-19 20:50:49 +02:00
618c39c634 t3d_to_polymap: Implement converting 2024-04-19 20:48:31 +02:00
051507142b t3d_to_polymap: Write polymap header 2024-04-18 22:20:21 +02:00
a062534659 Begin implementing Terrarium 3D to Polymap converter 2024-04-18 21:34:28 +02:00
e1063449ae Fix player rotation 2024-04-18 18:30:07 +02:00
a368898f1a Show player nick above player model 2024-04-18 18:07:16 +02:00
de9c82b1a3 Handle all incoming packets in one network thread step 2024-04-16 14:02:46 +02:00
ea74396d6f Make CommandParser aware of command argument data types and allow command overloading 2024-04-16 13:02:15 +02:00
f467d53cc2 Introduce op and deop commands 2024-04-14 14:14:05 +02:00
a684f42e0d Implement player storage system
It will allow storing persistent per player data
2024-04-14 13:59:26 +02:00
4d607336cd Add a way to send server commands from client 2024-04-13 12:10:57 +02:00
f808d2e9c6 Don't duplicate node selection every HUD switch 2024-04-11 21:57:50 +02:00
35cf8eb56d Replace TrueType font with simpler bitmap font
Since we wanted to use low resolution font and imitating it
with TrueType font would be a total overcomplication implementing
bitmap font text renderer seemed like a correct way.
2024-04-10 20:59:17 +02:00
768f4d7839 Add Surface::blit_surface_cropped and Surface color keying 2024-04-10 20:31:55 +02:00
914959df3f Win32Window: Make sure to only grab or ungrab mouse when state is different
This prevents calling ShowCursor multiple times, which buffers
subsequent calls with the same argument.
2024-02-27 19:36:38 +01:00
2a32df773d Gravity deceleration is no longer CPU speed dependent 2024-02-26 16:52:04 +01:00
15e4d5327c Fix collision with blocks breaking on negative coordinates 2024-02-23 16:15:49 +01:00
dc5b19323f Replace std::fstream with FILE* in server ChunkManager 2024-02-23 10:23:41 +01:00
fd8668c0e7 Merge branch 'physic' 2024-02-21 20:09:08 +01:00
af460a1630 Implement gravity and collisions with some issues 2024-02-21 20:08:18 +01:00
Looki2000
33d5146be8 added missing includes to oggvorbis_decoder.hpp 2024-02-21 18:33:41 +01:00
a4d0864980 Begin implementing simple physic system 2024-02-19 20:23:13 +01:00
027cd225a0 Add alternative build script for GNU make
It can be used on systems where setting up CMake is not possible or too complicated
2024-02-18 14:37:07 +01:00
df55220895 Remove X11_LIBRARIES description from docs/INSTALL.MD 2024-02-16 08:13:06 +01:00
32a53cc6fd Use std::ios::binary for Ogg input file stream 2024-02-12 17:13:29 +01:00
cfdc59d5bd Win32Window: Adapt to changes introduced in d097e34 2024-02-12 16:25:21 +01:00
8467fcc584 HaikuWindow: Adapt to changes introduced in d097e34 2024-02-11 17:52:10 +01:00
3735e77e03 WaylandWindow: Adapt to changes introduced in previous commit 2024-02-11 11:22:02 +01:00
d097e346b2 Make Window manage GLContext 2024-02-10 22:35:09 +01:00
7fef75d8c7 Dynamically load GLX 2024-02-10 11:50:28 +01:00