Perttu Ahola
|
3f153c20d3
|
Fixed error reported by cppcheck:
[./server.cpp:1327]: (error) Possible null pointer dereference: obj - otherwise it is redundant to check if obj is null at line 1332
|
2011-04-11 11:05:40 +03:00 |
|
Perttu Ahola
|
b0b5c43254
|
better support for old maps
|
2011-04-10 22:50:31 +03:00 |
|
Perttu Ahola
|
10eedbc1d2
|
Map generation is now properly threaded and doesn't block block placement and other stuff.
|
2011-04-10 20:18:34 +03:00 |
|
Perttu Ahola
|
6fa85c8502
|
a commit before starting to reorganize the map loading/generation logic
|
2011-04-10 19:12:56 +03:00 |
|
Perttu Ahola
|
5a4d8ffad3
|
implemented rats in new system to verify that it works
|
2011-04-10 15:16:27 +03:00 |
|
Perttu Ahola
|
08bbf96877
|
items now fall by gravity... also some other random updating
|
2011-04-10 12:34:12 +03:00 |
|
Perttu Ahola
|
fd7a0735c9
|
new object system
|
2011-04-10 04:15:10 +03:00 |
|
Perttu Ahola
|
4b54b291ae
|
Some progress on transitioning from MapBlockObject to ActiveObject.
|
2011-04-08 00:47:14 +03:00 |
|
Perttu Ahola
|
2dba606e12
|
stone shovel now needs cobble, not stone.
|
2011-04-06 22:28:51 +03:00 |
|
Perttu Ahola
|
3269fce795
|
Server: Only send node removal/addition to client if client's player is near it. Otherwise set the modified blocks unsent.
|
2011-04-06 11:02:39 +03:00 |
|
Perttu Ahola
|
89aa8b9be1
|
Furnace is now usable. Added more tools.
--HG--
rename : data/tool_stpick.png => data/tool_stonepick.png
rename : data/tool_wpick.png => data/tool_woodpick.png
|
2011-04-05 18:23:30 +03:00 |
|
Perttu Ahola
|
d1d57cf5c3
|
initial workings of the furnace
|
2011-04-05 02:56:29 +03:00 |
|
Perttu Ahola
|
389fe31ace
|
changed node metadata format to better accomodate future needs and problems
|
2011-04-05 00:24:47 +03:00 |
|
Perttu Ahola
|
042834b09d
|
Fixed chest contents not immediately updating to all players
|
2011-04-04 18:29:44 +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
|
fa736e138c
|
fully implemented the sign with the new framework
|
2011-04-04 05:12:33 +03:00 |
|
Perttu Ahola
|
01c2b003e1
|
commit before some more radical changes
|
2011-04-03 16:21:06 +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
|
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
|
c137946a3f
|
fixed server sending wrong position of node removal
|
2011-02-28 16:40:25 +02:00 |
|
Perttu Ahola
|
ad9e084e94
|
added trees (very glitchy) and changed grass texture
|
2011-02-28 02:48:31 +02:00 |
|
Perttu Ahola
|
c8be58a65c
|
A third try on terrain generation. No trees yet.
|
2011-02-28 02:01:40 +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
|
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
|
4c2b9ed516
|
random code cleaning, shouldn't affect anything
|
2011-02-18 22:25:25 +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
|
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
|
00810408a8
|
New way of determining the outcome of digging
|
2011-02-14 12:08:03 +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
|
1704badc30
|
work-in-progress texture atlas optimization
|
2011-02-10 02:13:03 +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
|
ea6740e900
|
mapgen stuff
|
2011-02-05 14:55:16 +02:00 |
|
Perttu Ahola
|
9b1b57a523
|
some tweaking
|
2011-02-02 18:46:14 +02:00 |
|
Perttu Ahola
|
3d6e71a7d0
|
end-of-day.
|
2011-02-01 20:28:21 +02:00 |
|
Perttu Ahola
|
39faa654bf
|
one line of cleaning server code
|
2011-02-01 17:08:28 +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
|
64b5975732
|
Now texture handling is fast. Also now players are saved on disk.
|
2011-01-28 01:38:16 +02:00 |
|
Perttu Ahola
|
9f882bf74d
|
Reworked texture, material, mineral and whatever handling
|
2011-01-26 00:41:06 +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 |
|