1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00
Commit graph

1633 commits

Author SHA1 Message Date
sapier
30f16ded7e Merge branch 'object_object_collision' into sapier_experimental 2012-02-07 17:04:32 +01:00
sapier
d9ffd30445 added changes missing in last commit 2012-02-07 17:01:04 +01:00
sapier
c525330153 Merge remote branch 'upstream_kahrl/collision_allow_stairs_v2' into object_object_collision 2012-02-07 16:57:36 +01:00
sapier
435ea846db move getCollisionBox from ActiveObject to interface class Collidableobject 2012-02-07 16:52:32 +01:00
Kahrl
34eabf4df0 Fix rail's selection box and tweak the logic that computes pointedthing.node_abovesurface -- you no longer can place torches above each other, or do similar placement with other nodes with non-full selection box. 2012-02-07 03:05:15 +01:00
sapier
413afa77d0 Merge branch 'object_object_collision' into sapier_experimental 2012-02-05 20:35:54 +01:00
sapier
ffe6025f61 Added object <-> object collision handling (player + luaentity support only) 2012-02-05 17:23:08 +01:00
sapier
f34f75291b disabled optimization for debug build to enable step by step debugging in gdb 2012-02-05 12:47:10 +01:00
sapier
8929a47296 Merge remote branch 'upstream_kahrl/collision_allow_stairs_v2' into object_object_collision 2012-02-05 12:41:01 +01:00
Kahrl
88cdd3a363 Players stay in environment even when dead, damage flash and fall damage fixes
Don't set m_removed on dead players (dead players are indicated by hp == 0). Local
damage flash is shown whatever the cause was (even from Lua set_hp). PlayerCAO
damage flash matches duration of local damage flash. Fall damage is dealt much more consistently (this is done by disallowing jumping when speed.Y is very negative, up to now jumping could sometimes negate fall damage)
2012-02-05 12:06:55 +02:00
Perttu Ahola
e15de8b70d Modify light values to work a bit better with non-smooth lighting 2012-02-05 12:02:40 +02:00
sapier
0947644729 added drawallfaces to luaentities 2012-02-04 18:08:25 +01:00
sapier
77df09540c Merge remote branch 'upstream/master' into sapier_experimental
Conflicts:
	src/scriptapi.cpp
2012-02-04 12:41:25 +01:00
Perttu Ahola
61016962ee Add groups = {} to item definition 2012-02-04 02:20:05 +02:00
Kahrl
6bf4931fc2 NDT_NODEBOX, collision code rewrite with step height, stairs mod -- rebased after itemdef 2012-02-02 19:20:52 +01:00
Perttu Ahola
a1eb2836c0 Set better visual light levels 2012-02-02 16:14:32 +02:00
Giuseppe Bilotta
64af6d3afe Fix some warnings on some compilers
ItemStack is a struct, not a class
CollisionInfo is a struct, not a class
InventoryAction is abstract and it needs a virtual destructor
2012-02-02 15:54:20 +02:00
Perttu Ahola
365f7a5bfe Merge remote-tracking branch 'kahrl/hidehud' 2012-02-02 14:35:18 +02:00
Kahrl
796009ef21 Fix server hang when stepping a furnace with a huge dtime 2012-02-02 12:50:11 +02:00
Kahrl
b85b4ede82 Page up/down: don't display the old value, it was a little confusing 2012-02-01 02:37:01 +01:00
Kahrl
2cb96d9d68 Page up and down change the minimum viewing range 2012-02-01 02:24:55 +01:00
Kahrl
78bf92175a Show the top line too when only chat, but not HUD is shown 2012-02-01 01:36:59 +01:00
Kahrl
0c3d39357b F1 toggles HUD, F2 toggles chat, F5 toggles debug info, F6 toggles profiler pages 2012-02-01 00:56:30 +01:00
Kahrl
0e8bd531c2 Fix craftresult_is_preview flood in log and remove unnecessary debug output 2012-01-25 20:18:20 +02:00
Perttu Ahola
24b1008d56 Remove unnecessary delays from large data transfer unit test 2012-01-24 12:50:10 +02:00
Perttu Ahola
a4340c330a Set default number of maximum users to 100 instead of 20 2012-01-24 12:02:40 +02:00
Perttu Ahola
2e8e9ee7f5 Add EnvRef:set_timeofday(0...1) and EnvRef:get_timeofday() 2012-01-24 12:01:59 +02:00
Perttu Ahola
cb05a28745 Call this 0.4.dev-20120122-1 2012-01-22 23:05:36 +02:00
Perttu Ahola
a387c9b95d Fix "illegal escape sequence" in MSVC (actually not illegal) 2012-01-22 22:00:29 +02:00
Kahrl
0a426f3592 Fix give_initial_stuff mod; experimental mod: dug_item -> drop; scriptapi.cpp: drops -> drop 2012-01-22 17:31:20 +02:00
Kahrl
00bc9a8678 tool and ToolItem apply item aliases 2012-01-22 17:31:20 +02:00
Kahrl
c241902b40 Cleanup (some stuff went wrong when reverting 4-byte mapnodes); fix legacy_wallmounted 2012-01-22 17:31:20 +02:00
Kahrl
4799a8f761 cleanup 2012-01-22 17:31:20 +02:00
Kahrl
02b334a679 Create node metadata when placing nodes again 2012-01-22 17:31:20 +02:00
Kahrl
b4dd5d3bd7 Client-side prediction of inventory changes, and some inventory menu fixes 2012-01-22 17:31:20 +02:00
Kahrl
1efdc36b22 Inventory menu (with dragging) improved. Crafting is now handled via a IACTION_CRAFT inventory action. 2012-01-22 17:31:12 +02:00
Kahrl
157a4cf18c Node placement / mineral / serialization / iron freq / node_dig callback
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
2012-01-22 17:24:50 +02:00
sapier
3454e67793 added new entity style irregular_cube 2012-01-15 20:30:26 +01:00
sapier
0c78767754 fixed invalid comment for plant mesh declaration 2012-01-15 20:28:39 +01:00
sapier
f0679969b2 added plantlike luaentity 2012-01-15 20:22:41 +01:00
sapier
285f5a0259 added lua command get_nodes_inside_radius 2012-01-15 20:09:55 +01:00
sapier
71186974fa fixed missing removal in static fix 2012-01-15 20:06:56 +01:00
sapier
525bc8855f added derived object to add linkable object support 2012-01-15 19:55:58 +01:00
sapier
de166e75a1 sao prototype global variables no longer depend on link order to be correctly added to factory 2012-01-15 19:43:31 +01:00
Kahrl
f22c73f501 Fix inventory glitch when connecting as new user 2012-01-14 11:05:24 +01:00
Kahrl
c920df748b Inventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit annoying (even in single player). 2012-01-13 12:35:55 +01:00
Kahrl
a58d725569 Tool progress bar tweaking 2012-01-12 08:47:17 +01:00
Kahrl
6a76c226e1 The huge item definition and item namespace unification patch (itemdef), see http://c55.me/minetest/wiki/doku.php?id=changes:itemdef 2012-01-12 06:10:39 +01:00
Perttu Ahola
569156b013 Call this 0.4.dev-20120106-1 2012-01-06 20:41:52 +02:00
Perttu Ahola
6d4bc012f0 Fix key change menu a bit 2012-01-06 19:50:40 +02:00