Commit Graph

1904 Commits

Author SHA1 Message Date
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
Perttu Ahola
340de48dbf continued. 2011-01-08 18:58:40 +02:00
Perttu Ahola
c3159160fa Fixed (maybe) segfault if font is not found 2011-01-08 18:57:21 +02:00
Perttu Ahola
769a86be19 more linker parameters 2011-01-08 18:24:32 +02:00
Perttu Ahola
d90a183b01 Fixed some missing linking to libraries 2011-01-08 18:21:22 +02:00
Perttu Ahola
d435dedb89 doc updates; CMake works reasonably well now. 2011-01-08 17:45:26 +02:00
Perttu Ahola
7862a6f68d forgot config.h.in 2011-01-08 17:35:41 +02:00
Perttu Ahola
9fbb0889a7 CMake stuff works now on linux and windows... and should be possible to make to work on OS X. 2011-01-08 17:34:25 +02:00
Perttu Ahola
426c206d7e Made dungeons a bit rarer 2011-01-08 14:08:48 +02:00
Perttu Ahola
d825ed572f CMake working on Linux (not on windows)
--HG--
rename : Makefile => Makefile.bak
2011-01-08 03:10:20 +02:00
Perttu Ahola
fcaa61de3c Fixed dedicated server build 2011-01-07 19:56:47 +02:00
Perttu Ahola
6b6c2d37ea Added a more flexible path system (and fixed some minor stuff) 2011-01-07 19:39:27 +02:00
Perttu Ahola
dc414091e7 removing unused code and comments 2011-01-07 14:54:55 +02:00
Perttu Ahola
2e40217793 updated main.cpp TODO comments 2011-01-07 14:53:53 +02:00
Perttu Ahola
ec509fac12 removed Client::isFetchingBlocks 2011-01-07 14:53:01 +02:00
Perttu Ahola
d38ac3aae3 removed boost support from filesys.cpp; default to posix 2011-01-07 14:52:27 +02:00
Perttu Ahola
c32bd982e3 possibly fixed broken crack textures on some machines 2010-12-29 21:53:42 +02:00
Perttu Ahola
bcd9813acc tuned expired mesh updating while drawing a bit 2010-12-29 18:14:14 +02:00
Perttu Ahola
6d4cd2ea1a A bit longer day and a bit shorter night. Client-side. 2010-12-29 15:26:47 +02:00
Perttu Ahola
a9dd12281f oops, forgot some test code in 2010-12-27 14:35:24 +02:00
Perttu Ahola
fa64103aa8 better debug output in segfaults and stack overflows in windows 2010-12-27 14:34:17 +02:00
Perttu Ahola
847a4227b8 better grass generation (integration to sunlight propagation algorithms) 2010-12-26 14:34:34 +02:00
Perttu Ahola
c32da52104 working good 2010-12-26 13:51:56 +02:00
Perttu Ahola
4ba5cd580d drawing range updater update and myrand() (but not usage of it) 2010-12-26 13:33:20 +02:00
Perttu Ahola
582af0cb21 new viewing range updater algorithm 2010-12-26 03:58:19 +02:00
Perttu Ahola
3cae2310f5 main.cpp before viewing range stuff redoing 2010-12-25 23:25:40 +02:00
Perttu Ahola
822621f792 some... stuff. dunno. 8-) 2010-12-25 23:23:53 +02:00
Perttu Ahola
07a759fdb8 better caves 2010-12-25 16:04:51 +02:00
Perttu Ahola
c37eb9b139 tinkering around 2010-12-25 11:27:14 +02:00
Perttu Ahola
5e0c426677 missing files 2010-12-25 03:34:27 +02:00
Perttu Ahola
9bf96faef2 more tinkering around 2010-12-25 03:34:13 +02:00
Perttu Ahola
c1e0d3e031 some tinkering around 2010-12-25 03:33:38 +02:00
Perttu Ahola
a5c62045ed slight map generation bugs 2010-12-25 02:48:17 +02:00
Perttu Ahola
3fe377be4e builds on both platforms 2010-12-25 02:33:41 +02:00
Perttu Ahola
699d0e9a5e minecraft-like crafting 2010-12-25 01:54:39 +02:00
Perttu Ahola
a26c92d7dd disconnect method to connection to be used instead of just timing out 2010-12-24 17:08:50 +02:00
Perttu Ahola
705de63dcd ProgressBarTextureMod 2010-12-24 11:44:26 +02:00
Perttu Ahola
8823af5d6b small segfault bug fix 2010-12-24 03:15:24 +02:00
Perttu Ahola
f15670379d base stuff for item->object conversion 2010-12-24 03:08:05 +02:00
Perttu Ahola
10b06419ab changes to handing of digging (non backwards-compatible i guess) 2010-12-23 22:35:53 +02:00
Perttu Ahola
61b5a35384 little tinkering 2010-12-23 17:32:21 +02:00
Perttu Ahola
7e490e7213 work-in-progress gui system updating + some settings system updating 2010-12-23 17:09:49 +02:00
Perttu Ahola
2816d8f638 redoing gui stuff 2010-12-23 15:31:50 +02:00
Perttu Ahola
a55850e4dc fixed crack animation timing in client 2010-12-23 12:10:46 +02:00
Perttu Ahola
03d67af9e8 a mutex added to TempMods which hopefully fixes rare segfaults on client 2010-12-23 10:29:09 +02:00
Perttu Ahola
71948dbf96 changed default time speed 2010-12-22 20:59:34 +02:00
Perttu Ahola
813b6a91b3 added fog to players 2010-12-22 20:47:17 +02:00
Perttu Ahola
2c645d5d8a fixed crafting bug 2010-12-22 19:00:48 +02:00
Perttu Ahola
58ccc68c81 server starting on port 0 on invalid settings 2010-12-22 17:58:02 +02:00
Perttu Ahola
3de176cc58 crafting system! 2010-12-22 16:30:23 +02:00
Perttu Ahola
2e41a5e304 just savin' 2010-12-22 11:29:06 +02:00
Perttu Ahola
4ec61b0ccd missing files 2010-12-22 03:34:21 +02:00
Perttu Ahola
b94a007864 some work-in-progress 2010-12-22 03:33:58 +02:00
Perttu Ahola
3f5bad938a organizing stuff. 2010-12-21 18:08:24 +02:00
Perttu Ahola
3b0bff2f74 Cracking blocks while digging 2010-12-21 02:25:47 +02:00
Perttu Ahola
d5a78c1253 added some missing files 2010-12-20 22:23:24 +02:00
Perttu Ahola
123e8fdf53 framework for modifying textures 2010-12-20 22:03:49 +02:00
Perttu Ahola
6350c5d7a6 some tinkering with gui. removed updating of configuration file at end 2010-12-20 14:59:21 +02:00
Perttu Ahola
5a36956f75 working time-of-day sending from server to client 2010-12-20 14:04:31 +02:00
Perttu Ahola
ab7477c4c3 added dedicated server build without irrlicht 2010-12-19 19:11:05 +02:00
Perttu Ahola
0ca9423b8b day/night working client side 2010-12-19 16:51:45 +02:00
Perttu Ahola
240499dc2c before daynight mesh cache 2010-12-18 17:46:00 +02:00
Perttu Ahola
15a43c5ed0 before adding day/night lighting
--HG--
rename : data/light.png => data/cloud.png
2010-12-18 13:10:37 +02:00
Perttu Ahola
385dd9917f settings manager: better default setting handling and updating config file and command line parsing 2010-12-14 15:16:49 +02:00
Perttu Ahola
f501cfd799 tinkering around 2010-12-14 13:14:43 +02:00
Perttu Ahola
be2c7dfb97 pausemenu stuff 2010-12-14 03:07:37 +02:00
Perttu Ahola
451f46f623 pause menu added 2010-12-14 03:07:13 +02:00
Perttu Ahola
c951ce3b7c little fixes 2010-12-14 02:24:00 +02:00
Perttu Ahola
8592a37efb added some missing files 2010-12-14 01:59:56 +02:00
Perttu Ahola
6129e31b96 better graphics, zlib to work on vc++ 2010-12-14 01:56:24 +02:00
Perttu Ahola
47f76d8a51 grass edges workin' 2010-12-14 00:29:32 +02:00
Perttu Ahola
626ed6338a in before messing with face drawing orientation 2010-12-14 00:21:18 +02:00
Perttu Ahola
3ac2abb0b5 commit before content-tile separation 2010-12-13 21:32:35 +02:00
Perttu Ahola
22037459e3 fixes for vc++ 2010-12-13 11:51:53 +02:00
Perttu Ahola
2b9d03b267 random stuff and different node lighting 2010-12-13 11:38:04 +02:00
Perttu Ahola
571fb14f94 working nicely 2010-12-13 03:19:12 +02:00
Perttu Ahola
47a593b519 starting to separate "material" to "content" and "tile" 2010-12-12 14:33:13 +02:00
Perttu Ahola
db49f37692 removed accidental double flowWater 2010-12-11 18:12:18 +02:00
Perttu Ahola
2a0d1a059e commit before some radicallish changes to water behavior 2010-12-11 18:11:03 +02:00
Perttu Ahola
5e0c284f3a some work-in-progress water stuff 2010-12-01 15:20:12 +02:00
Perttu Ahola
38353751c9 better water 2010-11-30 15:35:03 +02:00
Perttu Ahola
4a8973aeac doc update 2010-11-29 23:07:03 +02:00
Perttu Ahola
b22abef143 test 2010-11-29 21:28:14 +02:00
Perttu Ahola
fc26dcdb19 license stuff
--HG--
rename : src/licensecomment.txt => licensecomment.txt
2010-11-29 20:13:04 +02:00
Perttu Ahola
0604f3f2ee license stuff (more to come) 2010-11-29 20:05:30 +02:00
Perttu Ahola
c51fef56a8 default setting change, random tinkering 2010-11-29 19:55:41 +02:00
Perttu Ahola
d10627a77f Windows bug fixes 2010-11-29 17:55:07 +02:00
Perttu Ahola
d2090a32d8 plant amount fix and ravine amount setting 2010-11-29 14:17:46 +02:00
Perttu Ahola
a18525a14e fixed face updating slowness bug 2010-11-29 14:03:40 +02:00
Perttu Ahola
aaafb5add0 reversed meshbuffer cache 2010-11-29 13:04:03 +02:00
Perttu Ahola
3ad212c90b meshbuffer cache test. No much speed improvement. 2010-11-29 13:03:30 +02:00
Perttu Ahola
c18af6e728 - added map generating script
- dropped support for versions older than 2 because of lighting support
2010-11-29 12:16:17 +02:00
Perttu Ahola
b326e75baa constant size for array for vc 2010-11-29 11:01:18 +02:00
Perttu Ahola
af95cfc7a1 vokselijuttu lisätty 2010-11-29 10:57:05 +02:00
Perttu Ahola
c707e00195 sitä sun tätä tekeillä, toimii kivasti 2010-11-29 10:52:07 +02:00
Perttu Ahola
e8fd5eb8ee block send priority queue 2010-11-27 18:10:11 +02:00
Perttu Ahola
24c4b7c68d Working version before block send priorization update 2010-11-27 17:18:34 +02:00
Perttu Ahola
4e249fb3fb Initial files 2010-11-27 01:02:21 +02:00