344 Commits

Author SHA1 Message Date
Tempetas
8d3f162f73 Remove heightmap checks which broke the tree generation 2022-04-21 22:09:56 +02:00
Sasha Koshka
0d902f6c10 Made caves more interesting 2022-04-21 15:35:19 -04:00
Sasha Koshka
0a53e560f0 Blocks are now added to the player's inventory when mined 2022-04-21 15:08:11 -04:00
Sasha Koshka
83f755687f Updated readme to reflect temporary unavailability of holanet.xyz/soft 2022-04-21 14:20:37 -04:00
Sasha Koshka
7dec0e3028 Updated bug list in readme to reflect issues tab 2022-04-21 14:13:59 -04:00
Sasha Koshka
d3a1687fc0 Merge pull request #10 from Tempetas/collision-patch
Fix 'sticky' block collisions
2022-04-21 14:09:08 -04:00
Sasha Koshka
8ae5845135 Merge pull request #11 from Tempetas/placement-patch
Prevent players from placing blocks inside themselves
2022-04-21 14:07:45 -04:00
Tempetas
44fb4276b9 Prevent players from placing blocks inside themselves 2022-04-21 19:00:41 +02:00
Tempetas
16932f046e Fix 'sticky' block collisions 2022-04-21 12:05:25 +02:00
Sasha Koshka
7544092607 Fixed chunk peek 2022-04-21 02:05:11 -04:00
Sasha Koshka
e35bd4f16c Item count now decreases when placing blocks, fixed bug where clicking on air and then hovering over a block would break that block 2022-04-21 02:00:38 -04:00
Sasha Koshka
d495223d90 Extracted some things from gameloop into separate functions 2022-04-21 01:02:56 -04:00
Sasha Koshka
1f74357dfc Moved screenshot code 2022-04-21 00:46:35 -04:00
Sasha Koshka
59e472b632 Updated gitignore, corrected minor formatting issues in gameloop 2022-04-21 00:39:10 -04:00
Sasha Koshka
b9ab1ac6c2 Added warning in gameloop 2022-04-21 00:34:53 -04:00
Sasha Koshka
271c7b5a0f Edited credits a bit 2022-04-20 23:57:14 -04:00
Sasha Koshka
4ebd72e388 Merge pull request #9 from Tempetas/screenshot-patch
Implement basic screenshot functionality
2022-04-20 23:53:49 -04:00
Sasha Koshka
6e6b70f3f0 Drastically cut memory usage by storing blocks as 8 bit unsigned integers 2022-04-20 23:01:36 -04:00
Tempetas
ba014870fd Implement basic screenshot functionality 2022-04-20 23:12:33 +02:00
Sasha Koshka
28213a39c3 Added screenshots 2022-04-14 01:03:46 -04:00
Sasha Koshka
bc265f711a Caves now turn exposed dirt into either grass or gravel 2022-04-14 00:53:19 -04:00
Sasha Koshka
b689a00dbc ADDED CAVES 2022-04-14 00:17:25 -04:00
Sasha Koshka
40bdfdd86d Forgot to reformat player.h, did that 2022-04-13 20:38:47 -04:00
Sasha Koshka
fb68393b68 Refactoring and reformatting 2022-04-13 20:37:31 -04:00
Sasha Koshka
b71c26f39b Removed advanced debug functions from small version 2021-12-30 14:06:39 -05:00
Sasha Koshka
d067ac8718 Some refactoring, chunk peek now works again 2021-12-30 03:40:13 -05:00
Sasha Koshka
5d244fa82e Updated cobblestone texture: 2021-12-28 13:39:23 -05:00
Sasha Koshka
60762c7b8b deobfuscated texture generation code, addded a couple new blocks. cobblestone texture needs some work. 2021-12-28 04:48:39 -05:00
Sasha Koshka
aa3f67dbdd Added numeric indicators on inventory slots 2021-12-28 03:51:41 -05:00
Sasha Koshka
118de264d0 Updated build system to separate small binaries from debug binaries 2021-12-28 03:19:45 -05:00
Sasha Koshka
3d9aa25599 Extracted more menus, and made options accessible outside of gameplay 2021-12-28 03:10:12 -05:00
Sasha Koshka
f722f1fa94 Fixed popups 2021-12-27 16:25:08 -05:00
Sasha Koshka
45841316a6 Extracted all in game popups 2021-12-27 16:23:22 -05:00
Sasha Koshka
e1f97d0154 Extracted some in-game UI and pop ups 2021-12-27 04:37:44 -05:00
Sasha Koshka
278b9a55b0 Block selection is now hidden when GUI is hidden 2021-12-27 02:15:56 -05:00
Sasha Koshka
042d896562 Refactored codebase and created new build system 2021-12-27 02:02:39 -05:00
Sasha Koshka
2a1452290b Trying to overrwrite farthest chunks to the player instead of near ones. Not working very well... 2021-05-17 20:54:32 -04:00
Sasha Koshka
5f43e3ab02 Quieted the flashing chunks bug a bit, will have to make some changes in how the system finds old chunks to get rid of it altogether 2021-05-16 20:59:27 -04:00
Sasha Koshka
8efeed3466 Fixed some bugs with infinite terrain 2021-05-16 19:41:43 -04:00
Sasha Koshka
344154c22d Added infinite terrain. Very buggy and slow right now. 2021-05-16 17:56:33 -04:00
Sasha Koshka
66dbaae58f Game now initializes properly 2021-05-16 13:44:51 -04:00
Sasha Koshka
ca602ee3cb Made a function to draw big text 2021-05-16 13:07:55 -04:00
Sasha Koshka
f652b7e295 Moved loading process to after singleplayer button is clicked, makes more sense now 2021-05-16 12:53:26 -04:00
Sasha Koshka
10c9a5efa8 Tweaked mouse capture controls 2021-05-16 12:26:42 -04:00
Sasha Koshka
90ca22d355 Chat background is no longer dark, more code uses color functions 2021-05-15 23:54:21 -04:00
Sasha Koshka
2595a64004 Added center align text function 2021-05-15 23:48:14 -04:00
Sasha Koshka
958a0a63d7 Added a main menu, and changed some button text to match minecraft 2021-05-15 23:35:03 -04:00
Sasha Koshka
075ebb0b47 Chat now supports uppercase letters 2021-05-15 22:32:18 -04:00
Sasha Koshka
715e1aa160 Added blinking cursor to chat box 2021-05-15 19:17:29 -04:00
Sasha Koshka
eb601d03ff Typing added to chat. Press T. No caps yet. 2021-05-15 18:22:48 -04:00