Commit Graph

347 Commits

Author SHA1 Message Date
Perttu Ahola
042834b09d Fixed chest contents not immediately updating to all players 2011-04-04 18:29:44 +03:00
Perttu Ahola
7df125c249 Modified windows build parameters a bit to make it build 2011-04-04 15:34:07 +03:00
Perttu Ahola
14c621d853 removed reference to script directory in cmake install 2011-04-04 15:19:11 +03:00
Perttu Ahola
4a92df6ff0 Chests work now! 2011-04-04 15:13:19 +03:00
Perttu Ahola
9e683fff50 initial chest metadata 2011-04-04 11:18:14 +03:00
Perttu Ahola
a9f89fb3fb now the server builds 2011-04-04 05:25:55 +03:00
Perttu Ahola
023fc5b771 still a missing file 2011-04-04 05:14:59 +03:00
Perttu Ahola
3a58f8179f forgot some files 2011-04-04 05:13:08 +03:00
Perttu Ahola
fa736e138c fully implemented the sign with the new framework 2011-04-04 05:12:33 +03:00
Perttu Ahola
fa08294d09 Node metadata framework 2011-04-04 03:45:08 +03:00
Perttu Ahola
2f466726e6 Made a proper queued thread to client for handling some block mesh updates. Also made client mutex-free to allow easier adding of new stuff. 2011-04-04 02:05:12 +03:00
Perttu Ahola
e0f7bd4d57 Modified block mesh generation to have clearer input and output. Instead of being a messy object oriented cludge, it now is a messy cludge with separate parameters. 2011-04-03 19:50:54 +03:00
Perttu Ahola
01c2b003e1 commit before some more radical changes 2011-04-03 16:21:06 +03:00
Perttu Ahola
06eb0ad4d0 copied draft of updateNodeMeshes from backup 2011-04-03 12:48:20 +03:00
Perttu Ahola
e4f7f97e6c Removed lua stuff 2011-04-03 12:28:55 +03:00
Perttu Ahola
ee89e29ae1 Revert mapgen to best working version (2) 2011-04-03 12:14:23 +03:00
Perttu Ahola
8581bf0091 tuned water texture and removed two debug prints from server 2011-04-02 21:10:53 +03:00
Perttu Ahola
bc66bb2d40 Mapgen is better now. Not a lot, but a bit! 2011-04-02 20:55:22 +03:00
Perttu Ahola
2990f5d90b commit before some radical changes 2011-04-02 13:44:06 +03:00
Perttu Ahola
2e7b15fed3 mapgen work-in-progress 2011-03-02 02:00:11 +02:00
Perttu Ahola
9a22d02903 mapgen tweaking 2011-03-01 01:32:54 +02:00
Perttu Ahola
f923c1fb66 tweaked mapgen 2011-02-28 21:12:01 +02:00
Perttu Ahola
c137946a3f fixed server sending wrong position of node removal 2011-02-28 16:40:25 +02:00
Perttu Ahola
231386d501 tweaked mapgen 2011-02-28 14:51:57 +02:00
Perttu Ahola
ad9e084e94 added trees (very glitchy) and changed grass texture 2011-02-28 02:48:31 +02:00
Perttu Ahola
a302ae3e08 - 2011-02-28 02:14:52 +02:00
Perttu Ahola
c8be58a65c A third try on terrain generation. No trees yet. 2011-02-28 02:01:40 +02:00
Perttu Ahola
d9d0efdeed fixed 3d noise and made 2d noise faster 2011-02-27 00:59:56 +02:00
Perttu Ahola
48a772b3c6 3d noise stuff 2011-02-26 20:16:47 +02:00
Perttu Ahola
ec3cb2d1d7 fixed a possible infinite loop in ClientEnvironment (dtime counter getting so small that it doesn't increment the value) 2011-02-24 18:25:19 +02:00
Perttu Ahola
9f859d8389 modified the build system of lua to a more minimal one 2011-02-24 00:19:41 +02:00
Perttu Ahola
bfd0980748 fixed a path in build system's packaging part 2011-02-23 11:12:03 +02:00
Perttu Ahola
be32adc872 updated scripting api a bit
--HG--
rename : data/luaobjects/test/client.lua => data/scripts/objects/test/client.lua
rename : data/luaobjects/test/server.lua => data/scripts/objects/test/server.lua
2011-02-23 11:10:09 +02:00
Perttu Ahola
9778347c7f mainly work on object scripting api 2011-02-23 02:49:57 +02:00
Perttu Ahola
eef7bc3570 removed an old comment 2011-02-23 00:07:07 +02:00
Perttu Ahola
b82d3f2744 Fixed insufficient error handling in narrow_to_wide, which caused a crash if the path of the userdata directory contained special characters that were not included in the used charset (which is used because of the font) 2011-02-23 00:06:45 +02:00
Perttu Ahola
62e7912577 some tidying 2011-02-21 16:50:05 +02:00
Perttu Ahola
69dbc046eb preliminary lua scripting framework for objects 2011-02-21 16:10:36 +02:00
Perttu Ahola
c57637b4c3 Temporary commit; lots of test code and stuff 2011-02-21 00:45:14 +02:00
Perttu Ahola
f5ff378dd0 video backend selection 2011-02-19 11:48:54 +02:00
Perttu Ahola
4c2b9ed516 random code cleaning, shouldn't affect anything 2011-02-18 22:25:25 +02:00
Perttu Ahola
74f4a0ece8 Set ambient light in inventory cube generation 2011-02-18 22:25:13 +02:00
Perttu Ahola
31572eaf8a removed duplicate "bmp" 2011-02-17 19:13:27 +02:00
Perttu Ahola
3264ac4390 Better texture handling. Textures are not added to atlas if they are big, and atlas is not further made after it is full. 2011-02-17 19:07:14 +02:00
Perttu Ahola
fb5ae9a7a5 Debug stacks will now be printed on Ctrl-C. Also client properly quits on Ctrl-C. 2011-02-16 22:54:07 +02:00
Perttu Ahola
741776313a fixed invalid block loading (the action is to generate a new one) 2011-02-16 22:53:35 +02:00
Perttu Ahola
92432a28c0 small fixes: crack texture, server build on windows, configuration file example, adding config file example to install 2011-02-16 20:03:31 +02:00
Perttu Ahola
ff6a348bb1 fixed slight error in server build 2011-02-15 22:27:10 +02:00
Perttu Ahola
a0e8f3afd3 might work good on cmake+msvc now 2011-02-15 20:53:29 +02:00
Perttu Ahola
95c88d258b still a little fix! 2011-02-15 16:14:02 +02:00
Perttu Ahola
40556f4b2d Fix for windows 2011-02-15 16:12:04 +02:00
Perttu Ahola
d065bae323 Ctrl+C handling on POSIX, some commands for server and other tweaking 2011-02-15 16:11:24 +02:00
Perttu Ahola
be7391c2b1 mud gets now grass onto it when placed into sunlight. also removed three old files 2011-02-15 12:33:59 +02:00
Perttu Ahola
f0e739b69e smgr->drop() is now used in tile.cpp 2011-02-15 12:19:33 +02:00
Perttu Ahola
2684e620b5 server now won't crash when it is tries to generate blocks that are not inside MAP_GENERATION_LIMIT 2011-02-15 01:02:31 +02:00
Perttu Ahola
9a58749347 fixed CMakeLists.txt syntax (removed additional ,) 2011-02-14 19:42:43 +02:00
Perttu Ahola
20a09d5ede new hotbar, more minecraft-like 2011-02-14 17:41:49 +02:00
Perttu Ahola
467f43d47c Some fiddling around with fog... not much changed 2011-02-14 16:13:03 +02:00
Perttu Ahola
7701753131 removed useless SMaterial parameter from mapblock 2011-02-14 16:12:38 +02:00
Perttu Ahola
d34c19f553 sneaking bug fixing 2011-02-14 16:11:28 +02:00
Perttu Ahola
607f548712 cube inventory texture rendering thing (not good yet) 2011-02-14 16:10:46 +02:00
Perttu Ahola
00810408a8 New way of determining the outcome of digging 2011-02-14 12:08:03 +02:00
Perttu Ahola
5573142a2b disabled jumping in sneak mode if far away from the edge because it can drop the player 2011-02-14 12:07:49 +02:00
Perttu Ahola
b1defb4def fixed bug in sneaking 2011-02-14 11:43:42 +02:00
Perttu Ahola
32a29489f3 players to not be saved when map saving is disabled (due to some error) 2011-02-14 11:10:44 +02:00
Perttu Ahola
14fafc7217 added sneaking/crouching and changelog 2011-02-14 02:54:15 +02:00
Perttu Ahola
0947c4cc48 tuned fog distance a bit 2011-02-13 16:04:21 +02:00
Perttu Ahola
80a2ee6d59 mapgen parameter tweaking 2011-02-13 15:25:00 +02:00
Perttu Ahola
0386279b6f changed sky color and made new style leaves a bit more bright 2011-02-13 14:21:31 +02:00
Perttu Ahola
3bb040043c hopefully a fix for the majority of the windows 7 problems - thanks to zerochen 2011-02-12 20:15:57 +02:00
Perttu Ahola
e9fe230381 Use random-generated fallback textures when real textures are not found 2011-02-12 14:01:23 +02:00
Perttu Ahola
cabe6f1d65 some fixes to make compiling on some bsd easier 2011-02-11 22:34:34 +02:00
Perttu Ahola
6f16c2e313 tiny fix 2011-02-11 21:12:32 +02:00
Perttu Ahola
cbef07a9f2 pauseMenu text change 2011-02-11 21:11:21 +02:00
Perttu Ahola
41f4caebcb disabled work wrap to show every line of chat in any case 2011-02-11 21:10:06 +02:00
Perttu Ahola
6e2cd15902 more stuff... 2011-02-11 20:55:28 +02:00
Perttu Ahola
21372749f5 now it works nicely 2011-02-11 20:37:54 +02:00
Perttu Ahola
52d99fef31 fully working i guess 2011-02-11 19:55:42 +02:00
Perttu Ahola
804b2647ce new texture stuff quite working 2011-02-11 16:43:26 +02:00
Perttu Ahola
841ac10e5c fixes toward mingw compatibility 2011-02-10 15:55:15 +02:00
Perttu Ahola
a7b158fada some texture stuff 2011-02-10 10:53:17 +02:00
Perttu Ahola
1704badc30 work-in-progress texture atlas optimization 2011-02-10 02:13:03 +02:00
Perttu Ahola
949383a2f7 uh... accidentally left directX as the default in main.cpp 2011-02-08 11:34:31 +02:00
Perttu Ahola
b0971f4459 local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported) 2011-02-08 11:24:07 +02:00
Perttu Ahola
15f27a1937 made it to work with my windows compiler 2011-02-08 10:11:26 +02:00
Perttu Ahola
dd9e82f5bc bug-fixin' 2011-02-08 01:12:55 +02:00
Perttu Ahola
25a7fabed8 mapgen tweaking 2011-02-06 16:35:27 +02:00
Perttu Ahola
ea2d03e468 added noise.* 2011-02-05 14:56:01 +02:00
Perttu Ahola
ea6740e900 mapgen stuff 2011-02-05 14:55:16 +02:00
Perttu Ahola
7f2aa30bf2 added sand to map generator 2011-02-04 14:32:30 +02:00
Perttu Ahola
6545ea12e9 nicer looking water 2011-02-04 01:48:52 +02:00
Perttu Ahola
102c5e31fe all kinds of tweaking and fixing 2011-02-04 01:22:07 +02:00
Perttu Ahola
24c1ea7103 water drawing glitch fix 2011-02-04 01:21:57 +02:00
Perttu Ahola
6bb9de3cc6 a little backwards compatibility with coal 2011-02-03 15:59:59 +02:00
Perttu Ahola
44ce9018dd added temporary backwards compatibility to player inventory 2011-02-03 15:45:53 +02:00
Perttu Ahola
71dbee43d0 some generation-time mud flow tweaking 2011-02-03 13:48:17 +02:00
Perttu Ahola
9b1b57a523 some tweaking 2011-02-02 18:46:14 +02:00
Perttu Ahola
a75876f248 more tweaking 2011-02-02 09:28:46 +02:00
Perttu Ahola
a5f109dafb Map generator tweaking. Still doesn't resume from save properly. 2011-02-01 23:59:46 +02:00
Perttu Ahola
3d6e71a7d0 end-of-day. 2011-02-01 20:28:21 +02:00
Perttu Ahola
6834b39c96 tweaking mapgenv2 settings for maximum awesomeness. 2011-02-01 17:42:39 +02:00
Perttu Ahola
39faa654bf one line of cleaning server code 2011-02-01 17:08:28 +02:00
Perttu Ahola
c957858bbb changed default minimum viewing range to a bit lower 2011-02-01 16:29:07 +02:00
Perttu Ahola
e92238edc8 This map generator is starting to look pretty good now... also, disabled loading player position from disk because map is regenerated always. 2011-02-01 16:17:55 +02:00
Perttu Ahola
6e196c2ce4 partly working chunk-based map generator (doesn't save properly, spawn is pretty random) 2011-02-01 03:06:02 +02:00
Perttu Ahola
be851871cd map generation framework under development... not quite operational at this point. 2011-01-30 01:44:54 +02:00
Perttu Ahola
8788fffec0 Commented out some debug output of class Settings 2011-01-29 00:56:53 +02:00
Perttu Ahola
a4179abb1b Fixed MBOItem inventory images 2011-01-29 00:53:30 +02:00
Perttu Ahola
80acdab93b Commented out some debug output about saving players on server. 2011-01-29 00:48:54 +02:00
Perttu Ahola
1c776c3df8 server builds now! 2011-01-28 02:11:44 +02:00
Perttu Ahola
364c961200 server might build now 2011-01-28 01:56:58 +02:00
Perttu Ahola
64b5975732 Now texture handling is fast. Also now players are saved on disk. 2011-01-28 01:38:16 +02:00
Perttu Ahola
bd100c5483 backing up some stuff 2011-01-26 17:13:19 +02:00
Perttu Ahola
adb7f248da comments 2011-01-26 01:30:36 +02:00
Perttu Ahola
a0f0517c5b should work now 2011-01-26 01:06:45 +02:00
Perttu Ahola
b456821680 Little fixes 2011-01-26 00:49:32 +02:00
Perttu Ahola
9f882bf74d Reworked texture, material, mineral and whatever handling 2011-01-26 00:41:06 +02:00
Perttu Ahola
035345f13d Map deletion button 2011-01-26 00:40:33 +02:00
Perttu Ahola
d3a6a12bae removed alternative name "pressure" from param2 2011-01-25 09:53:21 +02:00
Perttu Ahola
de3fdba568 Tweaking around 2011-01-25 09:30:49 +02:00
Perttu Ahola
39fbf15273 Fixed a bug of server not reloading unloaded blocks when player builds or digs on them. 2011-01-25 09:29:59 +02:00
Perttu Ahola
3909e712a0 Faster lighting at map generation time 2011-01-24 16:36:58 +02:00
Perttu Ahola
87554408ca forgot old water unit tests 2011-01-24 13:44:07 +02:00
Perttu Ahola
7274b82ef4 commented out old water stuff 2011-01-24 13:42:13 +02:00
Perttu Ahola
24e41ab4c8 Mainly some texture tweaking 2011-01-24 13:32:11 +02:00
Perttu Ahola
4a952f22d7 small fixes here and there 2011-01-24 01:58:15 +02:00
Perttu Ahola
f081924670 todo-list update 2011-01-23 17:33:19 +02:00
Perttu Ahola
c914cbb0a0 OMG! Main Menu! 2011-01-23 17:29:15 +02:00
Perttu Ahola
360e305849 Documentation updates. 2011-01-21 11:11:00 +02:00
Perttu Ahola
3ef2629e84 made old build system to work too. the cmake one doesn't make working binaries for some computers.
--HG--
rename : src/config.h.in => src/cmake_config.h.in
2011-01-18 15:05:29 +02:00
Perttu Ahola
515a480d0e now it works! 2011-01-18 00:45:07 +02:00
Perttu Ahola
a1b2cd550e tinkering 2011-01-18 00:38:23 +02:00
Perttu Ahola
b6787a2b58 fixed erroneus handling of many players with no peer existing at same time 2011-01-18 00:27:14 +02:00
Perttu Ahola
1986326731 fixed erroneus handling of many players with no peer existing at same time 2011-01-18 00:26:09 +02:00
Perttu Ahola
a35d8dabcf configuration updates; making to build on msvc 2011-01-17 23:35:09 +02:00
Perttu Ahola
7dc6b03f31 . 2011-01-17 21:18:08 +02:00
Perttu Ahola
d44abdab17 minecraft-style water done (but no texture animation or sound) 2011-01-17 21:15:31 +02:00
Perttu Ahola
0fa0e0752a old water removed, some fixes here and there 2011-01-17 14:57:37 +02:00
Perttu Ahola
bd26be262d commit before messing with water 2011-01-17 11:16:41 +02:00
Perttu Ahola
3891bc43e0 fine-tuning of map generator and server and stuff. 2011-01-17 02:40:53 +02:00
Perttu Ahola
7068bc90af Initial commit of mapgen v.2. Lacks configuration and saving to disk. 2011-01-16 19:32:14 +02:00
Perttu Ahola
69e7cd9b5b backing up working heightmap.{h,cpp} 2011-01-15 15:55:03 +02:00
Perttu Ahola
a176f9eb36 generate-time lighting optimization 2011-01-15 13:50:13 +02:00
Perttu Ahola
83e083a667 just backuppin' a working mapblock.cpp 2011-01-15 13:07:10 +02:00
Perttu Ahola
3fb0d2fb65 Players are left on server while server is running. No passwords yet. 2011-01-15 03:28:19 +02:00
Perttu Ahola
cfaa15895a tweaking around, including mapgen, player speed in water, settings 2011-01-15 01:26:29 +02:00
Perttu Ahola
023876dafb fixed data path in porting.cpp for normal linux builds to get data from /binary/dir/../share/APPNAME 2011-01-10 18:21:44 +02:00
Perttu Ahola
56918c0ca4 random build system tweaking 2011-01-09 17:28:31 +02:00
Perttu Ahola
359e575ba3 Mainly small build system fixes 2011-01-09 00:49:32 +02:00
Perttu Ahola
eb476f1ce2 Lots of small stuff 2011-01-08 19:35:14 +02:00