oweals/minetest.git
12 years agoFix configuration file behaviour
Perttu Ahola [Sat, 10 Mar 2012 22:53:39 +0000 (00:53 +0200)]
Fix configuration file behaviour

- Do not rewrite if nothing needs to be changed
- Update at program exit, in addition to updating when continuing from main menu to game

12 years agoIncrease Peer max_packets_per_second (hopefully doesn't break anything)
Perttu Ahola [Sat, 10 Mar 2012 22:15:45 +0000 (00:15 +0200)]
Increase Peer max_packets_per_second (hopefully doesn't break anything)

12 years agoAdd description in minetest.conf.example
Perttu Ahola [Sat, 10 Mar 2012 21:54:45 +0000 (23:54 +0200)]
Add description in minetest.conf.example

12 years agoTune "Connecting to server" and "Waiting content" screens
Perttu Ahola [Sat, 10 Mar 2012 21:28:51 +0000 (23:28 +0200)]
Tune "Connecting to server" and "Waiting content" screens

12 years agoChat console, including a number of rebases and modifications.
Kahrl [Sat, 3 Dec 2011 08:01:14 +0000 (09:01 +0100)]
Chat console, including a number of rebases and modifications.

Defaults modified from original: alpha=200, key=F10

12 years agoStarting the game in the pause menu is lame, don't do it\!
Perttu Ahola [Sat, 10 Mar 2012 16:21:15 +0000 (18:21 +0200)]
Starting the game in the pause menu is lame, don't do it\!

12 years agoSet fixed FOV for the wielded item
Kahrl [Mon, 6 Feb 2012 22:12:33 +0000 (23:12 +0100)]
Set fixed FOV for the wielded item

12 years agoDifferent implementation of KeyPress::operator==
Kahrl [Mon, 12 Sep 2011 21:26:57 +0000 (23:26 +0200)]
Different implementation of KeyPress::operator==

Fixes some key mapping issues.

12 years agoMake Camera::updateViewingRange more snappy in following the min/max settings
Perttu Ahola [Sat, 10 Mar 2012 16:03:40 +0000 (18:03 +0200)]
Make Camera::updateViewingRange more snappy in following the min/max settings

12 years agoFaster player movement and smaller collision box
Perttu Ahola [Fri, 9 Mar 2012 18:50:20 +0000 (20:50 +0200)]
Faster player movement and smaller collision box

12 years agodig_immediate=2 -> 0.5 seconds digging time
Perttu Ahola [Sat, 10 Mar 2012 15:25:14 +0000 (17:25 +0200)]
dig_immediate=2 -> 0.5 seconds digging time

12 years agoSet rail to have dig_immediate=2
Perttu Ahola [Sat, 10 Mar 2012 15:23:36 +0000 (17:23 +0200)]
Set rail to have dig_immediate=2

12 years agoTidy up server log output a bit
Perttu Ahola [Sat, 10 Mar 2012 15:09:34 +0000 (17:09 +0200)]
Tidy up server log output a bit

12 years agoClean unit test output
Perttu Ahola [Sat, 10 Mar 2012 15:02:14 +0000 (17:02 +0200)]
Clean unit test output

12 years agoAdd and tidy up some Server log output for declined connections
Perttu Ahola [Sat, 10 Mar 2012 14:47:37 +0000 (16:47 +0200)]
Add and tidy up some Server log output for declined connections

12 years agoRemove servermain.cpp, use main.cpp with a couple of #ifdefs instead
Perttu Ahola [Sat, 10 Mar 2012 14:46:19 +0000 (16:46 +0200)]
Remove servermain.cpp, use main.cpp with a couple of #ifdefs instead

12 years agoFix addon and configuration file paths
Perttu Ahola [Sat, 10 Mar 2012 14:10:26 +0000 (16:10 +0200)]
Fix addon and configuration file paths

12 years agoInitial directory structure rework
Perttu Ahola [Sat, 10 Mar 2012 13:56:24 +0000 (15:56 +0200)]
Initial directory structure rework

12 years agoBan and Auth managers use infostream rather than dstream
Perttu Ahola [Sat, 10 Mar 2012 13:49:38 +0000 (15:49 +0200)]
Ban and Auth managers use infostream rather than dstream

12 years agoReplace dig_immediate=1 with dig_immediate=3 in mods/default/init.lua
Perttu Ahola [Sat, 10 Mar 2012 00:27:24 +0000 (02:27 +0200)]
Replace dig_immediate=1 with dig_immediate=3 in mods/default/init.lua

12 years agoAdd a small bunch of notes about groups in mods/default/init.lua
Perttu Ahola [Fri, 9 Mar 2012 23:57:59 +0000 (01:57 +0200)]
Add a small bunch of notes about groups in mods/default/init.lua

12 years agodig_immediate=3 instead of 1 means 0 seconds
Perttu Ahola [Fri, 9 Mar 2012 23:48:15 +0000 (01:48 +0200)]
dig_immediate=3 instead of 1 means 0 seconds

12 years agoUpdate mini documentation in mods/default/init.lua a bit
Perttu Ahola [Fri, 9 Mar 2012 23:46:05 +0000 (01:46 +0200)]
Update mini documentation in mods/default/init.lua a bit

12 years agoImmediate smoke puff when a normal entity is punched to death
Perttu Ahola [Fri, 9 Mar 2012 23:38:48 +0000 (01:38 +0200)]
Immediate smoke puff when a normal entity is punched to death

12 years agoFix and tune things, add tool "recharge" animation, add dummyball
Perttu Ahola [Fri, 9 Mar 2012 21:53:25 +0000 (23:53 +0200)]
Fix and tune things, add tool "recharge" animation, add dummyball

12 years agoSet proper armor group for experimental:tnt
Perttu Ahola [Fri, 9 Mar 2012 18:53:54 +0000 (20:53 +0200)]
Set proper armor group for experimental:tnt

12 years agoLuaEntity armor groups
Perttu Ahola [Fri, 9 Mar 2012 18:46:56 +0000 (20:46 +0200)]
LuaEntity armor groups

12 years agoClientActiveObject::debugInfoText()
Perttu Ahola [Fri, 9 Mar 2012 18:28:55 +0000 (20:28 +0200)]
ClientActiveObject::debugInfoText()

12 years agoRemove header in servermain.cpp to make minetestserver to build
Perttu Ahola [Fri, 9 Mar 2012 01:26:34 +0000 (03:26 +0200)]
Remove header in servermain.cpp to make minetestserver to build

12 years agoDamage groups WIP
Perttu Ahola [Sun, 4 Mar 2012 23:30:55 +0000 (01:30 +0200)]
Damage groups WIP

12 years agoEntity damage system WIP; Remove C++ mobs
Perttu Ahola [Sun, 4 Mar 2012 19:08:03 +0000 (21:08 +0200)]
Entity damage system WIP; Remove C++ mobs

12 years agoSmall fix in getHitParams
Perttu Ahola [Sun, 4 Mar 2012 14:29:04 +0000 (16:29 +0200)]
Small fix in getHitParams

12 years agoDon't draw cracks when digging is impossible
Perttu Ahola [Sun, 4 Mar 2012 14:21:35 +0000 (16:21 +0200)]
Don't draw cracks when digging is impossible

12 years agoitemgroup.h and ItemGroupList typedef
Perttu Ahola [Sun, 4 Mar 2012 12:22:35 +0000 (14:22 +0200)]
itemgroup.h and ItemGroupList typedef

12 years agoTune group digging time stuff a bit
Perttu Ahola [Sun, 4 Mar 2012 11:40:40 +0000 (13:40 +0200)]
Tune group digging time stuff a bit

12 years agoremove material from minetest.nodedef_default
Perttu Ahola [Wed, 29 Feb 2012 18:55:56 +0000 (20:55 +0200)]
remove material from minetest.nodedef_default

12 years agoDigging time groups WIP
Perttu Ahola [Tue, 28 Feb 2012 17:45:23 +0000 (19:45 +0200)]
Digging time groups WIP

12 years agoImprove raillike drawtype
Jeija [Sat, 3 Mar 2012 18:16:48 +0000 (19:16 +0100)]
Improve raillike drawtype

12 years agoHandle select errno EINTR properly (not doing this breaks at least many profilers)
Perttu Ahola [Thu, 8 Mar 2012 08:03:29 +0000 (10:03 +0200)]
Handle select errno EINTR properly (not doing this breaks at least many profilers)

12 years agoMove profiler measurements into inside of mutex locking for more useful results
Perttu Ahola [Wed, 7 Mar 2012 19:54:18 +0000 (21:54 +0200)]
Move profiler measurements into inside of mutex locking for more useful results

12 years agoAdd dedicated_server_step setting
Perttu Ahola [Wed, 7 Mar 2012 19:44:53 +0000 (21:44 +0200)]
Add dedicated_server_step setting

12 years agoMerge remote-tracking branch 'jn/random-fixes'
Perttu Ahola [Tue, 28 Feb 2012 19:47:15 +0000 (21:47 +0200)]
Merge remote-tracking branch 'jn/random-fixes'

12 years agoAdd UNIX man pages to aid package creators.
Juhani Numminen [Sun, 29 Jan 2012 09:53:39 +0000 (11:53 +0200)]
Add UNIX man pages to aid package creators.

12 years agoAdd descriptions to command line arguments
Juhani Numminen [Fri, 27 Jan 2012 12:56:45 +0000 (14:56 +0200)]
Add descriptions to command line arguments

12 years agoInstall icon and .desktop file on Unix systems
Juhani Numminen [Sun, 22 Jan 2012 08:19:06 +0000 (10:19 +0200)]
Install icon and .desktop file on Unix systems

12 years agoMerge pull request #46 from garrosh/master
celeron55 [Tue, 28 Feb 2012 18:44:40 +0000 (10:44 -0800)]
Merge pull request #46 from garrosh/master

Add *~ to .gitignore

12 years agoAdd minetest.get_worldpath() for getting location for custom data
Perttu Ahola [Tue, 28 Feb 2012 18:41:26 +0000 (20:41 +0200)]
Add minetest.get_worldpath() for getting location for custom data

12 years agoFix pointed.thing.ref -> pointed_thing.ref in builtin.lua
Perttu Ahola [Tue, 28 Feb 2012 17:55:24 +0000 (19:55 +0200)]
Fix pointed.thing.ref -> pointed_thing.ref in builtin.lua

12 years agoAdd descriptions to minetest.conf.example
Perttu Ahola [Mon, 27 Feb 2012 12:27:28 +0000 (14:27 +0200)]
Add descriptions to minetest.conf.example

12 years agoserver: /give: show the actual stackstring
Jonathan Neuschäfer [Sat, 11 Feb 2012 02:16:44 +0000 (03:16 +0100)]
server: /give: show the actual stackstring

12 years agocreative inventory: update to use default:fence_wood
Jonathan Neuschäfer [Thu, 16 Feb 2012 12:28:25 +0000 (13:28 +0100)]
creative inventory: update to use default:fence_wood

12 years agomesh: warn only once about render-to-target not being supported
Jonathan Neuschäfer [Wed, 8 Feb 2012 10:49:21 +0000 (11:49 +0100)]
mesh: warn only once about render-to-target not being supported

12 years agotile: remove redundant warning about failing render-to-target
Jonathan Neuschäfer [Wed, 8 Feb 2012 10:49:22 +0000 (11:49 +0100)]
tile: remove redundant warning about failing render-to-target

12 years agotile: don't duplicate std::string::find_last_of
Jonathan Neuschäfer [Wed, 8 Feb 2012 10:49:22 +0000 (11:49 +0100)]
tile: don't duplicate std::string::find_last_of

12 years agoitemdef: handle the !render-to-target case
Jonathan Neuschäfer [Wed, 8 Feb 2012 10:49:23 +0000 (11:49 +0100)]
itemdef: handle the !render-to-target case

12 years agoTune brightness stuff and fog color
Perttu Ahola [Fri, 3 Feb 2012 12:50:49 +0000 (14:50 +0200)]
Tune brightness stuff and fog color

12 years agoSet default maximum viewing range to a bit more than default server send range to...
Perttu Ahola [Fri, 3 Feb 2012 00:24:36 +0000 (02:24 +0200)]
Set default maximum viewing range to a bit more than default server send range to make fog work well

12 years agoFix calculating if block is in viewing range; fix fog and default minimum accordingly
Perttu Ahola [Mon, 6 Feb 2012 15:26:48 +0000 (17:26 +0200)]
Fix calculating if block is in viewing range; fix fog and default minimum accordingly

12 years agoPlayers stay in environment even when dead, damage flash and fall damage fixes
Kahrl [Mon, 23 Jan 2012 23:00:26 +0000 (00:00 +0100)]
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)

12 years agoModify light values to work a bit better with non-smooth lighting
Perttu Ahola [Sun, 5 Feb 2012 10:02:40 +0000 (12:02 +0200)]
Modify light values to work a bit better with non-smooth lighting

12 years agoAdd groups = {} to item definition
Perttu Ahola [Sat, 4 Feb 2012 00:20:05 +0000 (02:20 +0200)]
Add groups = {} to item definition

12 years agoSet better visual light levels
Perttu Ahola [Thu, 26 Jan 2012 17:57:21 +0000 (19:57 +0200)]
Set better visual light levels

12 years agoFix some warnings on some compilers
Giuseppe Bilotta [Mon, 23 Jan 2012 19:23:56 +0000 (20:23 +0100)]
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

12 years agoMerge remote-tracking branch 'kahrl/hidehud'
Perttu Ahola [Thu, 2 Feb 2012 12:35:18 +0000 (14:35 +0200)]
Merge remote-tracking branch 'kahrl/hidehud'

12 years agoFix server hang when stepping a furnace with a huge dtime
Kahrl [Tue, 31 Jan 2012 19:42:49 +0000 (20:42 +0100)]
Fix server hang when stepping a furnace with a huge dtime

12 years agoPage up/down: don't display the old value, it was a little confusing
Kahrl [Wed, 1 Feb 2012 01:37:01 +0000 (02:37 +0100)]
Page up/down: don't display the old value, it was a little confusing

12 years agoPage up and down change the minimum viewing range
Kahrl [Wed, 1 Feb 2012 01:24:55 +0000 (02:24 +0100)]
Page up and down change the minimum viewing range

12 years agoShow the top line too when only chat, but not HUD is shown
Kahrl [Wed, 1 Feb 2012 00:36:59 +0000 (01:36 +0100)]
Show the top line too when only chat, but not HUD is shown

12 years agoF1 toggles HUD, F2 toggles chat, F5 toggles debug info, F6 toggles profiler pages
Kahrl [Tue, 31 Jan 2012 23:56:30 +0000 (00:56 +0100)]
F1 toggles HUD, F2 toggles chat, F5 toggles debug info, F6 toggles profiler pages

12 years agoFix craftresult_is_preview flood in log and remove unnecessary debug output
Kahrl [Mon, 23 Jan 2012 14:28:57 +0000 (15:28 +0100)]
Fix craftresult_is_preview flood in log and remove unnecessary debug output

12 years agoAdded Kate backup file scheme to .gitignore for Kate users 46/head
Garrosh [Wed, 25 Jan 2012 03:38:00 +0000 (22:38 -0500)]
Added Kate backup file scheme to .gitignore for Kate users

12 years agoRemove unnecessary delays from large data transfer unit test
Perttu Ahola [Tue, 24 Jan 2012 10:50:10 +0000 (12:50 +0200)]
Remove unnecessary delays from large data transfer unit test

12 years agoSet default number of maximum users to 100 instead of 20
Perttu Ahola [Tue, 24 Jan 2012 10:02:40 +0000 (12:02 +0200)]
Set default number of maximum users to 100 instead of 20

12 years agoAdd EnvRef:set_timeofday(0...1) and EnvRef:get_timeofday()
Perttu Ahola [Tue, 24 Jan 2012 10:01:59 +0000 (12:01 +0200)]
Add EnvRef:set_timeofday(0...1) and EnvRef:get_timeofday()

12 years agoCall this 0.4.dev-20120122-1 0.4.dev-20120122-1
Perttu Ahola [Sun, 22 Jan 2012 21:05:36 +0000 (23:05 +0200)]
Call this 0.4.dev-20120122-1

12 years agoFix "illegal escape sequence" in MSVC (actually not illegal)
Perttu Ahola [Sun, 22 Jan 2012 18:40:14 +0000 (20:40 +0200)]
Fix "illegal escape sequence" in MSVC (actually not illegal)

12 years agoFix give_initial_stuff mod; experimental mod: dug_item -> drop; scriptapi.cpp: drops...
Kahrl [Sun, 22 Jan 2012 14:57:49 +0000 (15:57 +0100)]
Fix give_initial_stuff mod; experimental mod: dug_item -> drop; scriptapi.cpp: drops -> drop

12 years agotool and ToolItem apply item aliases
Kahrl [Sun, 22 Jan 2012 14:13:00 +0000 (15:13 +0100)]
tool and ToolItem apply item aliases

12 years agoCleanup (some stuff went wrong when reverting 4-byte mapnodes); fix legacy_wallmounted
Kahrl [Sun, 22 Jan 2012 13:55:55 +0000 (14:55 +0100)]
Cleanup (some stuff went wrong when reverting 4-byte mapnodes); fix legacy_wallmounted

12 years agocleanup
Kahrl [Sun, 22 Jan 2012 00:14:57 +0000 (01:14 +0100)]
cleanup

12 years agoCreate node metadata when placing nodes again
Kahrl [Sat, 21 Jan 2012 23:53:21 +0000 (00:53 +0100)]
Create node metadata when placing nodes again

12 years agoClient-side prediction of inventory changes, and some inventory menu fixes
Kahrl [Sat, 21 Jan 2012 23:49:02 +0000 (00:49 +0100)]
Client-side prediction of inventory changes, and some inventory menu fixes

12 years agoInventory menu (with dragging) improved. Crafting is now handled via a IACTION_CRAFT...
Kahrl [Sat, 21 Jan 2012 20:21:41 +0000 (21:21 +0100)]
Inventory menu (with dragging) improved. Crafting is now handled via a IACTION_CRAFT inventory action.

12 years agoNode placement / mineral / serialization / iron freq / node_dig callback
Kahrl [Fri, 20 Jan 2012 23:11:44 +0000 (00:11 +0100)]
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.

12 years agoFix inventory glitch when connecting as new user
Kahrl [Sat, 14 Jan 2012 10:05:24 +0000 (11:05 +0100)]
Fix inventory glitch when connecting as new user

12 years agoInventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit annoying...
Kahrl [Fri, 13 Jan 2012 11:35:55 +0000 (12:35 +0100)]
Inventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit annoying (even in single player).

12 years agoTool progress bar tweaking
Kahrl [Thu, 12 Jan 2012 07:47:17 +0000 (08:47 +0100)]
Tool progress bar tweaking

12 years agoThe huge item definition and item namespace unification patch (itemdef), see http...
Kahrl [Thu, 12 Jan 2012 05:10:39 +0000 (06:10 +0100)]
The huge item definition and item namespace unification patch (itemdef), see c55.me/minetest/wiki/doku.php?id=changes:itemdef

12 years agoCall this 0.4.dev-20120106-1 0.4.dev-20120106-1
Perttu Ahola [Fri, 6 Jan 2012 18:41:52 +0000 (20:41 +0200)]
Call this 0.4.dev-20120106-1

12 years agoFix key change menu a bit
Perttu Ahola [Fri, 6 Jan 2012 17:50:40 +0000 (19:50 +0200)]
Fix key change menu a bit

12 years agoObjectRef:setpos() to move player properly (a bit shortcuttish implementation)
Perttu Ahola [Fri, 6 Jan 2012 17:17:44 +0000 (19:17 +0200)]
ObjectRef:setpos() to move player properly (a bit shortcuttish implementation)

12 years agoImplement minetest.register_on_dieplayer()
Perttu Ahola [Thu, 5 Jan 2012 22:12:33 +0000 (00:12 +0200)]
Implement minetest.register_on_dieplayer()

12 years agoAdd missing checks to texture caching
Perttu Ahola [Tue, 3 Jan 2012 22:37:46 +0000 (00:37 +0200)]
Add missing checks to texture caching

12 years agoLimit range of ABM timer initial value randomization
Perttu Ahola [Tue, 3 Jan 2012 11:49:47 +0000 (13:49 +0200)]
Limit range of ABM timer initial value randomization

12 years agoUse free rather than delete for malloc'd memory
Perttu Ahola [Mon, 2 Jan 2012 19:42:33 +0000 (21:42 +0200)]
Use free rather than delete for malloc'd memory

12 years agoInitialize ABM timer to random value to spread processing
Perttu Ahola [Mon, 2 Jan 2012 19:06:38 +0000 (21:06 +0200)]
Initialize ABM timer to random value to spread processing

12 years agoFix ABM trigger chance being often way too high
Perttu Ahola [Mon, 2 Jan 2012 18:26:33 +0000 (20:26 +0200)]
Fix ABM trigger chance being often way too high

12 years agoFix server sending stuff before textures have been sent
Perttu Ahola [Mon, 2 Jan 2012 15:44:00 +0000 (17:44 +0200)]
Fix server sending stuff before textures have been sent

12 years agoMark ObjectRef::get_entity_name() deprecated
Perttu Ahola [Mon, 2 Jan 2012 15:33:03 +0000 (17:33 +0200)]
Mark ObjectRef::get_entity_name() deprecated

12 years agoAdd name field to registered entities
Perttu Ahola [Mon, 2 Jan 2012 14:26:40 +0000 (16:26 +0200)]
Add name field to registered entities