sapier
251e3e01c7
Add support for setting stepheight for entities
2013-07-30 19:48:02 +02:00
PilzAdam
ff7c380d0e
Fix warnings in mapblock.cpp
2013-07-28 23:34:58 +02:00
PilzAdam
4fb4efd8ed
Play sounds/main_menu.ogg in menu
2013-07-28 23:29:03 +02:00
proller
174285f298
Warnings fix
2013-07-29 00:11:33 +04:00
proller
037e84d377
Better snow fall, finite liquid transform, leveled nodes api
2013-07-28 17:14:31 +04:00
proller
3aedfac968
Weather support
2013-07-27 23:21:48 +04:00
proller
e65d8ad655
Dont announce server in singleplayer
2013-07-27 17:51:34 +04:00
BlockMen
a59f85c1a0
Add support of pressed_texture of image_button
...
Fix params number
Add pressed texture name
Fix string def
Fix syntax error
2013-07-24 01:02:43 +02:00
BlockMen
8e2467c393
Add gettext translation for image_button
2013-07-24 01:01:56 +02:00
proller
3629a90c2e
Cosmetic player info changes
2013-07-24 02:41:03 +04:00
PilzAdam
0b4b9e7f3a
Fix modstore URLs
2013-07-22 22:26:48 +02:00
PilzAdam
a38f8d9900
Disable gamemanager by default
2013-07-22 18:16:36 +02:00
sapier
b3db44f801
Fix bug in world creation
...
Add old style mod selection in worldconfig dialog
2013-07-22 18:10:00 +02:00
sapier
07fb257c04
Use user folder for gamemanager too
2013-07-22 18:10:00 +02:00
sapier
8beb0f19d1
Enable mod and gamemanager by default
2013-07-22 18:10:00 +02:00
sapier
32001d1e2b
merge mainmenu_helper.lua to misc_helpers.lua
2013-07-22 18:10:00 +02:00
sapier
5160be91ae
Add configurable curl timeout
2013-07-22 18:09:59 +02:00
sapier
d6c052038f
Add playernumber to favorites list
2013-07-22 18:09:59 +02:00
sapier
5c7ecdb7c5
Add support for modstore screenshots
...
Add error output on invalid mmdb entries
2013-07-22 18:09:59 +02:00
RealBadAngel
0850d3fcf8
Fix light issue in 6d facedir.
2013-07-21 14:06:18 +02:00
PilzAdam
46d1d70e4c
Bump protocol version
2013-07-20 21:25:21 +02:00
PilzAdam
8cae659786
Add an option to disable object <-> object collision for Lua entities
2013-07-20 20:43:11 +02:00
PilzAdam
413f0d0353
Add liquid_range to nodedef
2013-07-20 20:41:17 +02:00
PilzAdam
cba90d4441
Make range of tools configureable
2013-07-20 20:37:59 +02:00
RealBadAngel
d19c8b815d
Add set_breath and get_breath to lua API.
2013-07-20 20:34:11 +02:00
PilzAdam
ab145c8827
Randomly choose singleplayer port
2013-07-16 02:02:56 +02:00
PilzAdam
ecb024af64
Fix lighting bug caused by disappearing lava
2013-07-16 01:51:04 +02:00
PilzAdam
4e5a45952a
Remove support for common mods
2013-07-16 01:46:59 +02:00
Kahrl
112dbba7c4
Change ContentFeatures array to a vector
2013-07-14 23:06:31 +02:00
proller
9733dd5b5e
Leveled nodebox
2013-07-13 22:13:24 +04:00
sapier
494fa0c81a
Remove lots of debug output from modmgr
...
Fix RUN_IN_PLACE=0 mod install (now mods are saved in user folder in that case)
Fix text of field element not unescaped correctly
2013-07-12 22:46:27 +02:00
proller
ac7a44792c
Masterserver mods announse, ipv6, better curl errors
2013-07-13 00:19:05 +04:00
kwolekr
fc6725f14e
Clean up bumpmap code a bit
2013-07-12 00:11:46 -04:00
PilzAdam
320a00e7c6
Disallow the name 'singleplayer' in a multiplayer server
2013-07-12 02:15:09 +02:00
stujones11
e8f201cefa
Fix multiple texture support for animated meshnodes
2013-07-10 00:22:21 +02:00
sapier
1c7c5d571d
Fix serverlist
2013-07-09 22:55:39 +02:00
PilzAdam
c8bd2ae11c
Dont play digging sound if not digging
2013-07-09 02:42:05 +02:00
kwolekr
e1a13608d8
Revert "Fix serverlist not beeing escaped correctly"
...
This reverts commit 39d03148e5d98ef5f9a31b131a79ff2bbd71a877.
2013-07-08 20:21:09 -04:00
sapier
39d03148e5
Fix serverlist not beeing escaped correctly
...
Always use address for server
Fix first (empty) element beeing selected after deleting last world
2013-07-08 19:58:17 -04:00
sapier
f419f66546
fix crash on play/start with empty world list
...
make enter button work in create world dialog
2013-07-08 19:58:03 -04:00
kwolekr
fca4610f11
Fix wallmounted rotations along Y axis for 90 and 270 degree cases
2013-07-08 18:50:29 -04:00
kwolekr
ce955f37ba
Decoration: Handle facedir and wallmounted param2types with schematic rotation
2013-07-08 15:19:48 -04:00
PilzAdam
6bc3a43d52
Settings: everything != 0 equals true; remove .asm shaders
2013-07-08 01:58:49 +02:00
sapier
88d43af276
Fix many formspec menu bugs
2013-07-07 19:49:52 -04:00
Sfan5
7e73b7cae9
Fix parseColor, change remaining colorkeys to new format, fix Contributor list
2013-07-07 19:59:18 +02:00
Kahrl
b3001bcd6e
When server sends late media, log to errorstream instead of crashing.
...
Do a check for valid num_files before doing
assert(!m_mesh_update_thread.IsRunning());
In particular, don't execute the assertion if all media has already
been received.
2013-07-07 08:35:25 +02:00
Vincent Heuken
39ab22070e
include mathconstants.h in numerics.cpp
2013-07-07 01:52:43 -04:00
kwolekr
d22baa88ed
BiomeDefManager: Fully initialize default biome
2013-07-06 15:28:59 -04:00
kwolekr
65874c25db
Mapgen V7: Fix out-of-bounds array access
2013-07-06 15:22:51 -04:00
kwolekr
06266abd6e
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
2013-07-06 15:12:40 -04:00
kwolekr
55ecde665d
Decoration: Remove usage of multi-character constants
2013-07-06 15:03:54 -04:00
Sfan5
307c57dcc4
Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor
2013-07-06 10:32:58 +02:00
kwolekr
18d7bc7fa1
Mapgen V7: Huge rewrite, also tweaks to cavegen et al.
2013-07-06 02:21:54 -04:00
Kahrl
3607fae75a
Fix possible NULL dereference in createExtrudedMesh
2013-07-06 06:16:51 +02:00
Kahrl
922a30ee47
Don't rebuild the dummy shader (less SourceShaderCache warning spam)
...
Also write something about rebuilding shaders to infostream in
Client::afterContentReceived()
2013-07-05 04:24:05 +02:00
proller
92833a07d1
Improve finite liquid distribution, fix small bug
2013-07-05 00:11:11 +04:00
Kahrl
a013f762c4
Throw exception instead of assert on nested reliable packets
...
Fixes a denial of service vulnerability, issue #784
2013-07-04 06:18:50 +02:00
RealBadAngel
3f6f327cb9
Add texture bumpmapping feature.
2013-07-04 02:36:32 +02:00
Kahrl
b850f0f038
Whoever called a function parameter m_device is fired without notice.
2013-07-03 20:33:54 +02:00
kwolekr
a225efaec5
Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index
2013-07-03 01:25:26 -04:00
kwolekr
ad4c065344
Change debug optimization level back to -O1
2013-07-02 21:48:18 -04:00
Kahrl
8f1d5d34a6
Move generateTextureFromMesh to TextureSource to fix a texture leak
...
TextureSource has a list of textures to delete (m_texture_trash) so this
provides a proper, non-hacky way to delete RTT textures. Also, the prior,
hacky way of deleting them seems to be broken (see pull request #803 ).
To avoid header file clutter by repeating the same long list of
arguments over and over again, store the arguments of
generateTextureFromMesh in a struct called TextureFromMeshParams.
Also fix issue #782 (Only use bilinear (and others) on item textures
when settings allow it).
2013-07-03 03:24:28 +02:00
sapier
b1ef850877
Fix possible 0 pointer access
2013-07-02 20:01:48 -04:00
sapier
967121a34b
Replace C++ mainmenu by formspec powered one
2013-07-02 19:58:20 -04:00
kwolekr
fe4ce03d52
Cavegen: Prevent caves from occuring above ground level, and superfluous mixing of lava and water in caves
2013-07-01 21:20:03 -04:00
Kahrl
8161ab573f
Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture
2013-07-02 03:03:10 +02:00
arsdragonfly
4bbb78a99b
Fix i18n of some strings.
2013-07-02 00:13:50 +00:00
kwolekr
dd6d1afd8e
Decoration: Add schematic rotation support
2013-07-01 18:04:51 -04:00
proller
131eb56f52
Disable collision fix, its broke unit tests
2013-07-01 00:26:54 +04:00
proller
37ca8854f7
Fix sand, gravel falling stuck
2013-06-30 22:48:51 +04:00
kwolekr
067888d549
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates
2013-06-29 22:23:00 -04:00
proller
848c3fe51a
Optimize liquid queue on generate map for liquid_finite
2013-06-30 01:29:21 +04:00
kwolekr
9126823c7e
Make generated water a shade darker to match up with older versions
2013-06-28 22:22:44 -04:00
PilzAdam
280946ba83
Dont write player files all the time
2013-06-28 14:15:48 +00:00
kwolekr
9e100bc42b
Apply various fixes to several things
2013-06-27 22:35:35 -04:00
kwolekr
6b3169e4d0
LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map
2013-06-27 22:35:35 -04:00
kwolekr
2e292b67a0
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API
2013-06-27 22:35:35 -04:00
kwolekr
18882a4d26
Add Lua PerlinNoiseMap:get#dMap_flat API
2013-06-27 22:35:35 -04:00
kwolekr
8aa930f28e
Add minetest.get_mapgen_object to API
2013-06-27 22:35:35 -04:00
kwolekr
2c0b51795e
Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug
2013-06-27 22:35:35 -04:00
kwolekr
d6ac3d8d9a
Add LuaVoxelManip
2013-06-27 22:35:35 -04:00
proller
e47f6fdfe9
Fix ipv6 on windows
2013-06-24 20:13:56 +04:00
kwolekr
30d6d4c733
Cavegen: fix division by 0 with abnormal max tunnel diameter sizes
2013-06-23 15:16:52 -04:00
proller
f764297be2
Math mapgen fix, ip show on connect, pathfinder segfault fix
2013-06-23 20:35:16 +04:00
proller
75b8c13b00
New math mapgen with fractal based worlds
2013-06-23 18:07:10 +04:00
proller
f960c3be31
Add support for IPv6
...
Two new configuration options are added:
- "enable_ipv6" to enable/disable the overall use of IPv6
- "ipv6_server" to enable/disable the use of IPv6 sockets when running
a server (when "enable_ipv6" is enabled)
2013-06-23 11:31:22 +04:00
kwolekr
309c5f3641
Decoration: Add support for zero probability, fix breakage from last commit
2013-06-22 20:49:01 -04:00
PilzAdam
130464c268
Print playername when failing to read playerfile and ignore files starting with .
2013-06-22 21:39:47 +00:00
kwolekr
4d77781ce7
A handful of minor fixes to various things
2013-06-22 17:27:48 -04:00
kwolekr
c1b829077a
Decoration: Add Schematic decoration type
2013-06-22 01:11:52 -04:00
PilzAdam
b1ebd9f79c
Add a setting for max loop count per step in liquid update
2013-06-20 22:31:46 +00:00
Kahrl
c2cdaceed0
Make minetest.debug accept multiple parameters; convert them to string
2013-06-21 00:04:18 +02:00
PilzAdam
81c8b404e7
Play placing sound only if place prediction was successful
2013-06-19 21:42:12 +00:00
PilzAdam
9b6f1d647c
Dont dig or place nodes if interact priv is missing (clientside)
2013-06-19 21:42:12 +00:00
PilzAdam
53066024f6
Add drowning
2013-06-19 15:47:00 +00:00
kwolekr
f18b4872ea
Decoration: Place decorations in mgv6, check if air or cignore before placement
2013-06-17 21:59:57 -04:00
Kahrl
261f559339
Show number of objects in client environment in profiler (F6)
2013-06-18 01:49:06 +02:00
Kahrl
d74c377337
Formspec: Don't perform black magic if selected item fits the guess
2013-06-18 01:32:11 +02:00
Kahrl
c8ed61b281
Fix calculation of selected item (for not drawing it) in formspec
...
The previous code did not work when the list did not start at index 0
of the inventory list (issue #779 ).
2013-06-18 01:18:54 +02:00
Esteban I. Ruiz Moreno
816ffa99ba
Remove useless recalculation of bounding box (mapblock_mesh)
2013-06-18 01:11:46 +02:00
kwolekr
0b20768a24
Decoration, Ore: Resolve node names on Mapgen init
2013-06-17 18:51:29 -04:00
kwolekr
56093b6614
Decoration: Change divlen to sidelen
2013-06-17 18:23:31 -04:00
kwolekr
0a8519a26f
Add initial Decoration support, many misc. improvements & modifications
2013-06-17 03:21:36 -04:00
Kahrl
eccd1fdbed
Extend a delay in TestConnection from 50 to 100 milliseconds.
...
The 50 ms delay causes frequent test failures on certain systems with
slow network stacks, these failures go away with the 100 ms variant.
2013-06-17 02:09:50 +02:00
Kahrl
b5918760fb
Tweak IDropAction restriction handling in server.cpp
2013-06-16 17:01:21 +02:00
Kahrl
4405310184
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
2013-06-16 14:07:12 +02:00
sweetbomber
0413f8ad9d
Removed a redundant step which degraded performance
2013-06-15 21:41:30 +04:00
Esteban I. Ruiz Moreno
93dfc3ec70
Add basic unicode support to the console (linux workaround)
2013-06-15 15:09:11 +00:00
PilzAdam
7a58c1d4ca
Reset dig_time when switching to a tool that cant dig the current node
2013-06-13 13:34:48 +00:00
Kahrl
21d6b39fd7
Enable word wrapping in profiler IGUIStaticText (freetype needs this)
2013-06-13 14:32:53 +02:00
PilzAdam
2cdf0ff4ab
Play player_damage.ogg when recieving damage and additionally play player_falling_damage.ogg when recieving falling damage
2013-06-12 20:27:06 +00:00
Kahrl
773471750d
Fix class/struct forward declaration inconsistencies (good on ya, MSVC)
2013-06-06 22:57:38 +02:00
PilzAdam
bfa608b85e
Revert "Fix multiple texture support for animated meshnodes." (broke existing models)
...
This reverts commit 649dca4d16786ed4e5b74878f56b86dea4f02542.
2013-06-06 17:13:41 +00:00
Esteban I. Ruiz Moreno
7cb5217255
Close console when it loses focus but it is still on screen
2013-06-05 21:14:14 +02:00
Kahrl
4f6bec19bc
Only add ^[forcesingle to get raw texture if atlas is used
2013-06-04 07:44:19 +02:00
stujones11
649dca4d16
Fix multiple texture support for animated meshnodes.
2013-06-03 23:31:08 +02:00
sweetbomber
601ab85226
Corrected segfault when registering new biomes.
2013-06-03 20:35:51 +02:00
Kahrl
e988df0fbd
Add and implement setting max_clearobjects_extra_loaded_blocks.
...
Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
2013-06-03 20:09:32 +02:00
Kahrl
b89c79e905
Delay deleting replaced textures (m_texture_trash)
2013-06-03 15:50:14 +02:00
Kahrl
9fe74a34ea
Call m_menumgr->deletingMenu from quitMenu in addition to destructor
...
This fixes the bug where noMenuActive() keeps returning false after
closing a menu until the mouse is moved, rendering the keyboard
unusable (the_game calls input->clear() every frame when
noMenuActive() is false).
2013-06-03 15:25:48 +02:00
sapier
c25102a4f7
Fix missing find_path and line_of_sight
2013-06-01 15:07:43 +02:00
MetaDucky
c893958bb1
Fix some nullptr exceptions when handling invalid node inventories
2013-06-01 14:45:43 +02:00
MetaDucky
64627817fc
Fix minetest.get_inventory(loc) always returning nil for "node" type loc
2013-06-01 12:15:11 +02:00
MetaDucky
a61aa6690b
Fix editbox default text being pre-selected in some cases
2013-06-01 01:59:48 +02:00
Kahrl
7721948a2f
Generate debug HUD text with ostringstream instead of snprintf.
...
This should fix #730 .
2013-06-01 01:50:08 +02:00
proller
6b2c46c431
Liquid adjusting: continue to drop
2013-05-31 22:59:09 +04:00
sapier
efc75db764
Bugfix: Update formname on showing new formspec while already one shown
2013-05-26 01:45:46 +02:00
MetaDucky
f62ddf9022
Fixed wrongly named invref:get_location() table members for nodes.
...
Makes the result compatible with the minetest.get_inventory(location) param.
2013-05-26 00:35:11 +02:00
Kahrl
96fe1de832
Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAM
2013-05-26 00:23:33 +02:00
sapier
e464f19356
Fix itemstack:add item not working correct
2013-05-25 19:23:10 +02:00
sapier
ab43377577
Move scriptapi to separate folder (by sapier)
...
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.
Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
PilzAdam
865f380c91
Predict param2 of facedir nodes and attachment of attached_node nodes
2013-05-24 02:10:03 +02:00
Jeija
3abbe7efd1
Make raillike nodes connect to any other raillike nodes if both are in the group connect_to_raillike
2013-05-22 15:08:24 +02:00
PilzAdam
7f6e9e9540
Fix disappearing of wielditem
2013-05-21 20:16:22 +02:00
Kahrl
4a9fe1a1d5
Log non-fatal mod name conflict to actionstream instead of errorstream
2013-05-21 14:56:43 +02:00
PilzAdam
e57dc4ef18
Dont animate changing wielditem from hand to hand
2013-05-20 20:31:38 +02:00
MetaDucky
5e80df46b8
Fix typo in particle spawning
2013-05-20 16:24:07 +02:00
elagin
c135e9c7d4
Save settings after dropping main menu
2013-05-20 16:03:48 +02:00
ShadowNinja
127c488355
Use the group "soil" for nodes that saplings grow on
2013-05-20 13:43:13 +02:00
kwolekr
981c6c9bf2
Fix lava damage on player's upper body
2013-05-19 21:29:49 -04:00
kwolekr
d00e8bd31a
Fix nearly all warnings
2013-05-19 21:26:56 -04:00
sapier
55a97f4605
Allow nil as puncher e.g. to do damage by tnt
2013-05-20 01:18:45 +02:00
PilzAdam
3e2efdf18a
Add a little animation when changing the wielded item
2013-05-20 01:09:41 +02:00
PilzAdam
bc66f46323
Dont teleport back if holding sneak when detaching/turn freemove off
2013-05-19 20:56:58 +02:00
Kahrl
cc92e45b78
Fix EmergeThread names in log
...
Concatenate the thread id as string instead of adding it to the pointer
2013-05-19 19:58:01 +02:00
PilzAdam
b2253e5b42
Write mods that are not in world.mt into it at world startup
2013-05-19 19:52:29 +02:00
PilzAdam
dcd0b63f64
Dont load mods that have no entry in world.mt
2013-05-19 19:46:50 +02:00
kwolekr
93474c4218
Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParams
2013-05-19 12:22:20 -04:00
kwolekr
f577facf79
Fix regression of world loading caused by 81c863ac
2013-05-19 12:07:00 -04:00
PilzAdam
45fcc9de29
New modsystem
...
Mods are placed in $path_<user/share>/mods
They can be enabled per world in world.mt or the configure world window
2013-05-19 02:15:36 +02:00
PilzAdam
714ecc5e27
Only create SoundManager in main menu if USE_SOUND is true
2013-05-18 13:01:47 +02:00
PilzAdam
9397b5de08
Fix memory leak in MeshUpdateThread
2013-05-18 01:52:18 +02:00
Aaron Suen
1369503aba
Fix math for isBlockInSight. Fixes #718 (client-side).
2013-05-18 00:13:01 +02:00
PilzAdam
fedf644635
Move kahrl to core devs in credits tab
2013-05-17 23:15:10 +02:00
PilzAdam
587e7b299b
Dont drop fonts with ENABLE_FREETYPE=0
2013-05-16 02:20:10 +02:00
PilzAdam
d5ca3b721e
Fix memory leak in run_tests()
2013-05-14 12:29:30 +02:00
Esteban I. Ruiz Moreno
822723c246
Add mouse_sensitivity option
2013-05-13 17:39:16 +02:00
Zeg9
bda62bd3bf
Add progress bar to item visuals preloading
2013-05-13 17:08:51 +02:00
PilzAdam
efc9329033
Only use game filter in singleplayer tab; use menu_{background, overlay, header, footer}.png for other tabs
2013-05-13 17:06:08 +02:00
Kahrl
2c09e8a84c
Fix double free in createExtrudedMesh, reported by ptitSeb
2013-05-12 06:28:33 +02:00
RealBadAngel
9575b0a2a8
Add code to play main_menu.ogg in main menu
2013-05-11 15:39:38 +02:00
Aaron Suen
6911a7d279
Clear custom player HUDs when emerging players. Fixes #711 .
2013-05-10 19:25:50 -04:00
PilzAdam
5068cb40ce
Fix memory leak: remove InventoryAction after sending and applying
2013-05-11 00:12:14 +02:00
PilzAdam
e5781b5e34
Fix memory leaks: delete font in main and GUIChatConsole
2013-05-10 22:35:17 +02:00
PilzAdam
782d06be46
Fix memory leak by dropping sky
2013-05-10 19:12:24 +02:00
Zeg9
81c863ac4d
Add clouds to all loading screens and better progress handling
2013-05-10 15:04:21 +02:00
sapier
d859ad7ed7
Fix gettext memory leaks
2013-05-10 11:31:00 +02:00
sapier
ee1155fe6d
Really fix itemdef memory leak
2013-05-09 17:08:23 +02:00
Kahrl
3b1c3ac678
Add --videomodes option to show available video modes
2013-05-09 16:30:04 +02:00
Kahrl
3332f606ed
Drop IrrlichtDevice when running --speedtests
2013-05-09 16:18:26 +02:00
Kahrl
f00cee75c1
Fix world selection a bit (also fixes a main menu segfault)
2013-05-08 20:54:03 +02:00
Zeg9
0913287578
Add progress bar and clouds to loading screen
2013-05-08 20:26:43 +02:00
PilzAdam
7b41f54411
Update default controls in README and pause menu
2013-05-07 14:48:20 +02:00
Brent Hull
03ab6aa24c
Fix shader license headers to be LGPL
2013-05-06 19:09:08 +02:00
Kahrl
9a559eb8cf
Remove 'Meshbuffer ran out of indices' limitation
2013-05-06 19:06:18 +02:00
sapier
58f036ad1d
fix static data not beeing stored correctly on deactivation
2013-05-06 19:05:44 +02:00
Perttu Ahola
a888b232fe
Add header.png and footer.png support for games, and support texture packs via <gameid>_menu_<background/overlay/header/footer>.png
2013-05-04 10:05:12 +03:00
Sfan5
b88aa81da7
Fix favorite Server List on Windows
2013-05-04 07:31:22 +02:00
PilzAdam
8d5b400d09
Fix documentation for HUD commands in protocol
2013-05-04 01:04:09 +02:00
Kahrl
969d2b3eb1
Optional dependencies and properly handle mod name conflicts again
2013-05-03 23:58:22 +02:00
ShadowNinja
a031a15487
Don't predict placement of nodes if they would replace a non buildable_to node
2013-05-03 17:03:25 +02:00
Kahrl
777ac58f85
Predict wallmounted param2 during node placement prediction.
...
Also clean up the_game a bit: move node placement prediction to a
separate function.
2013-05-03 17:03:25 +02:00
Kahrl
be4cc306a5
Server: force block send of pointed_pos_under after predicted node place
2013-05-03 17:03:25 +02:00
PilzAdam
0deb68d81c
Use DIR_DELIM instead of / in file paths
2013-05-02 23:08:59 +02:00
PilzAdam
b75505e6b2
Show game name instead of game ID of selected game
2013-05-02 20:05:07 +02:00
Perttu Ahola
ee8067f7cf
Switch menu to game selected in world creation dialog
2013-05-02 20:59:52 +03:00
Perttu Ahola
2cf76f6f1b
Pre-select current game in world creation dialog
2013-05-02 19:43:47 +03:00
Perttu Ahola
2708482f1b
Filter worlds by selected game
2013-05-02 19:43:47 +03:00
Perttu Ahola
084be3599a
Get menu background image from selected game
2013-05-02 19:43:47 +03:00
PilzAdam
d07000ed1d
Move sfan5 to core devs
2013-05-01 15:47:14 +02:00
kwolekr
c824abd7b2
Fix itemdef drop on NULL texture
2013-04-28 21:07:09 -04:00
kwolekr
8767c78169
Enhance caves for mgv7, add ravines
2013-04-27 22:40:52 -04:00
kwolekr
0fb9567f13
Minor hud.cpp cleanup
2013-04-25 20:56:12 -04:00
Esteban I. Ruiz Moreno
43a388ec53
Ability to change the crosshair using textures
2013-04-25 20:07:46 -04:00
kwolekr
d3f0ce6224
Generalize hud_builtin_enable into hud_set_flags
2013-04-25 19:37:36 -04:00
proller
d83602d98e
Tune finite liquids, indev huge caves
2013-04-25 22:59:32 +04:00
Zeg9
c33b993397
Fix serverlist on -DRUN_IN_PLACE=0 (use path_user instead of path_share)
2013-04-25 19:49:28 +02:00
sapier
88ffb3f73b
Move player collisionbox to player class
2013-04-25 18:53:50 +02:00
PilzAdam
386108f982
kahrl is back
2013-04-25 18:32:49 +02:00
Perttu Ahola
bc3072b35e
Fix compatibility of RBA's NDT_GLASSLIKE_FRAMED
2013-04-25 11:51:28 +03:00
sapier
e9a4e98cb9
Improve getFree*ActiveObjectId to reduce common case cpu usage drasticaly
2013-04-24 21:59:09 -04:00
RealBadAngel
625a4c2e66
Add new drawtype GLASSLIKE_FRAMED
2013-04-24 21:45:18 -04:00
Diego Martínez
e703c5b81f
Added support to disable built-in HUD elements
2013-04-24 17:28:00 +03:00
Diego Martínez
33dd267fd9
Fixes possible crash when using hud_change with "align" or "offset"
2013-04-23 23:18:05 -04:00
RealBadAngel
a699bdb7a1
Fix to: addUpdateMeshTaskWithEdge
...
Check in all 6 directions instead of just 3.
2013-04-23 22:30:09 -04:00
kwolekr
770305e28d
Add option to use texture alpha channel
2013-04-23 22:15:51 -04:00
Perttu Ahola
36747794ab
Disable fall bobbing by default; enable using fall_bobbing_amount = 1.0
2013-04-23 23:19:36 +03:00
PilzAdam
c03c296dc7
Grow dirt_with_snow instead of dirt_with_grass if snow is above it
2013-04-23 19:02:41 +02:00
ShadowNinja
4a9b8aae5e
Add minetest.get_player_ip()
2013-04-23 09:57:45 +03:00
ShadowNinja
3d4d0cb574
Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player()
2013-04-23 09:47:08 +03:00
Diego Martínez
9894167bbf
Added offset support for HUD items
2013-04-23 09:34:11 +03:00
Diego Martínez
7c37b1891a
Added support for alignment in HUD items
2013-04-23 09:34:10 +03:00
kwolekr
37e6d1356b
mgv7: Implement getGroundLevelAtPoint(), fix layer of topnodes at chunk Y boundaries, remove growGrass()
2013-04-21 15:47:13 -04:00
kwolekr
daddd37706
Fix findSpawnPos()
2013-04-21 15:39:34 -04:00
kwolekr
14ba94ad6a
Fix hud_change stat argument retrieval
2013-04-21 12:55:46 -04:00
kwolekr
03868ff8e1
Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapgen V7
2013-04-21 01:06:19 -04:00
kwolekr
527deb947c
Add direction parameter to statbars in HUD API
...
Fix health bar overlap when a larger texture is used
2013-04-20 00:22:12 -04:00
kwolekr
666aae3593
Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modification
2013-04-18 02:19:31 -04:00
Jonathon Anderson
49f6e347f0
Lua HUD
2013-04-18 02:14:33 -04:00
kwolekr
ce901f4c4c
Fix double free, null texture drop
2013-04-12 17:20:05 -04:00
MirceaKitsune
7cd5eb4c77
Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with.
2013-04-11 19:42:47 -04:00
RealBadAngel
e7f5cdf9d4
Bugfixes to get_craft_recipe and get_all_craft_recipes.
...
Improvements to get_all_craft_recipes (see api doc)
2013-04-10 22:33:59 -04:00
sapier
dda2071cc0
fix bug in scriptapi line_of_sight
...
fix warnings for pathfinder debug traces
2013-04-10 16:50:24 -04:00
sapier
6e4fdf37ba
fix objects colliding with its own collision boxes
2013-04-09 23:16:13 +02:00
sapier
7d002b60ff
fix emergemanager memory leaks
2013-04-09 02:34:11 -04:00
sapier
04c3b17c78
fix various memory leaks
2013-04-09 02:23:07 -04:00
sapier
58fd39de35
fix extruded items texture leak
2013-04-09 02:14:52 -04:00
RealBadAngel
9449026839
Use system wide LuaJIT if aviable.
2013-04-08 22:10:00 +02:00
sapier
e7247c1a66
fix memory leak on sound shutdown
2013-04-07 23:43:34 -04:00
sapier
0d26bb36af
fix memory leak in loadMedia
2013-04-07 23:40:33 -04:00
sapier
10502b59bc
addon extended resource accounting
2013-04-07 23:38:22 -04:00
sapier
abe74ea5ea
fix inventory image texture leak
2013-04-07 22:54:00 -04:00
sapier
98182f6097
fix memory leaks introduced by invalid gettext usage
2013-04-07 22:50:53 -04:00
sapier
cd27c8ef5d
replace Server smart pointer with conventional one to gain control over dtor call order
2013-04-07 22:42:36 -04:00
sapier
2bdff11d54
fix memory leak on shader shutdown
2013-04-07 22:30:29 -04:00
sapier
7a32698312
fix memory leak in itemdef
...
cleanup useless code
2013-04-07 22:20:01 -04:00
sapier
5743ef4e64
fix huge texture leak in tiledef
...
fix minor glitches too
2013-04-07 22:17:58 -04:00
sapier
3b684d306c
fix 3d model mesh leak
2013-04-07 21:51:35 -04:00
sapier
e1146396bc
fix mesh leak in camera class
2013-04-07 21:49:55 -04:00
kwolekr
7c0e707cf1
Add param2 field for ores, some minor fixes and misc. code cleanup
2013-04-07 21:21:54 -04:00
kwolekr
96e2931c5c
Fix black tree leaves, reduce above-ground cave shadows
2013-04-07 02:26:46 -04:00
kwolekr
5961106f9f
Fix crash on creating map with invalid mg_name
2013-04-07 01:50:20 -04:00
kwolekr
fbf76184f0
Revert "Fix to be able to build from dir different than source dir"
...
This commit broke RUN_IN_PLACE
2013-04-07 01:30:06 -04:00
kwolekr
8ec3fc35c6
Add Mapgen V7, reorganize biomes
2013-04-07 00:50:21 -04:00
proller
d50b2ede92
Adjusting water removing above unloaded blocks
2013-04-07 00:05:39 +04:00
kwolekr
453d79e3a2
Don't re-write entire map_meta.txt if a setting is missing
2013-04-06 13:36:51 -04:00
Diego Martínez
046534e14b
Fix to be able to build from dir different than source dir
2013-04-06 12:31:12 -04:00
proller
120f02e20b
Don't flow finite liquid into an unloaded chunk
2013-04-06 12:09:59 -04:00
sapier
becd8c03fd
fix memory leak
2013-04-06 12:00:36 -04:00
sapier
69367aa799
Add Dijkstra A* and A* without prefetching pathfind algorithms
2013-04-06 11:24:03 -04:00
khonkhortisan
1586cdac53
unkn own block -> unkn own node
2013-04-05 15:57:39 +02:00
MirceaKitsune
e38d65f8d1
Dont allow fast move in water or ladder when aux1_descend is true
2013-04-05 14:58:35 +02:00
PilzAdam
b0e6806077
Fix nick completion
2013-04-05 02:31:58 +02:00
MirceaKitsune
c5a8448c41
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
2013-04-05 02:00:59 +02:00
ShadowNinja
2a0badf2d5
Check if the address field is empty when hitting enter on the multiplayer tab
2013-04-03 23:33:17 +02:00
Esteban I. Ruiz Moreno
6b8435cf8c
Limit speed in collisionMoveResult for avoiding hangs
2013-04-03 23:29:51 +02:00
Zeg9
c1bf6f9f7a
Fix camera "jumping" when attached and the parent goes too fast
2013-04-03 23:22:40 +02:00
kwolekr
8d4b768297
Add Ore generation flags, implement ore absolute height
2013-03-31 20:02:03 -04:00
kwolekr
35ed5198fe
Increase value range of Ore::clust_scarcity
2013-03-31 12:26:25 -04:00
ShadowNinja
7d3b3890b5
Add a small optimization to the menu splash and remove a old comment
2013-03-30 22:02:46 -04:00
khonkhortisan
96387ee88a
Don't load menu textures every frame
2013-03-30 21:52:13 -04:00
kwolekr
c517215bcf
Fix MapgenV6::generateCaves possible division by 0 and misc. cosmetic fixes
2013-03-30 21:24:37 -04:00
kwolekr
414f0275cf
Optimize CNodeDefManager::getIds
2013-03-30 19:14:42 -04:00
PilzAdam
1aa50b1362
Make the textbox for serverlist title wider
2013-03-30 18:56:29 +01:00
PilzAdam
e17ae475cf
GUI: Make singleplayer default tab, store selected serverlist, show title of serverlist
2013-03-30 18:34:36 +01:00
kwolekr
6cf581e360
Fix build on Linux with some glibcs
2013-03-29 21:12:14 -04:00
proller
16c11eb4a3
Masterserver: report gameid, uptime, cosmetic fixes on server web page
2013-03-30 02:03:24 +04:00
kwolekr
df49b93877
Add varying levels of precision to TimeTaker
2013-03-29 16:53:15 -04:00
PilzAdam
5e7e0347cd
Add different place sound for nodes
2013-03-29 20:14:18 +01:00
PilzAdam
7d9329ecfe
New damage system, add damageGroups to ToolCapabilities, bump protocol version
2013-03-29 20:14:09 +01:00
kwolekr
3640c8c051
Update Credits tab
2013-03-29 14:43:47 -04:00
kwolekr
5b854f95d2
Fix last singlenode modification
2013-03-29 13:18:09 -04:00
kwolekr
b0f39da131
Don't replace existing nodes in singlenode mapgen
2013-03-29 11:15:49 -04:00
kwolekr
d01b74d00a
Prevent infinite loop with invalid Inventory format
2013-03-27 23:27:31 -04:00
sapier
8800896824
Closed add object <-> object collision handling
2013-03-28 00:09:24 +01:00
kwolekr
26cad481d0
Vary ore sheet y position by noise
2013-03-24 22:35:23 -04:00
kwolekr
8d13967aa3
Ensure ore can fit in OreSheet::generate()
2013-03-24 20:19:59 -04:00
kwolekr
0e07a7157f
Add more error checking to l_register_ore
2013-03-24 15:40:53 -04:00
kwolekr
57cbb8bfd8
Add Ore infrastructure and l_register_ore()
2013-03-24 13:23:33 -04:00
proller
f70378f7f5
Mapgen indev: float islands, larger far biomes
2013-03-24 03:40:15 +04:00
Jeija
e1ff5b1361
Allow spawning particles from the server, from lua
...
Spawn single particles or make use of ParticleSpawner for many randomly spawned particles.
Accessible in Lua using minetest.spawn_particle and minetest.add_particlespawner.
Increase Protocol Version to 17.
Conflicts:
src/clientserver.h
2013-03-23 23:16:29 +01:00
PilzAdam
ab57fdac44
Move rightclickable to the proper place
2013-03-23 23:15:30 +01:00
Jürgen Doser
dacc8cdb3a
Include backface_culling flag in serialization format for TileDefs
...
This way flowing liquids actually show the backface when specified to
do so. Without this, TileDefs where by default initialized with
backface_culling = true and never set otherwise.
For backwards compatibility, an old client connected to a new server,
or a new client connected to an old server will behave like before
i.e., backface_culling is always true.
2013-03-23 23:10:47 +01:00
Mukul Sati
ca7043e52d
Set of changes to build mineTest using Visual Studio 11.0. These affect
...
the following:
1. String concatenation in guiMainMenu.cpp - it is required for all
individual strings to be of the same type <unicode/non-unicode>; adding
explicit L qualifier before the other strings.
2. Correcting type of BlockMakeData to struct in place of class forward
declarations. This information is used for name decoration by Visual
Studio, leading to linker errors in case of mismatches.
3. Windows headers define max as a macro somewhere, leading to a compile
time error in profiler.h; using () around function to prevent macro match
from occurring.
2013-03-24 00:53:10 +04:00
RealBadAngel
6f8d40ef5d
6d facedir
2013-03-23 21:31:05 +01:00
proller
f98d0433f9
Random guest name and finite liquid checkbox
2013-03-23 19:17:08 +04:00
Perttu Ahola
34b185e955
Add singlenode mapgen; generates solely the node 'mapgen_singlenode', defaults to air
2013-03-22 19:16:51 +02:00
Perttu Ahola
c2250d95c4
Support game-specific minetest.conf
2013-03-21 22:22:15 +02:00
Perttu Ahola
306d1ab866
Common mods support
...
Implement "common mods", includeable from
{$user,$share}/games/common/$modname
by using the game.conf setting
common_mods = $modname,$modname2,...
2013-03-21 18:56:42 +02:00
kwolekr
8f0d29f931
Fix Map::initBlockMake to actually use chunksize setting
2013-03-18 22:19:02 -04:00
kwolekr
939397dd6e
Add jungle grass to jungles
2013-03-17 23:08:11 -04:00
Ilya Zhuravlev
d207d359d1
Don't erase modified_blocks
2013-03-17 21:17:13 +04:00
ShadowNinja
5f88cd98ad
Add FPS limit to menu clouds
2013-03-17 12:13:48 -04:00
RealBadAngel
7f51b2da28
lua methods set_look_pitch and set_look_yaw
2013-03-17 11:39:35 -04:00
PilzAdam
c00c8832c6
Fix new_style_water
2013-03-17 11:28:43 -04:00
proller
10c03e1a9d
build with ogles2 driver
2013-03-16 22:37:50 -04:00
kwolekr
67228160ae
Some minor cleanups from the last commit
2013-03-16 22:34:12 -04:00
proller
165498cecf
initial mapgen indev version with farscale feature and huge caves
2013-03-16 21:48:32 -04:00
kwolekr
e3badd7062
Make saplings only grow on dirt or grass, make jungle tree trunks only replace air
2013-03-16 19:55:29 -04:00
kwolekr
6823ce99a7
Re-add jungles, apple trees
2013-03-16 17:06:11 -04:00
kwolekr
1f1ad9fd23
Optimize Mapgen::updateLighting(), add setLighting()
2013-03-15 23:04:50 -04:00
proller
f5ab056b38
Liquid fine tuning
2013-03-14 17:06:25 -04:00
kwolekr
16c031be77
Remove 'tape and glue', update Credits tab
2013-03-14 16:46:42 -04:00
ShadowNinja
350596b94f
Add cloud menu background by Krisi, configurable with the menu_clouds option.
...
Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers.
And finally don't git-ignore textures/base/.
2013-03-13 21:18:40 -04:00
sapier
66750dc88e
fix typo invalid for loop end
2013-03-13 19:42:05 -04:00
kwolekr
d10223254a
Clean up Mapgen
2013-03-11 21:32:52 -04:00
sapier
eb90c3d92d
Move l_get_all_craft_recipes to scriptapi_craft
2013-03-11 19:27:13 -04:00
Ilya Zhuravlev
6a1670dbc3
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
kwolekr
650e932ddf
Re-add dungeons in new dungeongen.cpp
2013-03-10 00:42:51 -05:00
kwolekr
b9512cab1b
Fix Irrlicht includes in scriptapi_*
2013-03-06 17:04:44 -05:00
proller
dd8593f2d6
fix link if system json lib exists
2013-03-05 23:54:07 -05:00
RealBadAngel
5af8acfa6e
Added method to get all registered recipes for item(node)
2013-03-05 23:32:33 -05:00
kwolekr
ba78194636
Allow any character in formspec strings with escape char
2013-03-05 23:25:02 -05:00
sapier
bdbdeab005
split scriptapi.cpp
...
Remerge some files in order to reduce number of additional files
Make necessary changes for split, rename files, reorganize some bits
2013-03-05 00:59:49 -05:00
Ilya Zhuravlev
5917e86297
Add one more curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
2013-03-03 00:02:00 +04:00
Ilya Zhuravlev
fceb465fc9
Fix "longjmp causes uninitialized stack frame" (serverlist.cpp)
2013-03-01 17:02:54 +04:00
kwolekr
7caa28a6aa
Change default settings for log level, texture atlas, document new settings
2013-02-27 19:59:05 -05:00
PilzAdam
0183bdad04
Fix nodeplacement prediction
2013-02-27 20:23:32 +01:00
kwolekr
d31f07bd4b
Fix most warnings, re-fix MSVC compile error
2013-02-26 01:57:59 -05:00
kwolekr
979ca23f1e
Merge pull request #482 from proller/liquid
...
finite liquid
2013-02-25 20:52:24 -08:00
kwolekr
9b5f182642
Remove dead code, relocate some code
2013-02-25 23:11:12 -05:00
kwolekr
f00d136ab1
Fix selection of # threads, set default to 1 thread
2013-02-25 23:11:00 -05:00
kwolekr
28c50c16cd
Fix build on Windows
2013-02-25 23:10:54 -05:00
kwolekr
5bd50a2d90
Fix most walled-off caves
2013-02-25 23:08:55 -05:00
kwolekr
60e6284f30
Tune queue limits, some other adjustments
2013-02-25 23:08:41 -05:00
kwolekr
67c59645ec
Misc. cleanup and minor fixes
2013-02-25 23:08:33 -05:00
kwolekr
5ec5b1cbd6
Add multi-Emerge thread support
2013-02-25 23:08:26 -05:00
kwolekr
76217939e0
Add emerge queue limit configuration
2013-02-25 22:59:17 -05:00
kwolekr
206ec36c8e
Fix EmergeThread hang on exit
2013-02-25 22:58:24 -05:00
kwolekr
3b7a445cd7
Add global and per-peer queue limits
2013-02-25 22:58:11 -05:00
kwolekr
b9d8e59bbf
Add emerge.cpp, initial EmergeThread changes
...
- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue. Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
2013-02-25 22:56:18 -05:00
Sfan5
6d0ea26c2d
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
497ff1ecd6
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
proller
b90e431fc7
new adjustable finite liquid
2013-02-24 18:39:07 +04:00
RealBadAngel
f0d70d4e86
Add seed parameter for default and L-system trees
2013-02-24 02:26:25 +01:00
kwolekr
6b9906687b
Merge pull request #503 from RealBadAngel/master
...
Add sound volume controls to ingame menu
2013-02-23 15:58:00 -08:00
PilzAdam
bc2e9dbaf2
Read server_announce from minetest.conf for GUI
2013-02-23 22:48:02 +01:00
RealBadAngel
4d73d99ebc
Add sound volume controls to ingame menu
2013-02-23 16:01:35 +01:00
kwolekr
f9a8efb992
Merge pull request #431 from sapier/dtime_clamping
...
add limit for (collision handling) steps to avoid runaway memory consumption
2013-02-22 16:42:50 -08:00
kwolekr
7f240aea1e
Added debug log level setting
2013-02-21 22:35:04 -05:00
Ilya Zhuravlev
c19fc00b04
Fix json include
2013-02-22 02:41:59 +04:00
proller
ee07c3f7cf
new auto masterserver
2013-02-22 02:04:53 +04:00
Jürgen Doser
89b88917a8
Print missing mod dependencies on server start
...
i.e., not only the mod with missing dependencies, but also the missing
dependencies itself. (This already used to be the case before the mod
selection gui was added)
Also, mods with unsatisfied dependencies are no longer reported as
mods that could not be found.
2013-02-20 20:06:39 +01:00
Jeija
365c169b43
Disable placement prediction for nodes that use on_rightclick
2013-02-19 20:02:40 +01:00
kwolekr
8d920dd09b
Merge pull request #465 from doserj/mod_selection_empty_modname_fix
...
Remove use of operator[] on a std::map, so no spurious elements get inse...
2013-02-15 17:45:32 -08:00
Perttu Ahola
c88d89d26e
Some kind of middleway values for player acceleration for now
2013-02-15 23:18:19 +02:00
Perttu Ahola
4035bf3259
Restore old acceleration behavior until something is actually agreed on (part 2)
2013-02-15 22:47:23 +02:00
Perttu Ahola
65cb318cd9
Restore old acceleration behavior until something is actually agreed on
2013-02-15 22:25:23 +02:00
Ilya Zhuravlev
30b9a4d6b4
Add Freetype support
2013-02-14 18:46:08 +01:00
MirceaKitsune
df3c925b3c
Improved Player Physics
2013-02-14 06:21:30 +10:00
Dmitry Marakasov
8e69b9cb26
Server requires gettext library as well
2013-02-12 20:27:50 +01:00
PilzAdam
9f1ae4084d
Enable multiline signs
2013-02-12 19:37:25 +01:00
PilzAdam
2c362badd4
Dont remove grass under unloaded blocks
2013-02-10 12:52:59 +01:00
Jürgen Doser
6b1420a58a
Disable backface culling for drawtype plantlike and only draw 2 faces instead of 4
...
This way, plants actually show the real backface on their back side,
i.e., the front face mirrored around the vertical axis, instead of
showing the front face on both sides. This looked weird when the
texture was not symmetrical around the vertical axis.
2013-02-10 12:45:25 +01:00
ShadowNinja
1cda39d5bb
Don't fall off nodes if sneaking with free_move on but without fly privileges
2013-02-10 12:35:04 +01:00
ShadowNinja
32552fede5
Don't see through nodes without noclip privileges
2013-02-10 12:29:46 +01:00
Ilya Zhuravlev
86b33c4922
Fix compile error (MSVC2010).
2013-02-07 16:17:55 +04:00
kwolekr
97260d09a8
Add flag string settings, flat map option
2013-02-06 16:52:48 -05:00
kwolekr
f148ae58c3
Fix assertion condition in initializePaths()
2013-02-06 01:13:19 -05:00
kwolekr
bd55b9cc0f
Don't write control character to verbosestream
2013-02-06 01:12:56 -05:00
kwolekr
77dbad72f7
Fix and improve noise map functions
2013-02-06 01:12:36 -05:00
kwolekr
75fe948bf7
Add Perlin noise map Lua API
2013-02-06 01:11:56 -05:00
kwolekr
a73905401a
Improve random map seed generation
2013-02-06 01:10:37 -05:00
Jürgen Doser
9ebf1fd3b7
Remove use of operator[] on a std::map, so no spurious elements get inserted. ( fixes #464 )
...
All uses of operator[] in guiConfigureWorld.cpp have been replaced
with .find() operations.
In some places, operator[] had been called with mod names of "Add-Ons"
or "N/A", which would insert a default-constructed ModSpec into the
list of add-on mods. In other places, the use of operator[] was safe
now, but it probably is safer for future changes to use .find()
everywhere.
2013-02-01 15:50:33 +01:00
PilzAdam
33cb3d713c
Translate key functions in key change menu
2013-01-30 20:27:26 +01:00
kwolekr
12472a44d4
Merge pull request #442 from kwolekr/mingw_compile_fix
...
Fix compile under MingW
2013-01-29 13:07:47 -08:00
kwolekr
cbbb6447bf
Merge pull request #441 from kwolekr/mapgen_factories
...
Make mapgen factory setup more elegant, add mapgen_v6.h
2013-01-29 13:05:56 -08:00
Jeija
c1fee78e85
Place block when holding sneak while right-clicking nodes with formspec
2013-01-28 00:44:42 +04:00
kwolekr
bcc0ca93d4
Merge pull request #447 from sapier/add_lua_log_parameter_check
...
BUGFIX: check parameters for minetest.log lua function
2013-01-26 10:58:53 -08:00
sapier
eb2a8fe8b8
check parameters for minetest.log lua function
2013-01-26 10:32:08 +00:00
kwolekr
9d69b38583
Slightly improved version of mystrtok_r
2013-01-23 17:37:53 -05:00
kwolekr
69ba485415
Fix compile under MingW
2013-01-23 16:28:15 -05:00
kwolekr
91e88196c7
Make mapgen factory setup more elegant, add mapgen_v6.h
2013-01-23 16:16:49 -05:00
RealBadAngel
1163fdfa11
Treegen update. Some new symbols. Speed up code a bit.
2013-01-23 20:40:09 +02:00
Jürgen Doser
f099861245
Make sure that settings are written to config file when settings are removed.
...
Previously, settings where only written when a value has changed, and
removal of a setting value didn't count as a change.
2013-01-22 19:05:46 +01:00
Jürgen Doser
f214940c96
Fix crash when pressing delete button in server browser and no server is selected.
...
A check for that was there, but was comparing an unsigned variable to
-1, which doesn't work.
2013-01-22 19:05:46 +01:00
Jürgen Doser
26a0efae23
Improve behaviour for empty modpacks and when no mods at all are installed:
...
Only show enable all / disable all buttons for all add-ons when at
least one add-on is installed. When no add-on ist installed, don't
show any buttons or checkboxes.
Added is_modpack flag to ModSpec to distinguish empty modpacks from
normal mods and check this flag in mod selection gui so that empty
modpacks are not treated like mods that can be enabled or disabled.
2013-01-22 19:05:28 +01:00
Jürgen Doser
e237c1d07d
Fix crash when no world is selected and configure button is pressed.
...
by moving return statement out of if-then-else clause...
2013-01-22 17:47:12 +01:00
Ilya Zhuravlev
5696ee8421
Fix msvc build
2013-01-22 01:16:29 +04:00
sapier
d8a0efa6af
add support for saving settings by lua command (server doesn't autosave on exit)
2013-01-21 22:44:41 +02:00
kwolekr
b87cd8c58b
Use a string identifier for a mapgen instead of version
2013-01-21 21:41:37 +02:00
kwolekr
318669327e
Fix compile on certain Linux configurations, reduce spawn point height
2013-01-21 21:41:37 +02:00
kwolekr
278d93a3ee
Removed Mapgen V7 for now
2013-01-21 21:41:37 +02:00
kwolekr
b55fb4f2f6
Last set of minor cleanups
2013-01-21 21:41:37 +02:00
kwolekr
1cd8351054
Fix MapgenV6::getGroundLevelAtPoint()
2013-01-21 21:41:37 +02:00
kwolekr
631a835e07
Finish and clean up mapgen configuration
2013-01-21 21:41:37 +02:00
kwolekr
45cf32afc5
Add Settings::getStruct and Settings::setStruct
2013-01-21 21:41:37 +02:00
kwolekr
cde3d38766
Clean up EmergeManager, do initial work on Mapgen configuration
2013-01-21 21:41:37 +02:00
kwolekr
d5029958b9
Readded and optimized mapgen V6
2013-01-21 21:41:37 +02:00
kwolekr
bddd5f2b98
Cleaned & enhanced noise object management
2013-01-21 21:41:37 +02:00
kwolekr
96898c1794
Add initial Lua biomedef support, fixed biome selection
2013-01-21 21:41:37 +02:00
kwolekr
11afcbff69
The new mapgen, noise functions, et al.
2013-01-21 21:41:33 +02:00
kwolekr
736b386554
Make WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos()
2013-01-21 21:41:09 +02:00
kwolekr
a785522194
Only clear block modified flag if writing to db was successful
2013-01-21 21:41:09 +02:00
kwolekr
8e50e256e6
Make cloud height user-configurable
2013-01-21 21:41:09 +02:00
kwolekr
9b3287b865
stop MSVC++ from generating dumb warnings
2013-01-21 21:41:09 +02:00
kwolekr
14657bd29a
Proper RUN_IN_PLACE support for OSX and FreeBSD
2013-01-21 21:41:09 +02:00
Jürgen Doser
6af8a34d91
Basic support for configuring which mods to load for each world
...
settings.h: added function to return all keys used in settings, and a
function to remove a setting
mods.{h,cpp}: added class ModConfiguration that represents a subset of the installed mods.
server.{h,cpp}: server does not load add-on mods that are disabled in
the world.mt file. mods are disabled by a setting of the form
"load_mod_<modname> = false". if no load_mod_<modname> = ... setting
is found, the mod is loaded anyways for backwards compatibilty. server
also complains to errorstream about mods with unstatisfied
dependencies and about mods that are not installed.
guiConfigureWorld.{h,cpp}: shows a treeview of installed add-on mods
and modpacks with little icons in front of their name indicating their
status: a checkmark for enabled mods, a cross for disabled mods, a
question mark for "new" mods
Mods can be enabled/disabled by a checkbox. Mods also show a list of
dependencies and reverse dependencies. double-click on a mod in
dependency or reverse dependency listbox selects the corresponding
mod. Enabling a mod also enables all its dependencies. Disabling a mod
also disables all its reverse dependencies.
For modpacks, show buttons to enable/disable all mods (recursively,
including their dependencies) in it.
Button "Save" saves the current settings to the world.mt file and
returns to the main menu. Button "Cancel" returns to main menu without
saving.
basic keyboard controls (if the proper widget has keyboard focus):
up/down: scroll through tree of mods
left/right: collaps/expand a modpack
space: enable/disable the selected mod
2013-01-21 17:31:50 +02:00
Jeija
6f93c01af9
Add a list of servers to the "Multiplayer" tab
...
If USE_CURL is set, it also downloads a list from a remote server.
The url of this list is configurable in minetest.conf using the setting "serverlist_url"
The local list of favorite servers is saved in client/serverlist/filename
filename is also configureable using the setting "serverlist_file"
2013-01-21 16:42:56 +02:00
sapier
12e9f3d010
add limit for steps to avoid runaway memory consumption by collision handling
2013-01-16 23:27:11 +00:00
PilzAdam
c691d619c2
Bugfix: else repeat_rightclick_timer = 0;
2013-01-14 21:38:40 +01:00
Jeija
61f5ca6b16
Add particles
2013-01-14 15:27:00 +01:00
Jürgen Doser
183c81b5ec
fix integer overflow ( fixes #414 )
...
liquid_kind was declared as an u8, but used to hold a content_t value, which is delcared to be a u16.
changing this fixes (at least for me) the problem reported in bug #414 .
2013-01-12 23:32:09 +04:00
Jürgen Doser
076f13cc01
fixes node timer bug ( fixes #407 ).
...
Previously, when a block was activated, on_timer callbacks where
called with the relative position of the node inside the block,
instead of the absolute position of the node.
2013-01-11 18:59:27 +01:00
dannydark
8eb717d4d0
Fixed two typo's in commit 615fd498bc
2013-01-07 18:57:12 +01:00
PilzAdam
8aa190606e
Disable all HP handling if enable_damage is false
2013-01-07 18:39:45 +01:00
PilzAdam
0437abbffb
Add a setting to enable always flying fast
2013-01-07 18:26:34 +01:00
sapier
0b1d09ff4f
Fix buttons not working for Lua-triggered formspecs
2013-01-07 19:00:33 +02:00
RealBadAngel
8b75736c6f
L-Systems treegen update.
2013-01-07 18:13:14 +04:00
Ilya Zhuravlev
099d7ff2ad
"or" should be "||". Don't use "or", "and", etc.. It breaks build.
2013-01-04 23:39:12 +04:00
Jeija
46d431e7c3
Implement textarea in formspec, a multiline input field
2013-01-04 20:09:09 +01:00
PilzAdam
615fd498bc
Fix typo doubletab -> doubletap
2013-01-04 20:04:48 +01:00
dannydark
bc879a1453
Fixed content_abm aliases
...
Since commit 5a13c49492 when I'm in a new area of the world that hasn't
yet been generated the debug log gets flooded with the following error:
Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to
replace "default:dirt_with_grass" at (729,1,-219) (block (45,0,-14))
This commit fixes that.
2013-01-04 19:05:57 +01:00
PilzAdam
82fd83fd12
Switch to fly mode if spacebar is doubleclicked
...
Can be turned off in the key change GUI or in minetest.conf via doubletab_space
2013-01-04 18:51:38 +01:00
Jeija
b50da63852
Repeated right clicking when holding the right mouse button
...
Configure using repeat_rightclick_time in minetest.conf
2013-01-04 18:33:53 +01:00
PilzAdam
d2b1210376
Adjust the maximum alpha of the red hurt screen
2013-01-03 16:15:46 +01:00
Jeija
a27cdf16f4
Tilt camera on player damage (tweaked by PilzAdam)
2013-01-03 15:16:46 +01:00
PilzAdam
5a13c49492
Change the nodenames for dirt -> grass and sapling -> tree abms to match the mapgen aliases
2013-01-02 23:06:31 +01:00
PilzAdam
8493979d86
Replace constant red hurt screen with fade out red
2013-01-02 23:06:17 +01:00
Perttu Ahola
2c472a66d1
Add ServerEnvironment::setNode()/removeNode() to allow setting nodes from the C++ side with proper script-defined initialization/destruction
2013-01-02 23:18:14 +02:00
Perttu Ahola
69bd803a32
Add InvRef:get_location()
2013-01-02 22:53:55 +02:00
sapier
da9707950e
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
2013-01-02 20:59:37 +02:00
RealBadAngel
36f03a7f4a
Bugfixes to item_image formspec method
2013-01-02 18:29:08 +04:00
dannydark
5d18dc358b
Fixed compile issues on windows
...
With latest upstream L-Systems treegen.
2012-12-30 16:38:53 +04:00
RealBadAngel
b40e599866
L-System treegen
2012-12-30 13:42:19 +04:00
PilzAdam
45029117f5
Use aux1 to move fast when flying
2012-12-27 18:33:24 +01:00
Esteban I. Ruiz Moreno
578ece8dd0
Add selectionbox_color, crosshair_color, and crosshair_alpha options
2012-12-27 13:10:03 -03:00
PilzAdam
896e1a30b0
Fix 'longjmp causes uninitialized stack frame' in cURL
2012-12-26 21:41:00 +01:00
Perttu Ahola
0f1d2c127c
Initialize all member variables of LuaEntitySAO
2012-12-23 17:16:46 +02:00
Ilya Zhuravlev
145e301269
Fix keycodes ( #325 )
2012-12-23 02:11:32 +04:00
DannyDark
40dac4cde4
Fixed u64 ambiguous symbol error
...
Fixed the compiler not being able to determine which symbol it should
use when compiling Minetest as 64bit with Irrlicht 1.8+
2012-12-20 17:53:25 +10:00
sfan5
05b58501f2
Tweak CMake files for cURL
2012-12-18 21:52:56 +04:00
PilzAdam
f4ed37ec6f
Fix falling damage when not flying
2012-12-17 18:04:41 +01:00
Ilya Zhuravlev
e9006f904c
Make m_media_fetch_threads to contain MediaFetchThread* instead of MediaFetchThread
2012-12-17 20:56:59 +04:00
Ilya Zhuravlev
e301bc2d77
Fix hypen used as minus sign (manpages), fix spelling error (server.cpp)
2012-12-17 19:46:54 +04:00
Ilya Zhuravlev
3578e1d4a7
Added ability to fetch media from remote server (using cURL library)
2012-12-16 15:20:18 +04:00
PilzAdam
9786202b08
Dont sneak while flying
2012-12-11 19:04:55 +01:00
PilzAdam
52ba413185
Only fly through walls in noclip mode wich requires the noclip privilege
2012-12-11 16:44:13 +01:00
Perttu Ahola
fd9e226b79
Update GUI texts
2012-12-06 21:02:02 +02:00
Jürgen Doser
7d2f0d7b1b
draw gui later. this fixes the hotbar disappearing while rendering to texture.
2012-12-06 20:43:17 +02:00
Jürgen Doser
870f7bcc93
fix screen flickering black when rendering to texture
2012-12-06 19:56:49 +02:00
Perttu Ahola
543fc6702f
Set proper field background colors in Irrlicht 1.8
2012-12-06 19:35:40 +02:00
Perttu Ahola
5080b63435
Raise default maximum render distance to 240
2012-12-06 15:49:20 +02:00
Perttu Ahola
8bb36f4650
Fix automagic render distance tuner
2012-12-06 15:49:20 +02:00
Matthew I
a47b829040
Add #include guards to base64.h
2012-12-03 19:44:54 +02:00
Perttu Ahola
07632b7d69
Try to add a bit of topside brightness when not using shaders
2012-12-02 23:48:11 +02:00
Perttu Ahola
68e36226b3
Default to preload_item_visuals=true
2012-12-02 20:43:55 +02:00
MirceaKitsune
15b86a6b9b
Don't send player position from client to server if the player hasn't moved
2012-12-02 20:22:02 +02:00
Perttu Ahola
804a7875a2
Smooth day-night transitions
2012-12-02 18:02:45 +02:00
Perttu Ahola
041585a78e
Const-correct util/serialize.h
2012-12-02 14:36:12 +02:00
Perttu Ahola
cd1f604ffe
Handle day-night transition in shader and make light sources brighter when shaders are used
2012-12-02 14:24:58 +02:00
Perttu Ahola
566f7f638a
Get rid of jordan4ibanez's insane digging animation speed
2012-12-02 03:10:23 +02:00
Perttu Ahola
3e07c5bf82
Fix tile MaterialType to make sense and make lava surface be shader'd lower like water
2012-12-02 02:59:15 +02:00
Perttu Ahola
98fd364672
Add enable_shaders to minetest.conf.example
2012-12-02 00:54:44 +02:00
obneq
151fad1f2b
Add checkboxes for shaders and on-demand item visual generation
2012-12-02 00:52:35 +02:00
Perttu Ahola
27373919f4
Implement a global shader parameter passing system and useful shaders
2012-12-02 00:46:18 +02:00
Kahrl
22e6fb7056
ShaderSource and silly example shaders
2012-12-02 00:46:18 +02:00
Perttu Ahola
e3258b78e2
Add setting preload_item_visuals
2012-12-02 00:46:10 +02:00
Perttu Ahola
bee170570d
On-demand item meshes and textures
2012-12-02 00:38:26 +02:00
Perttu Ahola
ba73e75ef9
Modify some client log message levels
2012-12-02 00:24:11 +02:00
RealBadAngel
f4b7e1a570
New elements in formspec, item_image and item_image_button.
...
Fixed also game bug drawing dragged item behind fields, buttons etc.
2012-12-01 20:39:41 +02:00
PilzAdam
bb454b1846
Merge support for anaglyph stereo
2012-12-01 12:41:05 +01:00
Perttu Ahola
778d9b0cd6
Add the ability for client to check if image exists
2012-11-30 22:19:54 +02:00
Jürgen Doser
c1d8eeb70a
Make dragged itemstack following the mouse cursor much smoother
...
by using the cursor coordinates directly, instead of updating them only when a mouse event is seen.
2012-11-30 22:07:30 +02:00
Matthew I
6cf87e1d23
Ignore directories beginning with a "." when searching for mods
...
This is not a problem on POSIX systems (these directories are
ignored by the POSIX implementation of fs::GetDirListing() in
filesys.cpp), but these directories still are reported on Windows
systems. This becomes a problem when mod authors use version
control systems that create directories like ".git" or ".svn"
and collectMods() picks up on them. It has also been suggested
that ignoring such directories would allow for the easily disabling
mods by inserting a "." in front of their name.
This quick fix simply makes collectMods() ignore directories
beginning with a ".".
2012-11-30 21:41:50 +02:00
Perttu Ahola
8a93581c8a
Run scriptapi_on_shutdown() thread-safely and remove some old crap
2012-11-30 19:41:13 +02:00
Matthew I
6c8fa83ecd
Add shutdown hook interface to Lua API
...
Scripts can call minetest.register_on_shutdown() to register a
shutdown hook.
Document that minetest.register_on_shutdown() callbacks may not be run
If the server crashes, it is unlikely that callbacks registered using
minetest.register_on_shutdown() will be called.
2012-11-30 19:26:51 +02:00
Perttu Ahola
ab45133ab4
Add congestion control settings to minetest.conf
2012-11-29 22:13:22 +02:00
Perttu Ahola
7b6d642300
Full protocol 13 compatibility on server side
2012-11-29 22:08:25 +02:00
Perttu Ahola
96a286dcf5
Make strict and non-strict protocol version checking to work more like expected
2012-11-29 22:08:25 +02:00
Perttu Ahola
420de7ad5e
Allow server to accept protocol 13 clients altough they don't work too well
2012-11-29 22:08:25 +02:00
Perttu Ahola
8ccdd3bdb4
Ranged support of protocol version on server side
2012-11-29 22:08:25 +02:00
Perttu Ahola
23913f26cd
Support serialization of protocol 13 ContentFeatures
2012-11-29 22:08:25 +02:00
Perttu Ahola
9714612999
unit test: TestNodedefSerialization
2012-11-29 22:08:25 +02:00
Perttu Ahola
69cdcea9fc
Modify new ObjectProperties format to such that 0.4.3 will eat it
2012-11-29 22:08:25 +02:00
Perttu Ahola
30ec69c7d3
Fix Taoki's messed up generic object command ids
2012-11-29 22:08:25 +02:00
Calinou
655bb526f4
Fix head shifting downards in glass, nodeboxes...
2012-11-28 16:14:52 +04:00
Perttu Ahola
5c26972cdd
Fix mesh glitches on MapBlock boundaries
2012-11-27 19:00:09 +02:00
MirceaKitsune
5f798d944e
Fix forgotten material properties for meshes (also seems to have been forgotten for cubes previously). This allows transparent png images to work properly
2012-11-27 08:06:13 +02:00
Perttu Ahola
6b927229f5
Default server step to 0.1s and sync object/player update intervals to it
2012-11-26 22:34:59 +02:00
Perttu Ahola
e0eaed5fdb
Remove unnecessary util/serialize.h from content_mapblock.cpp
2012-11-26 11:56:18 +02:00
Perttu Ahola
5bd638d4a5
Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)
2012-11-26 11:39:52 +02:00
Perttu Ahola
eca1c96412
Move util/serialize.h out from staticobject.h for smaller header dependencies
2012-11-26 11:18:34 +02:00
Perttu Ahola
2f5686ca48
Move a function from clientserver.h to clientserver.cpp
2012-11-26 10:31:24 +02:00
Perttu Ahola
4fa4340b95
Proper versioning of new network-serialized stuff
2012-11-26 09:49:31 +02:00
Perttu Ahola
197542c7ec
New PROTOCOL_VERSION scheme (allow client to support a range of versions)
2012-11-26 09:49:07 +02:00
Perttu Ahola
ab507f83e2
Fix LuaEntitySAO::getClientInitializationData() and bump the related version
2012-11-26 09:10:27 +02:00
Perttu Ahola
c8acc373c1
Update ContentFeatures serialization format now as PROTOCOL_VERSION was changed
2012-11-25 21:11:45 +02:00
MirceaKitsune
3d1c481f0b
RealBadAngel's patch which allows the lua api to read pressed player keys. This should make it possible to change the player's animation based on what he is doing
...
Correct lua api version number
Always update animations and attachments after the entity is added to scene client side. Fixes animations not being applied in client initialization for some reason. Attachments should be re-tested now just to be safe.
Fix a segmentation fault caused by reaching materials that didn't exist in a loop for setting texture
2012-11-25 19:14:24 +02:00
MirceaKitsune
756db8174a
A bunch of fixes
...
No longer hide players who are dead. With models, a death animation should be used instead
Some changes requested by celeron55
Rename a lot of things in the code, and use better lua api function names
Minor code corrections
Bump protocol version up, since the models / animations / attachments code creates new client<->server messages
2012-11-25 19:14:24 +02:00
MirceaKitsune
fa67b46c04
Allow Vanessa's texture filtering / mipmap patch to work on models, as well as all other node types
...
Initialize m_bone_posrot too
Update pos_translator for attached players, which should fix a bug noticed with carts where a detached player would travel from the detachment spot to where it was detached
Don't make attachments possible to right-click either
Properly apply object and text visibility for local attachments, and fix them showing when they shouldn't
2012-11-25 19:14:24 +02:00
MirceaKitsune
4d656963e4
Fix more things I forgot for attached players. Such players will now properly see themselves moving when attached, and the server will read their position accordingly
...
Fix attached players being able to bob their view and generate foostep sounds by pressing a movement key (running in place)
2012-11-25 19:14:24 +02:00
MirceaKitsune
9259d028ac
Update attachments at the ending of the addToScene function for parents. And with this... *drum roll* Client-side attachments are at last functional and stick visibly.
...
Fix the last segmentation fault (apparently). So far attachments seem to be fully functional, although removing the parent causes children to go to origin 0,0,0 and possibly still cause such a fault (though this should already be addressed)
Fix a bug in falling code where entities get stuck
Also check if the parent has been removed server-side, and detach the child if so. Fixes children going to origin 0,0,0 when their parent is removed.
Unset all attachment properties when permanently detaching (on both the client and server). Also store less data we don't need
Create a separate function for detaching, and also update lua api documentation
When a child is detached, update its position from the server to clients. This WILL cause it to get positioned slightly differently client side, as the server attachment system only copies parent origin and knows not about mesh / bone transformation. This prevents different clients seeing the object detached in different spots which is most correct
Update the position of attached players to clients. An attached player will see himself move, but this is currently VERY ugly and laggy as it is done by the server (it probably must stay this way too)
Use a different approach for locally attached players. This allows for smooth positio transitions to work, as well at the player turning around freely. Still buggy however
2012-11-25 19:14:24 +02:00
MirceaKitsune
52fcb0b4b9
Send animations, bone overrides and attachments in entity initialization. Clients no longer have to be near an object when an animation or attachment is set to see the changes, and newly connected clients (or a client that simply renders the object for the first time) will get all of those settings. Therefore, the lua script no longer needs to run every X seconds either, just once per entity.
...
Finish fixing the material color code. But it won't work until MineTest has dynamic lighting... another day another feature.
Extra checks for the bone positioning / rotation code
Many checks and consistency improvements to the client attachment code
Make a separate function for checking if a client object is attached. A more in-depth change will be needed here to fix reading of invalid pointers
Use a different method of fetching the parent. Fixes the mass segmentation faults when rendering an attachment (some still happen though)
Major change to how attachments are handled. Fix the last segmentaton fault, which was due to the parent becoming invalid while being refreshed / removed which would bause the child to remain attached to nothing. Parents remove their children when being deleted themselves and add them back when re-added. Attachments are stored inside a 2D a vector which easily allows both a child to find their parent and a parent to find its children.
Remove attachment list entry when an object is being permanently removed. Also avoid duplicate entries in this list when re-attaching the same object
The "big code comments" can now go away. Client attachments almost work properly, and I know what else needs to be done
2012-11-25 19:14:23 +02:00
MirceaKitsune
d7d759b43f
Enable client-side attachments, add detachment code
2012-11-25 19:14:23 +02:00
MirceaKitsune
ba3fd63e29
Fix some remaining issues with attachments, now they work. Tested with object->player and player->player attachments
2012-11-25 19:14:22 +02:00
MirceaKitsune
948b5a8be7
Complete the attachment framework.
...
The child ID can now be checked against the parent ID in content_cao.cpp so the parent can be detected. Actual attachment code to come
Divide attachment system between server attachments and client attachments, neither coded right now. As explained in the code comment:
// Attachments need to be handled on both the server and client.
// If we attach only on the server, models (which are client-side)
// can't be read so we don't know the origin and orientation of bones.
// If we attach only on the client, the real position of attachments is
// not updated and you can't click them for example.
2012-11-25 18:14:15 +02:00
MirceaKitsune
e42eeec8f6
Framework for the attachment system, new object property which allows changing the color and alpha of mesh materials
...
New object property which allows changing the color and alpha of mesh materials. Due to the current lighting systems it doesn't work yet, but the full implementation is there
Framework for the attachment system, with no actual functionality yet
Send bone and player object to the setAttachment function in content_sao.cpp, but we need a way to translate it there and send it to the client
I will also want position and rotation offsets to be possible to apply to attachments
Network object ID from server to client. This will be used to identify the parent client-side and know what to attach to
2012-11-25 18:14:15 +02:00
MirceaKitsune
118285e6ba
Get the new animation framework properly working
...
Store start and end frames as v2f
Also move bone animations to their own function instead of object properties
2012-11-25 18:14:15 +02:00
MirceaKitsune
ba4d93027f
Joint positioning and rotation code, and fix a problem related to their lua API
...
Attempt to move the animation system to a more correct implementation, rather than using object properties. Incomplete and breaks functionality
2012-11-25 18:14:15 +02:00
MirceaKitsune
fb0c431864
Allow the LUA API to set animations to meshes as well as the animation speed. Also update animations only when needed.
...
Support for animation blending, though for some reason it doesn't work.
Don't enable animation transitions by default for many reaosons
Object property to store individual bone positions. LUA can specify a bone name followed by a bone position. No functionality yet. Bone rotation to be added in the following commit
Same system for bone rotation, plus a few other things I missed
2012-11-25 18:14:15 +02:00
MirceaKitsune
9c8ba42750
Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code
...
Get the texture from memory as well
Add .x to the list of supported formats
Update LUA API documentation
2012-11-25 18:14:15 +02:00
MirceaKitsune
f9675bd2b4
Add a subfolder for models and transfer models from server to client
...
(obj, md2 and md3 are currently allowed)
Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet!
If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
2012-11-25 18:14:15 +02:00
MirceaKitsune
cb40b3517a
Fix material properties and allow lighting. Models should now be affected by light instead of being black
2012-11-25 18:14:15 +02:00
MirceaKitsune
0a020dbcc8
Properly read the mesh from LUA.
...
Players can now be set to meshes using the following test script:
function switch_player_visual()
prop = {
mesh="player.obj",
texture="player.png",
visual="mesh",
}
for _, obj in pairs(minetest.get_connected_players()) do
obj:set_properties(prop)
end
minetest.after(1.0, switch_player_visual)
end
minetest.after(1.0, switch_player_visual)
2012-11-25 18:14:14 +02:00
MirceaKitsune
ac97a7f70e
3D model support for players using Irrlicht. Also ready the basis for mesh support on nodes / items via LUA (to be done). Supports any mesh format compatible with Irrlicht, but animations are not set up yet.
2012-11-25 18:14:14 +02:00
Perttu Ahola
e02b95741b
Revert "Don't leak textures all over the place"
...
This causes textures to be deleted before they are no longer accessed,
resulting in a segmentation fault. This needs to be rewritten in such a way
that textures are deleted when the client disconnects from a server.
This reverts commit 41c00e87d42580881d8c7001f39014814e3b55f2.
2012-11-25 16:39:07 +02:00
Ilya Zhuravlev
bbd990f2cc
Fix trees growing into any type of node
2012-11-23 00:36:52 +04:00
xyzz
a0b5605db8
Merge pull request #268 from khonkhortisan/image_button
...
Allow transparent image_buttons
2012-11-22 09:13:18 -08:00
MirceaKitsune
9b9eb23b6d
Default anaglyph to 0.1
2012-11-13 19:20:57 +02:00
MirceaKitsune
8b16e5f27d
Anaglyph stereo support, created by xyz
2012-11-13 19:20:35 +02:00
xyzz
5292476841
Merge pull request #284 from RealBadAngel/master
...
Adding backgrounds to formspec
2012-11-12 11:50:58 -08:00
PilzAdam
6e2ba111af
Add jordan4ibanez' better digging animation
2012-11-10 17:36:56 +01:00
Vanessa Ezekowitz
46f471c89f
added GUI checkboxes in Settings tab for the aforementioned video settings.
2012-11-09 19:12:49 +02:00
Vanessa Ezekowitz
0dd9c14ff8
Added video settings filter options via config file - second try :-)
...
Set one or more of these in the config to turn the related option on:
mip_map = 1
anisotropic_filter = 1
bilinear_filter = 1
trilinear_filter = 1
2012-11-09 19:12:44 +02:00
Perttu Ahola
0709918bd8
Fix unnecessary network protocol incompatibility in ContentFeatures
2012-11-08 20:43:32 +02:00
RealBadAngel
8e5167d726
Adding background to Formspec
2012-11-08 19:22:37 +01:00
RealBadAngel
8540871ebc
Formspec: Draw images before inventories. Allows to use image as background.
2012-11-04 21:18:28 +01:00
PilzAdam
3cab24fbcf
Merge pull request #243 from xyzz/liquid_renewable
...
Add liquid_renewable property, allow non-renewable liquids.
2012-11-03 12:34:44 -07:00
Kahrl
41c00e87d4
Don't leak textures all over the place
2012-11-02 18:45:39 +02:00
Perttu Ahola
2863a3291a
Fix flowing liquid animation direction calculation
2012-11-02 18:05:42 +02:00
PilzAdam
b701f8a878
Replace pow() with multiplikation to improve speed
2012-11-02 16:24:57 +01:00
Kyle
f9087d14a3
Allow transparent image_buttons
2012-10-18 12:06:47 -07:00
Perttu Ahola
9cadaf824b
Add dtime_s to entity activation
2012-09-09 17:12:29 +03:00
Perttu Ahola
1cc1b93e65
Fix ServerActiveObject stuff
2012-09-09 16:11:05 +03:00
Perttu Ahola
c4f400acd0
Fix wielditem entity drawtype brightness control
2012-09-09 13:26:52 +03:00
Perttu Ahola
ac628c9b0a
Fix ObjectRef:punch()
2012-09-09 12:05:38 +03:00
Ilya Zhuravlev
926830e0df
Add liquid_renewable property.
2012-09-07 20:48:12 +04:00
Matthew I
c8895dd43b
Prevent world creation if the world already exists
2012-09-05 01:17:44 +03:00
Matthew I
5dd1d354f8
Enforce stricter world names using a blacklist
...
Blacklisted characters are: / \
2012-09-05 01:17:28 +03:00
Perttu Ahola
a0da6bcf43
Add aux1_descends to key change menu
2012-09-05 00:55:19 +03:00
Perttu Ahola
1b63f8d6b9
Version 0.4.3-rc0; increase PROTOCOL_VERSION due to backwards-incompatible InventoryList width field
2012-09-05 00:39:43 +03:00
Perttu Ahola
60932d2bd7
Remove "Unknown inventory identifier" deserialization errors, because they can break forward compatibility
2012-09-04 23:02:56 +03:00
Perttu Ahola
ee2d9d973a
Reorganize ClientMap rendering code for a bit more performance
...
- Don't select blocks for drawing in every frame
- Sort meshbuffers by material before drawing
2012-09-04 22:41:03 +03:00
Perttu Ahola
0e6f7a21c6
Fix shift-descend to ladders from a floor
2012-09-03 23:31:51 +03:00
Perttu Ahola
cc47ff7c4c
Fix moving stuff into a mismatched stack in a "infinite" inventory
2012-09-02 23:01:42 +03:00
Perttu Ahola
e1a495ee30
Make inventory GUI do sane things when server-side inventory acts unusually
2012-09-02 22:51:38 +03:00
Perttu Ahola
6495007924
Fix bug in moving a larger sized stack in inventory on top of another
...
- You have 2 stacks: a with x items and b with y<x items
- Take a with your mouse and place it on b
- Whole stack a moves to b
- (y * 2 - x) items move from b to a
- (x - y) items are left to the mouse cursor
2012-09-02 20:24:45 +03:00
Perttu Ahola
b6c12d2aa3
Fix github issue #224
2012-09-01 18:32:15 +03:00
Thomas Lauro
7a14171be4
Fix issue with openal mac os x compile
2012-09-01 18:19:59 +03:00
Perttu Ahola
5194505407
Fix GUIKeyChangeMenu so that '/' can be inserted on a finnish keyboard
2012-09-01 18:03:50 +03:00
Thomas Lauro
3e7957512b
A bunch of GUIKeyChangeMenu fixes
...
- Display message when associating a key already in use
- Fix issue for not beeing able to assign space to an action
- Cleaning up
- Make it build (by celeron55)
2012-09-01 18:03:40 +03:00
Perttu Ahola
c0bd96d9b3
Attempt to fix flying gravel and dirt
2012-09-01 13:41:15 +03:00
Sergey Gilfanov
0f7728f84d
Smooth transition to the desert biome.
2012-09-01 13:22:07 +03:00
Perttu Ahola
c129b3852b
Fix the bouncy node related stuff a bit
2012-09-01 13:21:52 +03:00
Perttu Ahola
3b43c69df4
Add bouncy node group
2012-09-01 12:58:37 +03:00
Perttu Ahola
b17d3e7ad7
Add disable_jump and fall_damage_add_percent node groups
2012-09-01 12:07:27 +03:00
Ilya Zhuravlev
6a16075912
Add InventoryList width property & allow custom crafting grids.
2012-09-01 10:01:41 +03:00
sfan5
43ebec2be1
Make shift the default descent control on ladders and when flying
...
"aux1_descends" setting switches to the old descend control.
2012-09-01 09:48:07 +03:00
Perttu Ahola
f60227f112
Don't crash in "unexpected multibyte character"; just print it in log. Github #222
2012-09-01 09:23:39 +03:00
Perttu Ahola
f3630e95d6
Use proper alpha blit in some more texture modifiers
2012-08-31 18:06:47 +03:00
Perttu Ahola
8887105ffd
Properly initialize baseimg for texture modifier [combine:WxH:X,Y=filename:X,Y=filename2
2012-08-31 17:58:55 +03:00
Matthew I
1d7408a7b8
Fix black display inside opaque water
...
Opaque water's solidness was being set to 2, like a normal node.
When you swim, it is treated like a solid block, and the display
goes black. Setting it to 1 like transparent water allows you to
see.
It looks somewhat awkward when you swim, look up, and see an opaque
wall of water (the surface), but there isn't much that can be done
about it. If you made the water transparent so it looked good,
it would defeat the purpose :) .
2012-08-31 17:50:12 +03:00
Matthew I
b29d609b0b
Move chat commands to Lua and remove servercommand.{cpp,h}
...
Commands moved:
/me
/status
/time
/shutdown
/ban
/clearobjects
2012-08-12 16:45:58 +03:00
Matthew I
8a3c777c40
Add ban management routines to Lua API
...
Those functions are:
* minetest.get_ban_list()
* minetest.get_ban_description(ip_or_name)
* minetest.ban_player(name)
* minetest.unban_player_or_ip(ip_or_name)
2012-08-12 16:45:58 +03:00
Matthew I
548da26ddc
Extend Lua API in order to implement chat commands
...
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
2012-08-12 16:44:55 +03:00
Matthew I
8e0ac70c4d
Remove trailing comma after player list in server status string
2012-08-12 16:44:54 +03:00
Matthew I
1ed559bd24
Allow digging of unknown nodes
...
This allows the removal of nodes with unknown types.
get_item_callback() (C++) would fail if a node has an unknown type. Now it
will try using the callback from minetest.nodedef_default in this case.
Also, minetest.node_dig() (Lua) was altered to always allow digging when
the node definition is empty (i.e. unknown node).
2012-08-12 16:04:18 +03:00
Perttu Ahola
e3b831e975
Fix wrong amount of nodes being dropped from inventory
2012-08-12 15:49:23 +03:00
darkrose
d05e3adbc7
fix node timers so on_timer gets the correct position
2012-08-12 15:28:31 +03:00
Perttu Ahola
a9a475ad50
Remove unwanted ! from ifs in inventory record-for-rollback code
2012-08-12 11:20:36 +03:00
Perttu Ahola
fd7ec2da91
Fix inventory segfault when rollback recording is disabled
2012-07-28 14:44:18 +03:00
Perttu Ahola
c9ed379e39
Add enable_rollback_recording setting, defaulting to false
2012-07-28 03:08:09 +03:00
Perttu Ahola
e64feefc61
Handle max<min in LuaPseudoRandom::l_next()
2012-07-27 19:03:15 +03:00
Perttu Ahola
3e754382af
Tweak rollback and liquids
2012-07-27 15:46:51 +03:00
Perttu Ahola
7ef0a13250
Tweak rollback stuff
2012-07-27 14:52:29 +03:00
Perttu Ahola
0de3fb786d
Increase automatic suspect guess timeframe
2012-07-27 13:54:14 +03:00
Perttu Ahola
1d44a98f2f
ABM and liquid overload skip
2012-07-27 13:45:49 +03:00
Perttu Ahola
98ff4eb4ee
Fix server build (a missing header)
2012-07-27 13:43:25 +03:00
Perttu Ahola
a9d8df83d2
Make the rollback system VERY FUCKING GOD DAMN POWERFUL
2012-07-27 13:24:28 +03:00
Perttu Ahola
508b7b5e51
Don't track liquids for rollback because of too much log
2012-07-27 02:46:54 +03:00
Perttu Ahola
f7dc72f8aa
Properly rollback chat command triggered things
2012-07-27 02:37:04 +03:00
Perttu Ahola
0190f9b077
Experimental-ish rollback functionality
2012-07-27 02:27:18 +03:00
Perttu Ahola
0c91a0d59d
Working group-shapeless and multigroup recipes
2012-07-26 13:49:13 +03:00
Perttu Ahola
a26a66a8c4
Restore focus to formspec menu when pressing a button
2012-07-25 18:28:40 +03:00
Perttu Ahola
0346e68deb
Add special return value -1 to inventry callbacks
2012-07-25 16:52:00 +03:00
Perttu Ahola
db62c227c8
Improve formspec positioning
2012-07-25 16:30:23 +03:00
Perttu Ahola
983e45ae92
Improve inventory callbacks a bit
2012-07-25 15:39:39 +03:00
Perttu Ahola
0a18dda158
Remove special handling of creative mode
2012-07-25 14:07:45 +03:00
Perttu Ahola
9eaf93d41d
Detached inventory callbacks and reworked node metadata callbacks
2012-07-25 02:36:54 +03:00
Perttu Ahola
2ac20982e0
Detached inventories
2012-07-24 20:57:17 +03:00
Perttu Ahola
0cf1ed544c
darkrose should work at a nuclear power plant.
...
It'd take years to figure out what caused the accident.
2012-07-24 16:36:50 +03:00
Perttu Ahola
5c31445117
Improve node timer format (map format version 25) and update mapformat.txt
2012-07-24 15:03:46 +03:00
Perttu Ahola
c009aa3a22
Fix building on top of (pointable && buildable_to) nodes
2012-07-23 20:42:08 +03:00
Perttu Ahola
aef1332e42
Improve build configuration options
2012-07-23 15:23:33 +03:00
Perttu Ahola
fd845f27f5
Fix map deserialization and remove old serialization code
2012-07-23 08:18:39 +03:00
darkrose
ea62ee4b61
Increase node id/param0 to 16 bits, leaving param2 always with 8 bits
2012-07-23 08:18:39 +03:00
darkrose
cd6becd442
Implement node timers
2012-07-23 08:18:37 +03:00
Perttu Ahola
829f262c79
Fix terrible grammar in comment!
2012-07-22 20:36:06 +03:00
Perttu Ahola
246520b5cb
Fix compressZlib()
2012-07-22 20:29:09 +03:00
Perttu Ahola
38bb649582
Test zlib wrapper's handling of large data
2012-07-22 20:27:55 +03:00
Perttu Ahola
82855a04ec
Tweak test.c overally a bit
2012-07-22 20:26:54 +03:00
Perttu Ahola
6dfefaf229
Formspec button_exit[] and image_button_exit[]
2012-07-22 17:40:48 +03:00
Perttu Ahola
4cc98d7add
minetest.register_on_player_receive_fields()
2012-07-22 17:40:48 +03:00
darkrose
506203345b
Implement formspec
2012-07-22 17:40:41 +03:00
Matthew I
136eb32389
Add minetest.get_modnames() to Lua API
2012-07-22 13:36:03 +03:00
Andreas Zwinkau
d085139057
Fix signedness warning in base64.cpp
2012-07-21 22:10:29 +03:00
Andreas Zwinkau
28e7443f9b
Fix wctomb use
...
wctomb(NULL, _) returns "nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless."
I assume the intentation was to get the size of the target buffer.
Use MB_CUR_MAX for this.
2012-07-21 22:09:17 +03:00
Andreas Zwinkau
e79ad21aeb
Remove mbtowc warnings
...
As mbtowc(_, _, 1) reads at most one char, everything other than a
return value of 1 is an error. Since the input strings are static,
an assert protects against future changes.
Likewise, wctomb should currently never encounter a character, which
actually needs a multibyte representation.
2012-07-21 22:08:20 +03:00
Matthew I
a2738dec59
Fix hovering after mining a block underneath you while sneaking
2012-07-21 20:56:56 +03:00
Perttu Ahola
1788709e2d
Rotate facedir-rotated top and bottom textures too, and re-implement nodebox side rotation
2012-07-21 20:23:32 +03:00
Perttu Ahola
47d30d12cb
Facedir rotation of nodebox textures
2012-07-21 18:59:12 +03:00
Bad-Command
cc10eec6c6
Fix signed overflow in getPointedThing
2012-07-21 16:13:51 +03:00
Perttu Ahola
15bf9a7026
Fix typo in scriptapi.cpp in minetest.get_craft_recipe()
2012-07-21 15:32:46 +03:00
Perttu Ahola
2795f44f03
Server-side checking of digging; disable_anticheat setting
2012-07-21 14:38:49 +03:00
Perttu Ahola
71c6845a94
Define M_PI on MSVC
2012-07-21 03:36:34 +03:00
Perttu Ahola
4b97023251
Add a random-ish contributor list to credit screen
2012-07-21 03:14:58 +03:00
darkrose
369046bbb4
Check for table type when reading groups from Lua
2012-07-21 02:35:45 +03:00
darkrose
38580fbee7
Add minetest.get_craft_recipe()
2012-07-21 02:33:22 +03:00
darkrose
08e1d40d6e
Add support for "textures/all" (and thus texture packs) to server
2012-07-21 02:33:19 +03:00
darkrose
1b19020bf4
Remove trenches from map generator (cyisfor) (glitches: read below)
...
This causes glitches in very high cliffs by not making mud "flow" down from
them. Those are quite rare currently because of the lame height differences
generated.
2012-07-21 02:32:04 +03:00
Calinou
61e58ee9b7
Message cleanups (consistency) and prevent /me when not allowed to shout
2012-07-21 02:27:58 +03:00
Perttu Ahola
16ad10e62f
Allow defining player's inventory form in Lua
2012-07-19 14:09:16 +03:00
Perttu Ahola
02fb912a95
Fix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)
2012-06-19 00:50:07 +03:00
Perttu Ahola
48790c0751
Fix random glitches in transparent animations
2012-06-18 00:21:23 +03:00
Perttu Ahola
c9a2058361
Hopefully fix includes on mingw
2012-06-17 18:05:13 +03:00
Perttu Ahola
7039dfafd6
Increment protocol version
2012-06-17 17:49:12 +03:00
Kahrl
1575448b1a
Custom boxy nodes (stairs, slabs) and collision changes
2012-06-17 16:34:39 +03:00
Perttu Ahola
9f031a6759
Optimize headers
2012-06-17 04:03:39 +03:00
Perttu Ahola
d0ea6f9920
Properly and efficiently use split utility headers
2012-06-17 02:40:36 +03:00
Perttu Ahola
1bc37d576c
Initially split utility.h to multiple files in util/
2012-06-17 01:29:13 +03:00
Perttu Ahola
d15d6c4e6b
Fix "Node placement prediction failed for (places __default) - Name not known"
2012-06-16 22:45:35 +03:00
Perttu Ahola
6b598f61a6
Add desynchronize_mapblock_texture_animation setting and improve minetest.conf.example a bit
2012-06-16 22:37:20 +03:00
Perttu Ahola
9e21204f8b
Fix build error due to DEBUGFILE
2012-06-16 21:36:54 +03:00
Perttu Ahola
268e50dfbd
Clean up constants.h a bit
2012-06-16 18:15:06 +03:00
Perttu Ahola
07ccc15fc2
Allow node cracking animations of any length
2012-06-16 18:02:56 +03:00
Perttu Ahola
fd1135c7af
Node texture animation
2012-06-16 16:47:28 +03:00
Perttu Ahola
f0678979b1
Add comment about ItemSAO being deprecated
2012-06-11 22:10:48 +03:00
Perttu Ahola
6a0388bb4b
Node placement client-side prediction
2012-06-10 12:46:48 +03:00
Perttu Ahola
7ba72f2763
Remove a random old comment and a #define from game.cpp
2012-06-09 13:40:07 +03:00
Perttu Ahola
e74668ef7f
Update and fix doc/mapformat.txt; make current format more solid in mapblock.cpp
2012-06-08 14:57:02 +03:00
Perttu Ahola
4b2cc38aba
Add disallow_empty_password setting
2012-06-07 02:11:28 +03:00
Perttu Ahola
a435cfcd82
Allow groups in crafting recipes
2012-06-06 23:39:17 +03:00
Perttu Ahola
7631918a12
Remove obsolete "footprints" default setting from defaultsettings.cpp
2012-06-06 20:04:05 +03:00
Kahrl
e070f1e525
Allow replacements in cooking and fuel recipes
2012-06-06 00:22:34 +03:00
Perttu Ahola
3a0562bebc
Add after_destruct and cache the existence of on_construct, on_destruct and after_destruct for quick skipping when a node does not have them
2012-06-05 23:51:37 +03:00
Perttu Ahola
c3658e7c79
place_node, dig_node and punch_node; an in-game tester tool; remove old code
2012-06-05 23:10:07 +03:00
Perttu Ahola
b0f81c3253
Fix NDT_RAILLIKE tweakings
2012-06-05 21:51:01 +03:00
darkrose
31c171fc1e
Shadily clean up NDT_RAILLIKE to surely differ from the few leftover non-LGPLv2 parts from the standpoint of copyright law.
2012-06-05 19:47:19 +03:00
Perttu Ahola
e9c123b1b9
Clean and optimize clouds.cpp enough to not really contain any of the small amount of non-LGPLv2/later code left
2012-06-05 18:54:42 +03:00
Perttu Ahola
037b259197
Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors
2012-06-05 18:54:07 +03:00
Perttu Ahola
7eabde6aee
Use gettext for more basic user interface strings
2012-06-04 23:24:31 +03:00
Perttu Ahola
ed772da0cc
Remove misdesigned exception from ReliablePacketBuffer
2012-06-04 22:43:33 +03:00
Perttu Ahola
f48882213e
Add ignore_world_load_errors configuration option and provide better error messages
2012-06-04 22:34:40 +03:00
Perttu Ahola
1cd2076d42
Improve GUIMessageMenu (move and resize elements based on size of text)
2012-06-04 22:33:47 +03:00
Perttu Ahola
816b9c8d71
Fix loading of old signs
2012-06-04 18:19:23 +03:00
darkrose
3e419ffb38
Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty in minimal game
2012-06-03 22:31:02 +03:00
Perttu Ahola
a09d86dd3c
Update inventory menu from formspec on-the-fly
2012-06-03 22:31:02 +03:00
Perttu Ahola
3ccb0f691b
Add texture modification [lowpart:percent:filename
2012-06-03 22:31:02 +03:00
Perttu Ahola
1709fd854a
Implement image[<X>,<Y>;<W>,<H>;<texture name>] and allow floating-point values in formspec
2012-06-03 22:31:02 +03:00
Perttu Ahola
7bf446f671
Reshape inventory menu code
2012-06-03 22:31:02 +03:00
Perttu Ahola
e4bc76f55c
Add a bit of unit test for inventory
2012-06-03 22:31:02 +03:00
Perttu Ahola
81c5e5200b
Fix loading of legacy chests
2012-06-03 22:31:01 +03:00
Perttu Ahola
bf8cfce50e
Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players
2012-06-03 22:31:01 +03:00
Perttu Ahola
b235e4d290
Make GUIinventoryMenu::drawList more robust with invalid data
2012-06-03 22:31:01 +03:00
Perttu Ahola
353f9fd43c
minetest.get_craft_result
2012-06-03 22:31:01 +03:00
Perttu Ahola
3899f83da8
NodeMetaRef:{to,from}_table and lua_api.txt additions
2012-06-03 22:31:01 +03:00
Perttu Ahola
5f3c70061d
Properly handle dropping of items from nodes, and disallow moving items directly between nodes
2012-06-03 22:31:01 +03:00
Perttu Ahola
aba7134301
on_metadata_inventory_{move,offer,take}
2012-06-03 22:31:01 +03:00
Perttu Ahola
d7447cdf9e
Implement sign using form field protocol
2012-06-03 22:31:01 +03:00
Perttu Ahola
ff8d2bbc36
Convert legacy chest inventory list "0" to "main"
2012-06-03 22:31:00 +03:00
Perttu Ahola
45f32838b9
Improve GUIInventoryMenu error messages more
2012-06-03 22:31:00 +03:00
Perttu Ahola
7d6e80a423
Add proper error messages to GUIInventoryMenu when inventory lists are invalid
2012-06-03 22:31:00 +03:00
Perttu Ahola
fe8c5546f0
Add node on_construct, on_destruct callbacks and update lua_api.txt
2012-06-03 22:31:00 +03:00
darkrose
c4315a7afa
Strip unneeded variables from NodeMetadata
2012-06-03 22:31:00 +03:00
Kahrl
704782c95b
WIP node metadata, node timers
2012-06-03 22:31:00 +03:00
Perttu Ahola
67059e1932
Catch VersionMismatchException while loading world data
2012-06-03 20:42:49 +03:00
Perttu Ahola
e2ea711136
Check password hash validity
2012-06-03 20:32:44 +03:00
Perttu Ahola
74aa598769
Fix MSVC build (pow type overload stuff)
2012-05-31 20:22:37 +03:00
Perttu Ahola
747ff7daf8
Add support for putting modpacks directly into mod directories
2012-05-21 19:49:35 +03:00
Perttu Ahola
1f670fc688
Add better trace peudo-loglevel support
2012-05-20 18:30:30 +03:00
Perttu Ahola
388906ac70
Allow using --worldname for local game too
2012-05-20 17:41:40 +03:00
Perttu Ahola
49d9745dc4
Comment out unnecessary debug output in Settings
2012-05-20 17:19:48 +03:00
Perttu Ahola
7c15d793ac
--world list
2012-05-20 17:09:46 +03:00
Perttu Ahola
afda9810f1
Tune smooth lighting a bit
2012-05-20 14:12:17 +03:00
Perttu Ahola
22df8b81b3
Log more stuff in Client::afterContentReceived()
2012-05-19 17:11:41 +03:00
Perttu Ahola
a35e4bdbda
Add a hack to get rid of the rare "ERROR: StaticObjectList::insert(): id already exists" failure
2012-04-15 14:37:35 +03:00
Perttu Ahola
0aeb5adb8f
Fix continuing to process TOSERVER_INIT2 even if player doesn't exist
2012-04-14 18:46:10 +03:00
Perttu Ahola
1eac6ff8ff
Fix unhandled InvalidPositionException
2012-04-10 18:16:03 +03:00
Perttu Ahola
8ed74a3429
Fix ABM handling on block activation
2012-04-09 23:06:24 +03:00
Perttu Ahola
f8c2f1cf54
Make client know about reverted disallowed diggings
2012-04-09 21:13:22 +03:00
Perttu Ahola
e4485f5412
Call this 0.4.dev-20120408
2012-04-08 23:55:17 +03:00
Perttu Ahola
42323014ea
Support placing a minetest game inside $world/game to allow creating proper adventure maps
...
Pro-tip: You can open a world in minetest by opening the world.mt file using minetest.
2012-04-08 23:17:02 +03:00
Perttu Ahola
c59d139eeb
Fix crash after 'LuaEntity name "particles:smoke" not defined' and similar errors
2012-04-08 23:16:15 +03:00
Perttu Ahola
e29a5b11e4
EnvRef:find_nodes_in_area(minp, maxp, nodenames)
2012-04-08 14:37:12 +03:00
Perttu Ahola
b58ee690a3
Allow looping of local and positional sounds
2012-04-08 14:35:57 +03:00
Perttu Ahola
d8edd3d0c8
Make lava brighter by showing light sources at their full emitted light level
2012-04-08 04:01:12 +03:00
Perttu Ahola
1b078efd5f
Improve texture atlas generation
2012-04-07 23:37:12 +03:00
q66
e8e73d37fb
Fullscreen, vsync, fullscreen_bpp and fsaa options in the config; fsaa is experimental atm, causes visible spaces between blocks.
2012-04-07 23:23:00 +03:00
Perttu Ahola
dca28b9e12
Tune mapgen
2012-04-07 19:57:26 +03:00
Perttu Ahola
e879c92596
Fix collision code getting stuck if speed is 0
2012-04-07 19:19:36 +03:00
Perttu Ahola
7281c68b27
Fix segfault when setting privileges of a non-connected player
2012-04-07 18:46:10 +03:00
Perttu Ahola
d228f1b658
Fix fabs() brainfart
2012-04-07 18:05:06 +03:00
Perttu Ahola
2e60593c5b
Tune desert beaches
2012-04-07 17:59:24 +03:00
Perttu Ahola
531fe10f51
Fix MSVC ambiguous fabs() call errors
2012-04-07 16:47:45 +03:00
Perttu Ahola
454b07455a
Add deserts to map generator
2012-04-07 15:36:51 +03:00
Perttu Ahola
a4dc6f2c76
Tune mapgen a bit
2012-04-07 14:08:49 +03:00
Sergey Gilfanov
5608f12f9b
PerlinNoise for Lua.
2012-04-07 13:39:01 +03:00
Perttu Ahola
18d8e3acec
Support custom textures installed as /textures/all/*.png
2012-04-07 10:43:06 +03:00
Perttu Ahola
578fc5bb44
Add EnvRef:find_node_near(pos, radius, nodenames)
2012-04-06 22:44:42 +03:00
Perttu Ahola
6a57eabb14
Handle failing openal init properly, add enable_sound and sound_volume settings
2012-04-06 15:30:36 +03:00
Perttu Ahola
a67540807a
Add #include <unistd.h> to filesys.cpp
2012-04-06 14:56:14 +03:00
Perttu Ahola
5436f1c7d5
Attempt to fix sound left-right channels
2012-04-06 00:39:37 +03:00
Perttu Ahola
e74da72b82
Fix crash when inputting only / in chat
2012-04-05 21:18:42 +03:00
Perttu Ahola
22a5a1fa43
Show reported map seed on debug info (F5)
2012-04-04 22:43:54 +03:00
Perttu Ahola
66e1cb324c
Fix visual='cube' size
2012-04-04 18:10:10 +03:00
Perttu Ahola
a869d23451
Fix sound direction and add experimental:soundblock alias sb in minimal for testing
2012-04-04 13:32:08 +03:00
Perttu Ahola
41f4941b74
Remove debug output
2012-04-04 13:20:56 +03:00
Perttu Ahola
b22168d3da
Fix dropped nodeitem visuals
2012-04-04 13:16:09 +03:00
Perttu Ahola
b9b56bac6b
Fix buildbot
2012-04-03 08:55:13 +03:00
Perttu Ahola
b131a0cf0c
Add optional MINGWM10_DLL to cmake install
2012-04-03 01:03:31 +03:00
Perttu Ahola
2cd5addc0c
Fix things for cross-compiling using mingw
2012-04-02 21:14:30 +03:00
Perttu Ahola
5bf06efb2a
Tune cave generation
2012-04-02 08:51:05 +03:00
Perttu Ahola
5196e309b8
Improve caves more
2012-04-02 02:49:21 +03:00
Perttu Ahola
bee1adc651
Some completely crapshit coding to make caves more varied
2012-04-01 20:54:36 +03:00
Perttu Ahola
f0e7da8a63
Implement dropped items as LuaEntities; leave the old ones as is for compatibility
2012-04-01 16:06:01 +03:00
Perttu Ahola
5bd32eca0f
Fix disabling of player movement cheat detection in singleplayer
2012-04-01 13:37:07 +03:00
Perttu Ahola
491287c0af
Don't apply player movement cheat detection in singleplayer
2012-04-01 13:19:50 +03:00
Perttu Ahola
8ecfd88d92
Remplement and improve /setting in Lua, now called /set
2012-04-01 13:08:52 +03:00
Perttu Ahola
56ba193c77
Allow getting the path of builtin.lua using minetest.get_modpath("__builtin")
2012-04-01 12:38:14 +03:00
Perttu Ahola
4cf00f5698
Change default privileges from "build, shout" to "interact, shout"
2012-03-31 17:48:46 +03:00
Perttu Ahola
13159c1a48
Add server-side enforcement of the 'fast' privilege; also fix client checking 'fly' instead of 'fast'
2012-03-31 17:08:39 +03:00
Perttu Ahola
0fbef74f31
Fix client.h getting included on the server build
2012-03-31 16:32:00 +03:00
Perttu Ahola
52122c342d
Add 'fly' and 'fast' privileges and the underlying privileges-to-client system
2012-03-31 16:25:02 +03:00
Perttu Ahola
dc70f50b59
initial_properties field in entity definition
2012-03-31 13:50:25 +03:00
Perttu Ahola
280e1a2512
Allow group:groupname in ABM definition and implement minetest.hash_node_position()
2012-03-31 12:30:11 +03:00
Jonathan Neuschäfer
1518b8f753
cmake: lua: use COMMON_CFLAGS
...
This fixes LUA_USE_DLOPEN having no effect.
2012-03-31 01:31:17 +03:00
Perttu Ahola
462003363f
Make server ignore media files with unknown filename extensions
2012-03-30 22:49:44 +03:00
Perttu Ahola
4cee9a86ac
Improved teleport command
2012-03-30 20:54:57 +03:00
Perttu Ahola
7cad0a2dcd
Reimplement authentication handler in Lua; now we have 1) infinite privilege names, 2) minetest.register_authentication_handler()
2012-03-30 18:42:18 +03:00
Perttu Ahola
ed1ff06867
Fix the position of LuaEntityCAOs not getting updated at all
2012-03-30 13:55:08 +03:00
Perttu Ahola
bbf3eebb1a
Fix object visuals flashing brightly or disappearing when switching them at night
2012-03-30 13:44:48 +03:00
Perttu Ahola
6b20ea0752
Fix walking sound of other players (and other objects)
2012-03-30 13:34:25 +03:00
Perttu Ahola
3241ad3ae8
ObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on players too!
2012-03-30 13:34:21 +03:00
Perttu Ahola
9e7ccedba4
ObjectProperties
2012-03-30 12:51:51 +03:00
Perttu Ahola
b9ffb5f30d
minetest.register_chatcommand(cmd, def)
2012-03-30 01:45:23 +03:00
Perttu Ahola
9d456ca87a
Raise the player fall damage threshold to a much more fun level
2012-03-29 23:32:56 +03:00
Perttu Ahola
18350ad37f
Improve the look of fences
2012-03-29 22:59:43 +03:00
Kahrl
0983f65da7
[transformN image modifier
2012-03-29 22:58:01 +03:00
Perttu Ahola
42bbd5c9ae
Simple fix for camera blinking black when jumping into ceiling with current smaller collision box
2012-03-29 21:21:34 +03:00
Perttu Ahola
92ae11bd3b
Use GenericCAO in place of LuaEntityCAO and PlayerCAO
2012-03-29 19:42:42 +03:00
Perttu Ahola
443f45eca1
Add GenericCAO and player armor groups, but don't use them yet
2012-03-29 16:10:11 +03:00
Kahrl
a9ddbb4beb
on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix
...
Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer,
make adding new callbacks to scriptapi.cpp easier by adding
scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <->
singleplayer mode interaction
2012-03-29 14:27:09 +03:00
Kahrl
f8c3743991
added PlayerSAO and RemotePlayer, removed ServerRemotePlayer
2012-03-29 14:05:45 +03:00
Perttu Ahola
440e9cdbef
Rework tool_capabilities a bit (maxwear->uses, scale dig time according to leveldiff)
2012-03-29 13:35:20 +03:00
Perttu Ahola
ace005bf7c
Try a default day+night length of 20 minutes instead of 15
2012-03-29 11:41:41 +03:00
Perttu Ahola
75821c6889
Generate beaches
2012-03-29 03:44:37 +03:00
Perttu Ahola
d376148ca1
Generate blobs of dirt and gravel in stone
2012-03-29 02:23:59 +03:00
Perttu Ahola
582ca33507
Remove unnecessary debug output
2012-03-29 01:38:13 +03:00
Perttu Ahola
a6ca7eb29d
Area-based MapEditEvent ignore and that put to use for on_generate too
2012-03-29 01:22:08 +03:00
Perttu Ahola
02c035c548
Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed
2012-03-29 00:28:48 +03:00
Perttu Ahola
418041d906
Fix on_generate minp/maxp (was broken due to chunkymapgen)
2012-03-28 23:11:28 +03:00
Perttu Ahola
a3a400992e
Add EnvRef:set_node()
2012-03-28 22:50:08 +03:00
Perttu Ahola
68625b047f
Add range option to PseudoRandom:next()
2012-03-28 22:01:23 +03:00
Perttu Ahola
9a1df7bf38
Add blockseed to on_generated
2012-03-28 22:01:21 +03:00
Perttu Ahola
81b9cfdfa4
Default to having fancy trees and 3d clouds turned on
2012-03-28 14:10:54 +03:00
Perttu Ahola
ae7aa65069
Add minetest.is_singleplayer()
2012-03-28 13:22:48 +03:00
Perttu Ahola
14a8fa4d68
Correctly lock mutexes when the server sends MapEditEvents (could cause memory corruption)
2012-03-28 12:51:47 +03:00
Perttu Ahola
07e5c9bd5f
No occlusion culling when free_move is on and camera is inside ground
2012-03-28 12:19:25 +03:00
Perttu Ahola
49c2ca0216
Make mapgen use mapgen_* node aliases rather than the LEGN macro
2012-03-28 01:26:15 +03:00
Perttu Ahola
04172e3dd0
Add PseudoRandom in Lua API
2012-03-28 00:38:20 +03:00
Perttu Ahola
2c56a9f588
Tune skybox
2012-03-27 23:30:41 +03:00
Perttu Ahola
20e025b3d8
Try to make background/fog/sky color selection work better
2012-03-27 22:41:07 +03:00
Perttu Ahola
10591d2080
Set default minimum viewing range of 35 nodes
2012-03-27 19:57:24 +03:00
Perttu Ahola
af29c0ade5
Unrelated, but anyway: tune light levels again
2012-03-27 19:25:25 +03:00
Perttu Ahola
4c876ac62e
Tune caves
2012-03-27 19:09:08 +03:00
Perttu Ahola
66bf7b0b01
Fix deep ground cave generation a bit
2012-03-27 19:09:08 +03:00
Perttu Ahola
17d51a1609
Fix mapgen block_is_underground heuristic
2012-03-27 19:09:07 +03:00
Perttu Ahola
0a59605e05
Tune mapgen
2012-03-27 19:09:07 +03:00
Perttu Ahola
202658678d
Set default maximum viewing range to a bit more than default server send range to make fog work well
2012-03-27 19:09:07 +03:00
Perttu Ahola
4f01db256f
Re-implement and re-tune mapgen v2
2012-03-27 19:05:59 +03:00
Perttu Ahola
c04f4a7d73
Tune generation responsiveness and cheat inhibition on server
2012-03-27 19:05:59 +03:00
Perttu Ahola
f5e46ba7fc
Increase maximum generate distance now that generation might actually keep up with it
2012-03-27 19:04:59 +03:00
Perttu Ahola
8609af54fc
Remove usage of mapgen::add_random_objects(block)
2012-03-27 19:01:52 +03:00
Perttu Ahola
9a4ef87859
Remove no-op mapgen::add_random_objects
2012-03-27 19:01:52 +03:00
Perttu Ahola
a57f4c23d8
Fix inexistent_top_provides_sunlight heuristic in make_block and remove clitch-causing optimization
2012-03-27 19:01:52 +03:00
Perttu Ahola
d629f4d2fb
Remove some debug output
2012-03-27 19:01:52 +03:00
Perttu Ahola
6f20a73782
Tune block fetching to clients on server
2012-03-27 19:01:52 +03:00
Perttu Ahola
8cb7badd63
Do post-mapgen lighting using the VoxelManipulator-based functions (causes glitches currently)
2012-03-27 19:01:51 +03:00
Perttu Ahola
0f3c2f6541
voxalgo::clearLightAndCollectSources
2012-03-27 19:01:51 +03:00
Perttu Ahola
56496ad5d8
Implement propagateSunlight for VoxelManipulator
2012-03-27 19:01:50 +03:00
Perttu Ahola
e15dca2a9f
Fix tree generation density for different mapgen chunk sizes
2012-03-27 18:52:36 +03:00
Perttu Ahola
a32706bc26
Post-mapgen lighting optimization
2012-03-27 18:52:36 +03:00
Perttu Ahola
bdcca4767c
Make mapgen generate stuff in chunks of 3^3 mapblocks
2012-03-27 18:52:36 +03:00
Perttu Ahola
38f4dbfb51
Update minetest.conf.example and defaultsettings.cpp
2012-03-27 18:51:21 +03:00
Perttu Ahola
a374b1a6a3
Increase vertical FOV on lower aspect ratios (<16:10)
2012-03-27 18:39:21 +03:00
Perttu Ahola
cbe11fc7aa
Do a dumb-ass static string copy for const-incorrect old versions of ov_fopen
2012-03-27 00:06:26 +03:00
Perttu Ahola
bd9912213f
Prefer _game postfix in game names (to be squashed to the previous commit)
2012-03-26 23:17:29 +03:00
Perttu Ahola
814ada538a
Support _game postfix in game names, taking it out to make the gameid
2012-03-26 23:16:02 +03:00
Perttu Ahola
53f7eef052
Add game.conf check in subgame.cpp
2012-03-26 23:02:12 +03:00
Perttu Ahola
405347769a
New world removal GUI code
2012-03-26 08:37:15 +03:00
Perttu Ahola
5b31d32da8
Better file/directory removal platform code and utilities
2012-03-26 08:36:59 +03:00
Perttu Ahola
dcef5183f7
Small fix to fs::GetDirListing when trying to list an inexistent directory
2012-03-25 23:16:53 +03:00
Perttu Ahola
728d01ef4b
MSVC build directory autodetection at startup
2012-03-25 23:10:09 +03:00
Perttu Ahola
0557df8d06
Add OPENAL_DLL LIBOGG_DLL LIBVORBIS_DLL and LIBVORBISFILE_DLL to be used optionally when installing
2012-03-25 22:50:09 +03:00
Perttu Ahola
3a9753b85f
Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS
2012-03-25 22:07:34 +03:00
Perttu Ahola
188b303991
Don't try to use sound if building only server
2012-03-25 21:10:25 +03:00
Perttu Ahola
836595313c
Raise PROTOCOL_VERSION to 9, as this is not compatible with earlier versions
2012-03-25 20:36:02 +03:00
Perttu Ahola
6779036d25
Make server world selection not brain dead and use gameid 'minetest' instead of 'mesetint'
2012-03-25 20:30:58 +03:00
Perttu Ahola
4fb6c07535
Change postfixes from N.ogg to .N.ogg in user/testsounds/ loader
2012-03-25 18:51:05 +03:00
Perttu Ahola
f01c988094
Some serialization version stuff
2012-03-25 18:45:27 +03:00
Perttu Ahola
677456d319
Initialize utility.h return values to 0 to make lazily error-checked deserialization code work less chaotically
2012-03-25 17:09:24 +03:00
Perttu Ahola
98c40f5ee6
Switch sound randomizer postfixes from N.ogg to .N.ogg
2012-03-25 16:21:34 +03:00
Perttu Ahola
db0928add3
Sound loading from memory (by using a quick hack)
2012-03-25 15:52:43 +03:00
Perttu Ahola
1cac1de3b2
Almost support loading sounds from server
2012-03-25 14:48:22 +03:00
Perttu Ahola
524c78a8d6
Add a variant of hex_encode
2012-03-25 14:48:19 +03:00
Perttu Ahola
e71262463f
Add removeStringEnd()
2012-03-25 14:48:14 +03:00
Perttu Ahola
26666bb36f
Add more media directories; mod/{textures,sounds,media}
2012-03-25 12:10:58 +03:00
Perttu Ahola
f801e16b78
Texture cache -> Media cache WIP
2012-03-25 11:51:33 +03:00
Jonathan Neuschäfer
4bf5065a9c
Cache textures by checksum
2012-03-25 11:51:00 +03:00
Perttu Ahola
04085cad3c
Make event_manager.h build on MSVC
2012-03-25 04:06:45 +03:00
Perttu Ahola
c8997e48c0
Build configuration fixes/improvements on Windows
2012-03-25 04:03:51 +03:00
Perttu Ahola
77621568fd
Fix build on MinGW (as compared to Linux)
2012-03-24 23:16:09 +02:00
Perttu Ahola
601d1936c9
Lua API for playing sounds
2012-03-24 19:01:26 +02:00
Perttu Ahola
06e93f8d95
Add sound.dig
2012-03-24 11:10:28 +02:00
Perttu Ahola
93219e3b9d
Add sounds, tune things
2012-03-24 04:24:26 +02:00
Perttu Ahola
77120a021d
Digging and placing sounds
2012-03-24 04:24:26 +02:00
Perttu Ahola
6c14025b2d
Add event manager and use it to trigger sounds
2012-03-24 04:24:26 +02:00
Perttu Ahola
e53794868e
LocalPlayer::getStandingNodePos()
2012-03-24 04:24:26 +02:00
Perttu Ahola
8c2f3bb378
c55sound continued
2012-03-24 04:24:25 +02:00
Perttu Ahola
0ac2ce7dea
Update/fix/improve config.h and cmake_config.h.in
2012-03-24 04:24:25 +02:00
Perttu Ahola
c301e3c82a
celeron55's sound system initial framework
2012-03-24 04:24:23 +02:00
Perttu Ahola
9dd78a8a45
Seriously WTF, LLVM/clang?
2012-03-23 00:45:18 +02:00
Perttu Ahola
ede1674d6a
Fix filesys.cpp debug output to go into debug.txt
2012-03-23 00:05:32 +02:00
Perttu Ahola
c3f2b24a9a
Remove useless clearing of the Z buffer
2012-03-22 22:15:38 +02:00
Perttu Ahola
c13691a8e6
Add output levels --info and --trace (--verbose is now more verbose)
2012-03-22 14:10:37 +02:00
Perttu Ahola
2671b9af1b
Move headers from socket.h to socket.cpp
2012-03-22 13:41:50 +02:00
Perttu Ahola
7d0ad0f521
Fix UDPSocket's debug output
2012-03-22 13:36:37 +02:00
Perttu Ahola
9bd75d5668
Log at info level when a banned client connects
2012-03-22 13:35:32 +02:00
Perttu Ahola
ef0ec31554
Goddamn MSVC pow overload ambiguities
2012-03-21 22:11:15 +02:00
Perttu Ahola
da4f51332f
Add ScopeProfilerType SPT_GRAPH_ADD
2012-03-21 15:38:24 +02:00
Perttu Ahola
194258b479
Add different automatic profiler graph drawing style for relative-ish plots
2012-03-21 15:06:45 +02:00
Perttu Ahola
fa416e7116
Add more graph colors, add mainloop_dtime graph, make statustext fade away faster
2012-03-21 15:06:44 +02:00
Perttu Ahola
71b2e0e002
Modify and clean main loop to allow measuring the proper times
2012-03-21 15:06:44 +02:00
Perttu Ahola
7d1ac4d1f6
Profiler graph
2012-03-21 15:06:41 +02:00
Perttu Ahola
2f2ef80ec2
Use atof() in mystof(), because istringstream>>float randomly causes a segfault on mingw
2012-03-21 02:16:22 +02:00
Perttu Ahola
c0530921ff
Attempt to fix some minor memory leaks
2012-03-20 17:55:34 +02:00
Perttu Ahola
50621ffe85
Fix mod paths
2012-03-20 01:07:02 +02:00
Perttu Ahola
db4911f956
Fix for MSVC and move stuff around a bit in CMakeLists.txt and src/CMakeLists.txt
2012-03-20 01:06:58 +02:00
Perttu Ahola
b9cc0a7976
Move icon files to misc/
2012-03-20 00:32:43 +02:00
Perttu Ahola
97b693052c
Flatten share/ and user/ in the source and for the RUN_IN_PLACE build
2012-03-20 00:08:00 +02:00
Perttu Ahola
19ed3bb193
Move share/builtin.lua to share/builtin/builtin.lua
2012-03-19 21:37:27 +02:00
Perttu Ahola
895b970a10
Move client textures to the correct place
2012-03-19 21:34:21 +02:00
Perttu Ahola
1f56d71f19
Rework directory structure
2012-03-19 20:44:07 +02:00
Perttu Ahola
1ff20da5b6
Add the mod search path user/mods/gameid
2012-03-19 08:34:38 +02:00
Perttu Ahola
5ef78cd815
Make Lua error output in log clearer
2012-03-19 08:23:48 +02:00
Perttu Ahola
d24c56fd4b
Unknown nodes can be dug
2012-03-19 08:16:17 +02:00
Perttu Ahola
c54a40df06
Attempt to fix build for MSVC
2012-03-18 19:08:13 +02:00
Perttu Ahola
9c4f68e174
Fix getVisibleBrightness() to return sunlight visibility correctly even if not much of world has been loaded
2012-03-18 18:30:21 +02:00
Perttu Ahola
2e0c0e9d89
Fix old world search path for non-run-in-place build
2012-03-18 17:17:05 +02:00
Perttu Ahola
569fca5308
Disable word wrap in vertical texts in main menu
2012-03-18 16:32:59 +02:00
Perttu Ahola
b409803527
Fix installation in cmake project files
2012-03-18 16:30:02 +02:00
Perttu Ahola
99d257ae8b
"or" -> "||" in content_mapblock.cpp
2012-03-18 16:07:17 +02:00
Perttu Ahola
2f2b7915ea
Fix and tune stars
2012-03-18 15:57:25 +02:00
Perttu Ahola
c1cfcb1577
Do not clear address in main menu if starting a singleplayer game by double clicking the world
2012-03-18 15:26:06 +02:00
Perttu Ahola
2e90ed07ac
Dynamic sky, fog and cloud colors; sun and moon
2012-03-18 13:42:18 +02:00
Perttu Ahola
58bed83d03
Move ClientMap to clientmap.{h,cpp}
2012-03-16 00:25:18 +02:00
Perttu Ahola
54917e3062
Add Client::getEnv() and remove some unnecessary wrappers
2012-03-15 23:54:10 +02:00
Perttu Ahola
81385682c8
Revert old 4BS/s walk speed for now
2012-03-15 23:11:07 +02:00
Kahrl
807a0d313b
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
2012-03-15 21:45:44 +02:00
Perttu Ahola
f9a66c5d46
Tune main menu
2012-03-15 21:37:43 +02:00
Perttu Ahola
60add387e3
Create main menu tab "Settings" for client settings
2012-03-15 18:15:12 +02:00
Perttu Ahola
ca0fd4173c
Fix click areas of singleplayer checkboxes
2012-03-15 16:20:26 +02:00
Perttu Ahola
4aa0f040fb
Fix initial moving of mouse above the "exit to menu" button in singleplayer mode
2012-03-15 16:20:21 +02:00
Perttu Ahola
5957fed9a7
Fix and improve Server's privilege get/setters
2012-03-15 15:38:59 +02:00
Perttu Ahola
6298878bfa
Add "simple singleplayer mode"; Fix a number of GUI things
2012-03-15 15:20:20 +02:00
Perttu Ahola
899004207d
Save selected tab
2012-03-15 14:17:05 +02:00
Perttu Ahola
2b200d481f
Menu tuning WIP
2012-03-15 13:59:48 +02:00
Perttu Ahola
8551ddc839
Use a more standard order of yes/no/cancel/whatever buttons in dialogs
2012-03-15 13:18:21 +02:00
Perttu Ahola
eea3277b81
Crude tab test in main menu (requires gui redesign for the additional tabs)
2012-03-13 08:50:03 +02:00
Perttu Ahola
11b86f8d8a
Add [new] to world name when supplying a non-existent world on command line
2012-03-13 01:46:24 +02:00
Perttu Ahola
71a3c2fcd1
Allow directly supplying world as a parameter, including world.mt
2012-03-13 01:46:19 +02:00
Perttu Ahola
4ff36696ea
Move keychange/connect main menu buttons a bit
2012-03-13 01:02:25 +02:00
Perttu Ahola
800d3b4ee7
Fix game selection in world creation (used always the first one)
2012-03-13 00:58:57 +02:00
Perttu Ahola
a0b2c7ba25
Attempt to fix RUN_IN_PLACE autodetection on Linux
2012-03-13 00:51:33 +02:00
Perttu Ahola
64232f0aec
Add confirmation menu and make world deletion possible in GUI
2012-03-13 00:48:05 +02:00
Perttu Ahola
591527d878
World creation button and dialog and functionality
2012-03-13 00:06:37 +02:00
Perttu Ahola
82073025cc
Remember selected world by path
2012-03-12 22:15:56 +02:00
Perttu Ahola
2c9bb06516
Make finish quicktune and leave it unused (as intended)
2012-03-12 21:27:29 +02:00
Perttu Ahola
18c4a90101
Add quicktune.{cpp,h}
2012-03-12 08:38:15 +02:00
Perttu Ahola
5a8ee4889d
Handle certain errors properly when using --go
2012-03-11 21:41:32 +02:00
Perttu Ahola
ea1fdf3201
Add a note about minetest.conf in the key change dialog (because it sucks)
2012-03-11 21:32:03 +02:00
Perttu Ahola
2e61008fd9
Use default_game when making a new world using --world without --gameid
2012-03-11 21:24:29 +02:00
Perttu Ahola
eafde7186f
Remove duplicate code in main menu
2012-03-11 21:12:27 +02:00
Perttu Ahola
a72dc388c3
Rename "Delete map" to "Delete world"
2012-03-11 21:03:54 +02:00
Perttu Ahola
618314985d
Proper handling of failing to bind server socket
2012-03-11 20:45:43 +02:00
Perttu Ahola
d1d83d7e7f
World selection box in main menu (and random fixing)
2012-03-11 20:45:14 +02:00
Perttu Ahola
bcaab74f1f
--world implies local game
2012-03-11 16:11:07 +02:00
Perttu Ahola
1b670a293b
Fix CreateAllDirs() (failed for relative fully non-existing path)
2012-03-11 16:06:32 +02:00
Perttu Ahola
45f78bdf40
Mention world location at server startup at action level
2012-03-11 15:49:14 +02:00
Perttu Ahola
3da05a09b5
--logfile '' = no logging
2012-03-11 15:28:35 +02:00
Perttu Ahola
f79082a46d
Remove useless debug output (log at info level)
2012-03-11 15:23:30 +02:00
Perttu Ahola
e71d75ed9a
--gameid list
2012-03-11 15:20:42 +02:00
Perttu Ahola
6a1b6d0344
world.mt creation
2012-03-11 15:04:50 +02:00
Perttu Ahola
7f7fb9750d
command-line/world game selection
2012-03-11 14:54:23 +02:00
Perttu Ahola
af33b3b338
Limit crack update speed
2012-03-11 12:28:41 +02:00
Perttu Ahola
a87d19cd7e
When mouse button is held down in air, show continuous animation
2012-03-11 12:22:37 +02:00
Perttu Ahola
611fe41588
Fix log output in ban.cpp
2012-03-11 12:12:21 +02:00
Perttu Ahola
8b6cce18cb
Improve command-line parameters
2012-03-11 12:06:59 +02:00
Perttu Ahola
d330430336
Prettify --help output
2012-03-11 11:02:22 +02:00
Perttu Ahola
37b2bc3c0c
Move huge comment from the beginning of main.cpp to doc/ancient_main_comment.txt
2012-03-11 10:53:27 +02:00
Perttu Ahola
f49914dd17
--verbose, not --info-on-stderr
2012-03-11 04:22:48 +02:00
Perttu Ahola
f1d9880006
Clean up log messages everywhere
2012-03-11 04:15:45 +02:00
Perttu Ahola
6ec447a1aa
Do not print errors when searching for usable configuration file
2012-03-11 01:09:27 +02:00
Perttu Ahola
b485fac33e
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
2012-03-11 00:54:51 +02:00
Perttu Ahola
98404ad8ea
Increase Peer max_packets_per_second (hopefully doesn't break anything)
2012-03-11 00:20:04 +02:00
Perttu Ahola
2de8f915f8
Tune "Connecting to server" and "Waiting content" screens
2012-03-10 23:28:51 +02:00
Kahrl
967f25461b
Chat console, including a number of rebases and modifications.
...
Defaults modified from original: alpha=200, key=F10
2012-03-10 20:11:10 +02:00
Perttu Ahola
0053651814
Starting the game in the pause menu is lame, don't do it\!
2012-03-10 18:21:15 +02:00
Kahrl
7d36833bd4
Set fixed FOV for the wielded item
2012-03-10 18:15:31 +02:00
Kahrl
1bbfd0b6d2
Different implementation of KeyPress::operator==
...
Fixes some key mapping issues.
2012-03-10 18:10:59 +02:00
Perttu Ahola
4547ace59a
Make Camera::updateViewingRange more snappy in following the min/max settings
2012-03-10 18:03:40 +02:00
Perttu Ahola
d74659254b
Faster player movement and smaller collision box
2012-03-10 17:28:56 +02:00
Perttu Ahola
55d310b05a
dig_immediate=2 -> 0.5 seconds digging time
2012-03-10 17:25:14 +02:00
Perttu Ahola
e80bc6ef58
Tidy up server log output a bit
2012-03-10 17:10:16 +02:00
Perttu Ahola
d81e783665
Clean unit test output
2012-03-10 17:10:16 +02:00
Perttu Ahola
030b63c3d2
Add and tidy up some Server log output for declined connections
2012-03-10 17:10:16 +02:00
Perttu Ahola
f3dba05143
Remove servermain.cpp, use main.cpp with a couple of #ifdefs instead
2012-03-10 17:10:16 +02:00
Perttu Ahola
1020707918
Fix addon and configuration file paths
2012-03-10 17:10:16 +02:00
Perttu Ahola
c89d1cf072
Initial directory structure rework
2012-03-10 17:10:10 +02:00
Perttu Ahola
9c5e422d3a
Ban and Auth managers use infostream rather than dstream
2012-03-10 15:49:38 +02:00
Perttu Ahola
06d2bc7fbd
dig_immediate=3 instead of 1 means 0 seconds
2012-03-10 11:28:14 +02:00
Perttu Ahola
f9da2c9507
Immediate smoke puff when a normal entity is punched to death
2012-03-10 11:28:14 +02:00
Perttu Ahola
989aba1966
Fix and tune things, add tool "recharge" animation, add dummyball
2012-03-10 11:28:14 +02:00
Perttu Ahola
8db89b8136
LuaEntity armor groups
2012-03-10 11:28:13 +02:00
Perttu Ahola
8c01ad8a9d
ClientActiveObject::debugInfoText()
2012-03-10 11:28:13 +02:00
Perttu Ahola
f60a5ec08f
Remove header in servermain.cpp to make minetestserver to build
2012-03-10 11:28:13 +02:00
Perttu Ahola
501b8fe743
Damage groups WIP
2012-03-10 11:28:13 +02:00
Perttu Ahola
e9cdb938fe
Entity damage system WIP; Remove C++ mobs
2012-03-10 11:28:13 +02:00
Perttu Ahola
f1cb91cd93
Small fix in getHitParams
2012-03-10 11:28:13 +02:00
Perttu Ahola
910186905f
Don't draw cracks when digging is impossible
2012-03-10 11:28:13 +02:00
Perttu Ahola
07ed57476f
itemgroup.h and ItemGroupList typedef
2012-03-10 11:28:13 +02:00
Perttu Ahola
0b21618a05
Tune group digging time stuff a bit
2012-03-10 11:28:13 +02:00
Perttu Ahola
562ac3bce9
Digging time groups WIP
2012-03-10 11:28:12 +02:00
Jeija
f21291211c
Improve raillike drawtype
2012-03-10 11:16:45 +02:00
Perttu Ahola
d834d6e074
Handle select errno EINTR properly (not doing this breaks at least many profilers)
2012-03-08 10:03:29 +02:00
Perttu Ahola
11716825fc
Move profiler measurements into inside of mutex locking for more useful results
2012-03-07 21:54:18 +02:00
Perttu Ahola
0309021359
Add dedicated_server_step setting
2012-03-07 21:44:53 +02:00
Perttu Ahola
14a71590c3
Merge remote-tracking branch 'jn/random-fixes'
2012-02-28 21:47:15 +02:00
Juhani Numminen
79326e6287
Add descriptions to command line arguments
2012-02-28 21:03:45 +02:00
Perttu Ahola
b7fd3c8669
Add minetest.get_worldpath() for getting location for custom data
2012-02-28 20:41:26 +02:00
Jonathan Neuschäfer
3a89c40e26
mesh: warn only once about render-to-target not being supported
2012-02-24 23:27:01 +01:00
Jonathan Neuschäfer
ff678d1607
tile: remove redundant warning about failing render-to-target
2012-02-24 23:27:01 +01:00
Jonathan Neuschäfer
abab3db23d
tile: don't duplicate std::string::find_last_of
2012-02-24 23:26:14 +01:00
Jonathan Neuschäfer
496451c164
itemdef: handle the !render-to-target case
2012-02-24 22:37:16 +01:00
Perttu Ahola
993821a924
Tune brightness stuff and fog color
2012-02-06 17:40:48 +02:00
Perttu Ahola
ad5ac22442
Set default maximum viewing range to a bit more than default server send range to make fog work well
2012-02-06 17:34:45 +02:00
Perttu Ahola
94b25685c5
Fix calculating if block is in viewing range; fix fog and default minimum accordingly
2012-02-06 17:27:54 +02: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
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
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
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
6d4bc012f0
Fix key change menu a bit
2012-01-06 19:50:40 +02:00
Perttu Ahola
2f5c28aaf1
ObjectRef:setpos() to move player properly (a bit shortcuttish implementation)
2012-01-06 19:17:44 +02:00
Perttu Ahola
4f2c1e36a1
Implement minetest.register_on_dieplayer()
2012-01-06 00:12:33 +02:00
Perttu Ahola
bc743ca7ce
Add missing checks to texture caching
2012-01-04 00:37:46 +02:00
Perttu Ahola
f9d7e399b2
Limit range of ABM timer initial value randomization
2012-01-03 13:49:47 +02:00
Perttu Ahola
3e6f824e6c
Use free rather than delete for malloc'd memory
2012-01-02 21:42:33 +02:00
Perttu Ahola
6286c555d4
Initialize ABM timer to random value to spread processing
2012-01-02 21:06:38 +02:00
Perttu Ahola
4630281318
Fix ABM trigger chance being often way too high
2012-01-02 20:26:33 +02:00
Perttu Ahola
cd0019acd2
Fix server sending stuff before textures have been sent
2012-01-02 17:44:00 +02:00
Perttu Ahola
e82a76e438
Mark ObjectRef::get_entity_name() deprecated
2012-01-02 17:33:03 +02:00
Perttu Ahola
ab57fbe4ca
Add name field to registered entities
2012-01-02 16:26:40 +02:00
Perttu Ahola
56f55ab1af
Add ObjectRef:getvelocity(), ObjectRef:setyaw() and ObjectRef:getyaw()
2012-01-02 16:19:52 +02:00
Perttu Ahola
2445cbbbdc
Add ObjectRef:get_luaentity()
2012-01-02 16:08:59 +02:00
Perttu Ahola
2b9596fe9b
Make text area in message dialog a bit larger
2012-01-02 13:34:24 +02:00
Perttu Ahola
0e1f448b61
Texture cache on client (mostly made by sapier) (breaks network compatibility)
2012-01-02 13:31:50 +02:00
Perttu Ahola
ff82b95800
ObjectRef:get_entity_name() and fixing of comments in default/init.lua
2012-01-02 13:12:56 +02:00
Perttu Ahola
49b7055cb3
Make add_entity return a reference to added entity (or nil)
2012-01-02 12:48:25 +02:00
Perttu Ahola
e48ccd7943
Add ObjectRef:get_inventory() and add stuff to documentation comments
2012-01-02 02:59:14 +02:00
Perttu Ahola
6be5441176
Working implementation of experimental:luafurnace
2012-01-02 02:59:14 +02:00
Perttu Ahola
d5ba7ebaf0
Random fixes to InvRef related stuff and a broken luafurnace
2012-01-02 02:59:14 +02:00
Perttu Ahola
270a482740
Add InvRef:get_list() and InvRef:set_list() and fix some things (untested)
2012-01-02 02:59:14 +02:00
Perttu Ahola
e0b4890794
Add minetest.get_inventory(location), untested
2012-01-02 02:57:14 +02:00
Perttu Ahola
247e8b6e5d
A small robustness addition to ItemStack
2012-01-02 01:49:38 +02:00
Perttu Ahola
b760e2ba23
Rename InvStack to ItemStack
2012-01-02 01:49:38 +02:00
Perttu Ahola
103173fc9b
Add InvRef and InvStack (currently untested and unusable)
2012-01-02 01:49:38 +02:00
Perttu Ahola
81d3485109
Fix segfault when generating stuff on world boundaries
2012-01-01 21:01:55 +02:00
Perttu Ahola
7b7b68cdab
Correctly pop stuff from the Lua stack in script_load()
2011-12-31 14:41:57 +02:00
Giuseppe Bilotta
135a65e200
Add virtual destructors to abstract classes
...
IRespawnInitiator and InventoryActions are abstract classes, but they
were missing a virtual destructor. Define it, even if it does nothing
and its absence most likely makes no difference other tha causing
warnings during compile.
2011-12-28 20:50:21 +02:00
Perttu Ahola
123529e5eb
Fix mirrored sign texture
2011-12-28 18:29:33 +02:00
Perttu Ahola
1c15f53318
Add EnvRef:get_objects_inside_radius(pos, radius)
2011-12-28 18:18:08 +02:00
Perttu Ahola
7937813c98
Add get_look_dir(), get_look_pitch() and get_look_yaw() for players
2011-12-28 17:34:07 +02:00
Perttu Ahola
ad4040d982
Fix minetest.env:get_player_by_name(nil) causing segfault and similar things
2011-12-28 16:25:29 +02:00
Perttu Ahola
69579306dd
Extend load screen maximum time
2011-12-11 16:52:19 +02:00
Perttu Ahola
bd21f00f0a
Add minetest.get_modpath(modname)
2011-12-11 16:49:40 +02:00
Perttu Ahola
abd106bacb
Enforce modname naming convention
2011-12-04 18:26:05 +02:00
Perttu Ahola
008de2fb8f
Delete unknown LuaEntities when punched
2011-12-04 16:25:27 +02:00
Perttu Ahola
ea36951bc4
Rename EnvRef:add_luaentity to EnvRef:add_entity
2011-12-04 16:08:37 +02:00
Perttu Ahola
09c48b60bd
Add EnvRef:get_node_light(pos, timeofday)
2011-12-04 15:55:37 +02:00
Perttu Ahola
4cc117ddf6
Properly use time_from_last_punch for limiting PvP punch damage
2011-12-04 14:43:01 +02:00
Kahrl
ceaf8edade
Use plain IBillboardSceneNode instead of MyBillboardSceneNode (improves
...
Irrlicht 1.8 compat); also find dungeon master's fireball texture
again; add /spawnentity command
2011-12-04 13:27:30 +02:00
Perttu Ahola
520200d597
Check symlinks with stat() to know if they are directories or not
2011-12-04 13:02:00 +02:00
Perttu Ahola
ab67985d21
Add support for unix filesystems which yield DT_UNKNOWN in dirent->d_type, falling back on stat().
2011-12-04 12:49:58 +02:00
Perttu Ahola
bc5cc638fc
Fix player not dying when beated to death by other player
2011-12-04 03:56:22 +02:00
Perttu Ahola
bff8be8b76
Fix getting two old-style minerals per digged node
2011-12-04 03:47:55 +02:00
Perttu Ahola
3e95b8a158
Determine light_propagates from paramtype
2011-12-04 03:45:02 +02:00
Perttu Ahola
6145a135bd
Make ToolItem and MaterialItem to convert names by aliases at creation time too (necessary for eg. crafting)
2011-12-04 02:12:45 +02:00
Perttu Ahola
4ad8891e05
Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table
2011-12-04 01:16:22 +02:00
Perttu Ahola
3a689a5c4f
Don't initialize ItemCAOs with stick.png
2011-12-04 00:45:12 +02:00
Perttu Ahola
44e36d9aad
Fix craftitem aliases
2011-12-04 00:44:29 +02:00
Perttu Ahola
829c632511
Craftitem aliases
2011-12-04 00:39:20 +02:00
Perttu Ahola
8730dfb1f9
Fix log message in tooldef.cpp
2011-12-04 00:35:08 +02:00
Perttu Ahola
6764365994
Modify a commit in tooldef.cpp and nodedef.cpp
2011-12-04 00:33:05 +02:00
Perttu Ahola
8addbc9655
Tool aliases
2011-12-04 00:22:34 +02:00
Perttu Ahola
658d1a7235
Add serialization for node aliases to let client show inventory images correctly
2011-12-04 00:07:02 +02:00
Perttu Ahola
4b00d4d9d2
Node definition aliases
2011-12-03 23:50:31 +02:00
Perttu Ahola
1fe5c58d56
Rename cookresult_item to cookresult_itemstring
2011-12-03 18:45:04 +02:00
Perttu Ahola
f23616acaf
add EnvRef:get_node_or_nil()
2011-12-03 18:37:50 +02:00
Perttu Ahola
7d37913ea4
Add ABM required neighbor check
2011-12-03 18:18:59 +02:00
Perttu Ahola
d566ffaa5f
Allow digging unknown nodes
2011-12-03 13:56:39 +02:00
Perttu Ahola
d06d7cb9a4
Show infotext for unknown nodes
2011-12-03 13:51:16 +02:00
Perttu Ahola
e494b5d422
Show infotext for unknown items placed on ground
2011-12-03 13:46:19 +02:00
Perttu Ahola
871e6c0c73
On SIGINT in main menu, don't connect before shutting down
2011-12-03 12:02:27 +02:00
Kahrl
392485aa45
inventorycube: use all three specified textures; also moved mesh creation / modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube
2011-12-03 11:47:37 +02:00
Kahrl
275a348b75
Do not broadcast an empty chat message when someone tries to log in with the wrong password
2011-12-03 11:47:19 +02:00
Kahrl
189689716c
Notify player whose password is being changed
2011-12-03 11:47:19 +02:00
Perttu Ahola
746b960c0d
Note about debug.txt in error message dialog when mod fails to load
2011-12-03 11:44:47 +02:00
Perttu Ahola
760416b81f
Change naming convention to be modname:* instead of modname_* (sorry modders!)
2011-12-03 11:41:52 +02:00
Perttu Ahola
c6dd75ccfb
Add usermods/ to mod search paths and print out the paths at server startup
2011-12-03 03:43:20 +02:00
Perttu Ahola
6b2023dc3e
Properly handle mod name conflicts
2011-12-03 03:32:30 +02:00
Perttu Ahola
2f4a92d701
Better mod loading error handling
2011-12-03 03:23:14 +02:00
Perttu Ahola
324c544922
Add world/mods to mod search path
2011-12-03 02:55:54 +02:00
Perttu Ahola
d96cd236f3
Enforced mod global naming convention and better error reporting
2011-12-03 02:45:55 +02:00
Perttu Ahola
581f950e10
Fix script error reporting a bit
2011-12-02 22:49:54 +02:00
Perttu Ahola
9344816bd6
Fix ActiveObject creation for fast player respawns
2011-12-02 17:30:22 +02:00
Perttu Ahola
67c21fc42f
Fix sending of player hp (was sent all the time)
2011-12-02 17:19:42 +02:00
Perttu Ahola
ec1859b095
Show bare hand when no item is selected
2011-12-02 15:20:42 +02:00
Perttu Ahola
b9e8e20c9c
Script-defined creative inventory
2011-12-02 12:43:57 +02:00
Perttu Ahola
932988af46
Rename "build" privilege to "interact" (backwards-compatibly, of course)
2011-12-02 12:18:19 +02:00
Perttu Ahola
69bc9224db
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
2011-12-02 12:12:07 +02:00
Perttu Ahola
a17efe6e8f
Remove obsolete createPickedUpItem()
2011-12-02 11:54:23 +02:00
Perttu Ahola
e8b0722137
Add time_from_last_punch to Lua API
2011-12-02 11:51:41 +02:00
Mark Holmquist
a465fd5b99
+ middle-click now empties the inventory slot properly
2011-12-02 11:31:10 +02:00
Perttu Ahola
9af0142a36
Add enable_pvp setting
2011-12-02 11:25:47 +02:00
Perttu Ahola
34fd47887e
Make unlimited player transfer distance configurable
2011-12-02 11:22:09 +02:00
Perttu Ahola
2dc9a0c724
Fix player double damage
2011-12-02 11:16:51 +02:00
Perttu Ahola
c357985135
Make hitting players make a visual damage flash to the player texture and the screen of the local player
2011-12-02 10:57:40 +02:00
Perttu Ahola
ae2b7f9523
Don't hide players in pitch black (like oerkkis)
2011-12-02 10:45:43 +02:00
Perttu Ahola
5344dec760
Move ServerRemotePlayer to a separate file
2011-12-02 10:44:20 +02:00
Perttu Ahola
dc05b106f2
Fix the previous commit
2011-12-02 02:04:25 +02:00
Perttu Ahola
a416cf7c45
Enforce PLAYER_INVENTORY_SIZE in ObjectRef::l_inventory_set_list
2011-12-02 02:01:46 +02:00
Perttu Ahola
09010410cf
Print out PROTOCOL_VERSIONs if server is incompatible with client
2011-12-02 01:24:54 +02:00
Perttu Ahola
f8bbecebf5
Higher default map save and unload interval
2011-12-02 01:20:54 +02:00
Perttu Ahola
9d67037570
Don't send objects or map data before definitions have been sent
2011-12-02 01:18:25 +02:00
Perttu Ahola
e4daa4c065
Make players be again visible from a long distance
2011-12-02 01:08:14 +02:00
Perttu Ahola
08a10b8a6a
Remove stuff made obsolete by making players more ActiveObject-like and raise protocol version number by one (because it is not compatible at all anymore)
2011-12-01 23:55:57 +02:00
Perttu Ahola
af32240545
Players are more like objects + related stuff
2011-12-01 23:33:48 +02:00
Perttu Ahola
ee0d3bacbc
Player-is-SAO WIP
2011-12-01 18:23:58 +02:00
Perttu Ahola
9dcfa882b1
Fix non-fancy leaves not making faces with water
2011-12-01 14:48:52 +02:00
Perttu Ahola
cb589b1f99
Make non-fancy leaf texture to go in texture atlas too
2011-12-01 14:12:47 +02:00
Perttu Ahola
e6e3eef0ef
Add ServerActiveObject::removingFromEnvironment()
2011-12-01 13:22:33 +02:00
Perttu Ahola
0e113a4c81
Remove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it was not used, 2) if it will be used, it won't need to do that anymore
2011-12-01 13:01:37 +02:00
Perttu Ahola
1da3a8e24b
Fix getTextureRaw to always return an image that is not in the texture atlas and fix plain "^[forcesingle" handling
2011-12-01 13:00:27 +02:00
Perttu Ahola
3509714951
Fix loading of legacy MaterialItems (was loaded as a quite random type)
2011-12-01 12:50:32 +02:00
Perttu Ahola
146be1f0b6
Fix texture atlas not being created correctly
2011-12-01 12:43:17 +02:00
Kahrl
2ca00fa585
Fix processing of the default_password setting. It is now actually used as the plaintext password for new users. Also add /setpassword and /clearpassword server commands that can be used by admins with the PRIV_PASSWORD privilege, and update the /help message.
2011-12-01 12:06:39 +02:00
Kahrl
1901158b3e
Make camera.cpp Irrlicht 1.8-compatible by calling ITexture::lock differently depending on the irrlicht version.
2011-12-01 11:56:06 +02:00
Perttu Ahola
f4272ccf8f
Enable simple drag and drop in inventory
2011-12-01 11:32:51 +02:00
Perttu Ahola
4196b0d341
Inventory move-to-slot hilighting
2011-12-01 11:25:55 +02:00
Giuseppe Bilotta
aab50cd2cc
Fix conditional bug in inventory
...
A spurious semicolon after the conditional checking for the drop count
to be not higher than the owned count caused the subsequent
count = getCount()
to be always executed. Fix by removing the extra semicolon.
2011-12-01 10:41:24 +02:00
Giuseppe Bilotta
96c30452f9
Fix structs being declared as classes
...
Some compilers complain when a class is declared as a struct or vice
versa. Fix by making sure that the correct tag is used both in
declaration and definition.
2011-12-01 10:39:47 +02:00
Perttu Ahola
b6539399f4
Fix deadlock if MeshUpdateThread asks new textures while it is being stopped (happened if texture data was transferred slowly)
2011-12-01 02:41:52 +02:00
Perttu Ahola
8b8ef8acc0
Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being filled correctly on some systems and compilers
2011-12-01 01:58:31 +02:00
Perttu Ahola
d8d6d0dc95
Do not assert if count becomes larger than getStackMax() in InventoryItem::add(); it is nicer for scripting and overall hacking this way, because rising it higher than the limit is does not break anything. It should be, and is, enforced elsewhere where appropriate.
2011-12-01 00:07:21 +02:00
Perttu Ahola
f6c6c4f917
Load count 0 in itemstring as 1
2011-12-01 00:04:21 +02:00
Perttu Ahola
1b61ca412b
ObjectRef:get_player_name, ObjectRef:inventory_set_list, ObjectRef:inventory_get_list
2011-11-30 23:38:18 +02:00
Perttu Ahola
cd563473fa
Add ObjectRef:punch and ObjectRef:right_click to Lua API
2011-11-30 20:54:54 +02:00
Perttu Ahola
a244e367ea
Add get_wielded_itemstring, get_wielded_item, damage_wielded_item and make getacceleration visible in API
2011-11-30 20:36:07 +02:00
Perttu Ahola
347216d654
Reworked the inventory move handling code, hopefully fixed more problems than caused
2011-11-30 19:49:34 +02:00
Perttu Ahola
49e4f55b09
Fix player getting reset to 0,0 at connect if being far from 0,0
2011-11-30 00:39:36 +02:00
Perttu Ahola
ccfec0400f
Modify builtin ABMs to have lower interval and higher trigger non-chance
2011-11-29 23:22:44 +02:00
Perttu Ahola
e109ed5cef
Proper player inventory and hp modification tracking and sending accordingly
2011-11-29 23:18:20 +02:00
Perttu Ahola
b2c905d800
Tune main menu a bit and show version number in there
2011-11-29 22:34:58 +02:00
Perttu Ahola
4bcff65ad0
Better version match fail messages from server
2011-11-29 22:23:03 +02:00
Perttu Ahola
103d4793f0
Create the necessary API for /giveme and /give and implement those commands; also sort out the scripts a bit
2011-11-29 21:30:22 +02:00
Perttu Ahola
2a610b011a
Handle items with m_count==0 sanely when placing
2011-11-29 21:05:53 +02:00
Perttu Ahola
cd030639a4
Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
2011-11-29 21:05:36 +02:00
Perttu Ahola
6d23fb2592
Do not install the static lua library file
2011-11-29 19:27:41 +02:00
Perttu Ahola
bc48cf076d
Remove content_inventory.{h,cpp}
2011-11-29 19:13:59 +02:00
Perttu Ahola
be2ecf9186
Quick fix to a bug that makes it possible to raise water levels everywhere with one source
2011-11-29 19:13:59 +02:00
Perttu Ahola
bd1e5f4fc8
Add missing files for a previous commit
2011-11-29 19:13:58 +02:00
Kahrl
d6b30dd3a5
CraftItem rework and Lua interface
2011-11-29 19:13:58 +02:00
Perttu Ahola
1c19f959db
Fix active_object_count and active_object_count_wider not getting updated between ABM calls causing huge amounts of DMs and rats and stuff
2011-11-29 19:13:58 +02:00
Perttu Ahola
dde22d26a8
Add NULL terminations to EnumString definitions
2011-11-29 19:13:57 +02:00
Perttu Ahola
c8211ceb3e
Some MSVC fixes
2011-11-29 19:13:57 +02:00
Perttu Ahola
c910ead4db
Fix CMake install data path
2011-11-29 19:13:57 +02:00
Perttu Ahola
fe64f2b673
Silly MSVC doesn't know how to handle type conversions for parameters of pow(). Help it.
2011-11-29 19:13:57 +02:00
Perttu Ahola
a91eb36277
Update installation in CMakeLists.txt
2011-11-29 19:13:57 +02:00
Perttu Ahola
026979e39d
Rename menu background to menubg.png, move unknown_block.png and unknown_object.png to client, make generating a placeholder image for the filename "" not cause an error
2011-11-29 19:13:57 +02:00
Perttu Ahola
705f142b8d
GenericNodeMetadata and an example furnace
2011-11-29 19:13:57 +02:00
Perttu Ahola
e880cc40e9
Fix stuff in inventory.{cpp,h}
2011-11-29 19:13:57 +02:00
Perttu Ahola
7bb4b7911b
Comment out debug output in ServerEnvironment::activateBlock
2011-11-29 19:13:57 +02:00
Perttu Ahola
fadf248892
Handle ActiveBlockModifier intervals properly, down to 1s
2011-11-29 19:13:57 +02:00
Perttu Ahola
0f2b932e92
Initial NodeMetaRef stuff
2011-11-29 19:13:56 +02:00
Perttu Ahola
34bd1b3032
Lua interface for ActiveBlockModifier
2011-11-29 19:13:56 +02:00
Perttu Ahola
8924588511
Remove creation of builtin.lua defined minetest.registered_* tables in C
2011-11-29 19:13:56 +02:00
Perttu Ahola
19a1ac1f34
For consistency, implement calling of on_chat_message callbacks in C
2011-11-29 19:13:56 +02:00
Perttu Ahola
30648d1cc9
Implement callback registration in Lua instead of C
2011-11-29 19:13:56 +02:00
Perttu Ahola
842eb5da28
Replace old active block random node modifying things with actual ActiveBlockModifiers
2011-11-29 19:13:56 +02:00
Perttu Ahola
05df2ee8a4
Add chat message callback and send functions
2011-11-29 19:13:56 +02:00
Perttu Ahola
ab3911ba9e
Print errors from local log to chat
2011-11-29 19:13:56 +02:00
Perttu Ahola
013921782b
Add a third log output interface method
2011-11-29 19:13:56 +02:00
Perttu Ahola
c449e5f20a
Use log_deregister_thread in EmergeThread
2011-11-29 19:13:56 +02:00
Perttu Ahola
6e0de7b42c
Add log_remove_output and log_deregister_thread
2011-11-29 19:13:55 +02:00
Perttu Ahola
2e42391b86
Fix mod dependency sort
2011-11-29 19:13:55 +02:00
Perttu Ahola
fd8b9a3a44
Warn about unsatisfied dependencies
2011-11-29 19:13:55 +02:00
Perttu Ahola
5c1cb01936
Make blocks to be loaded from disk when the active block area reaches them
2011-11-29 19:13:55 +02:00
Perttu Ahola
ec4f58741b
Fix a random commented-out piece of lighting code, altough it doesn't work any better
2011-11-29 19:13:55 +02:00
Perttu Ahola
4ce6e5f0c5
Optimize lighting by a tiny bit
2011-11-29 19:13:55 +02:00
Perttu Ahola
a8a82e0b21
Sort mods by dependencies defined by modpath/depends.txt in each mod (not mandatory)
2011-11-29 19:13:55 +02:00
Perttu Ahola
739cb87385
Fix default value of visual in LuaEntityProperties
2011-11-29 19:13:55 +02:00
Perttu Ahola
8492796a5c
Allow server-side teleporting
2011-11-29 19:13:55 +02:00
Perttu Ahola
218b626016
Fix and tune player movement checks (make them very loose)
2011-11-29 19:13:55 +02:00
Kahrl
f42c57d9a8
Add IDropAction and related stuff
2011-11-29 19:13:54 +02:00
Perttu Ahola
82a460ec90
Improve luaentity sprite functionality (and add some random stuff)
2011-11-29 19:13:54 +02:00
Perttu Ahola
1d36e68346
Fix liquid source backface culling (was not turned off)
2011-11-29 19:13:54 +02:00
Perttu Ahola
41c473cf5e
Fix player getting thrown underground after connecting
2011-11-29 19:13:54 +02:00
Perttu Ahola
b2ccbdffc1
Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock))
2011-11-29 19:13:54 +02:00
Perttu Ahola
769cc9879f
Add on_generated hook
2011-11-29 19:13:54 +02:00
Perttu Ahola
0dbb31afeb
Improve player movement speed checking
2011-11-29 19:13:54 +02:00
Perttu Ahola
1bfc3c1eb9
Player movement speed and node access distance checking
2011-11-29 19:13:54 +02:00
Perttu Ahola
8bd178c2e5
If available, use local textures instead of those sent by server
2011-11-29 19:13:53 +02:00
Perttu Ahola
65b2a2cb02
Make lighting update occur immediately after ClientActiveObject addition to make objects show up much more responsively
2011-11-29 19:13:53 +02:00
Perttu Ahola
70363847aa
Reshape LuaEntityCAO implementation a bit and make TNT to blink
2011-11-29 19:13:53 +02:00
Perttu Ahola
1ce749c86a
Optimize active block modifier stuff (was left horribly unoptimized after making content ids dynamic)
2011-11-29 19:13:53 +02:00
Perttu Ahola
08c9b6037d
Re-implement give_initial_stuff
2011-11-29 19:13:53 +02:00
Perttu Ahola
57a2bd056c
Exception handling in Lua setting get
2011-11-29 19:13:53 +02:00
Perttu Ahola
234bf99743
Lua setting getter
2011-11-29 19:13:53 +02:00
Perttu Ahola
f93144fee7
remove get_nodedef
2011-11-29 19:13:53 +02:00
Perttu Ahola
945d01fd9e
on_newplayer and on_respawnplayer callbacks
2011-11-29 19:13:53 +02:00
Perttu Ahola
908db7c1d2
Make node definitions available to Lua
2011-11-29 19:13:52 +02:00
Perttu Ahola
77337271fc
Remove give_initial_stuff
2011-11-29 19:13:52 +02:00
Kahrl
c1479a2732
Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp)
2011-11-29 19:13:52 +02:00
Perttu Ahola
1f53ca5f4c
Modify CONTENT_AIR and CONTENT_IGNORE handling in nodedef.cpp
2011-11-29 19:13:52 +02:00
Perttu Ahola
425db289d5
Fix random node definition stuff
2011-11-29 19:13:52 +02:00
Perttu Ahola
61ffe1eac4
builtin.lua
2011-11-29 19:13:52 +02:00
Perttu Ahola
9e7ad1e2aa
Add object reference to Lua on_place/dig/punchnode parameters
2011-11-29 19:13:52 +02:00
Perttu Ahola
ae9f183cda
Fix "warning: comparison between signed and unsigned integer expressions"
2011-11-29 19:13:52 +02:00
Perttu Ahola
ff1ae29f97
Duplicate last tile image automatically to all for lua node definitions
2011-11-29 19:13:51 +02:00
Perttu Ahola
fdf6eecd59
Make map generator more responsive
2011-11-29 19:13:51 +02:00
Perttu Ahola
651657edfd
Print out number of blocks in memory at unload
2011-11-29 19:13:51 +02:00
Perttu Ahola
74770ab718
Don't allow placing CONTENT_IGNORE with Map::setNode() because it is never useful and is only caused by bugs.
2011-11-29 19:13:51 +02:00
Perttu Ahola
6153a2fb10
Improve debug stack printing interface
2011-11-29 19:13:51 +02:00
Perttu Ahola
e5650bb549
Make liquid_alternative_* to be strings
2011-11-29 19:13:51 +02:00
Perttu Ahola
18bb0ea1ea
Mode node definition loading from Lua (still not finished), fix metadata creation from name
2011-11-29 19:13:51 +02:00
Perttu Ahola
6a8f9135de
Store metadata as metadata name in node definition
2011-11-29 19:13:51 +02:00
Perttu Ahola
704d8a62bf
Set block modified flag when node metadata inventory is modified
2011-11-29 19:13:50 +02:00
Perttu Ahola
3b3ca65562
Add names to NodeMetadata
2011-11-29 19:13:50 +02:00
Perttu Ahola
697ff926ce
Add Lua node definition stuff (not complete)
2011-11-29 19:13:50 +02:00
Perttu Ahola
e8a9578774
Add texture modifier [brighten and modify [toalpha to modify existing texture, not read a new base
2011-11-29 19:13:50 +02:00
Perttu Ahola
0bf3a15886
Random Lua tweaks/fixes
2011-11-29 19:13:50 +02:00
Perttu Ahola
cebc8c78a4
Make object hit delay smaller for fun; actually it should be roughly zero and hit damage should be calculated from the amount of time since last punch, limited to a maximum value
2011-11-29 19:13:50 +02:00
Perttu Ahola
290e921920
Relatively snappy object-ground collision detection
2011-11-29 19:13:50 +02:00
Perttu Ahola
94feb62b08
When digging a node, don't switch to punching an object without raising button
2011-11-29 19:13:50 +02:00
Perttu Ahola
941176cd65
Default to saving stuff more often to minimize lag caused by a single save
2011-11-29 19:13:50 +02:00
Perttu Ahola
251b015210
Don't print 'Blocks modified by: ' in Map::timerUpdate if no blocks were written
2011-11-29 19:13:50 +02:00
Perttu Ahola
616bad96af
Don't print all block saves to verbosestream; rather print counts of distinct modifiers
2011-11-29 19:13:49 +02:00
Perttu Ahola
1b765b9740
Add reason parameter to setModified and print it out to verbosestream when saving block
2011-11-29 19:13:49 +02:00
Perttu Ahola
0ce0c8fcfb
Improve LuaEntity velocity/acceleration handling (by kahrl); implement staticdata interface to Lua
2011-11-29 19:13:49 +02:00
Perttu Ahola
811ac5ac3a
Mess up with node definitions to make CONTENT_IGNORE be correctly interpreted when creating meshes
2011-11-29 19:13:49 +02:00
Perttu Ahola
901d98b687
Optimize map generator for the dynamic content ids a bit
2011-11-29 19:13:49 +02:00
Perttu Ahola
4503b03b26
Make added nodes give the corresponding NodeItem as of now (placeholder code)
2011-11-29 19:13:49 +02:00
Perttu Ahola
0e64406b06
Fix tool wear
2011-11-29 19:13:49 +02:00
Perttu Ahola
1220b642eb
Falling sand and gravel
2011-11-29 19:13:49 +02:00
Perttu Ahola
cc03718d3c
Node place/dig Lua callbacks
2011-11-29 19:13:49 +02:00
Perttu Ahola
4f021fc7dd
Remove crafting definitions from content_craft.cpp
2011-11-29 19:13:48 +02:00
Perttu Ahola
cebbaf1664
Catch SerializationError in CCraftDefManager::getCraftResult()
2011-11-29 19:13:48 +02:00
Perttu Ahola
227e067512
Add note about craft_get_result() not being used anymore, but don't remove before it's contents have been transferred to scripts
2011-11-29 19:13:48 +02:00
Perttu Ahola
9d5b458479
Crafting definition in scripts
2011-11-29 19:13:48 +02:00
Perttu Ahola
8dd3622c6d
Improve item serialization
2011-11-29 19:13:48 +02:00
Perttu Ahola
564c3a9c96
Allow inputting nodename of MaterialItem in ItemSpec::checkItem
2011-11-29 19:13:48 +02:00
Perttu Ahola
4725e5c52e
Fix another silly mistake making CONTENT_IGNORE definition not being what it should
2011-11-29 19:13:47 +02:00
Perttu Ahola
106027fc29
Fix silly misspelling in mapgen that made junglegrass to be CONTENT_IGNORE
2011-11-29 19:13:47 +02:00
Perttu Ahola
d1298fe5e7
Actually fill in the NewNameGetter names to allow map generator operation and crafting
2011-11-29 19:13:47 +02:00
Perttu Ahola
eabfb370ac
MapNode constructor to allow ndef+name
2011-11-29 19:13:47 +02:00
Perttu Ahola
62164d955c
Initial node definition stuff
2011-11-29 19:13:47 +02:00
Perttu Ahola
a5545593ba
Fix camera MaterialItem draw logic
2011-11-29 19:13:47 +02:00
Perttu Ahola
f68fa667c8
Clean InventoryItem interface a bit
2011-11-29 19:13:47 +02:00
Perttu Ahola
7a29b14a20
Improved MaterialItem (stores nodename)
2011-11-29 19:13:47 +02:00
Perttu Ahola
df8346ef4d
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code
2011-11-29 19:13:47 +02:00
Perttu Ahola
c0f6395cf0
Node definition names
2011-11-29 19:13:46 +02:00
Perttu Ahola
50d63e4b0a
Add name field to ContentFeatures
2011-11-29 19:13:46 +02:00
Perttu Ahola
6a417c538f
Remove burn time definitions from FurnaceNodeMetadata
2011-11-29 19:13:46 +02:00
Perttu Ahola
7fae32095a
Remove old comments
2011-11-29 19:13:46 +02:00
Perttu Ahola
37a5f8a30b
Move cook result properly to ContentFeatures
2011-11-29 19:13:46 +02:00
Perttu Ahola
f107967fdc
Remove node content-dependent stuff from map.cpp
2011-11-29 19:13:46 +02:00
Perttu Ahola
a793533d1a
Remove content_mapnode.h and nodedef.h #includes
2011-11-29 19:13:46 +02:00
Perttu Ahola
3318d0b4b8
Remove content dependencies from mapblock.cpp
2011-11-29 19:13:46 +02:00
Perttu Ahola
81f1cc662f
Remove #include <content_mapnode.h> from game.cpp
2011-11-29 19:13:46 +02:00
Perttu Ahola
28fe2987a0
Saner sized sapling
2011-11-29 19:13:45 +02:00
Perttu Ahola
26abf6fd82
Cut down content transfer verbosity
2011-11-29 19:13:45 +02:00
Perttu Ahola
594b189569
Cut down TextureSource verbosity
2011-11-29 19:13:45 +02:00
Perttu Ahola
7696a38543
Improve loading screen and protocol
2011-11-29 19:13:45 +02:00
Perttu Ahola
cde35d1606
Clean nodefeat and content_mapnode a bit
2011-11-29 19:13:45 +02:00
Perttu Ahola
9fc78cbece
Fix flowing water being always opaque
2011-11-29 19:13:45 +02:00
Perttu Ahola
e4dff41560
Fix MaterialProperties serialization (constant_time was missing)
2011-11-29 19:13:45 +02:00
Perttu Ahola
2f2392f783
Improve glass
2011-11-29 19:13:45 +02:00
Perttu Ahola
c3703ded95
Fix NDT_PLANTLIKE scaling to always keep the bottom at ground level
2011-11-29 19:13:44 +02:00
Perttu Ahola
e5fd010a6c
Replace direct irrlicht texture fetching in CAO content with TextureSource
2011-11-29 19:13:44 +02:00
Perttu Ahola
ba762bcd49
Clean mapnode.h and fix other files accordingly
2011-11-29 19:13:44 +02:00
Perttu Ahola
6da8cb00e2
Node definitions transfer
2011-11-29 19:13:44 +02:00
Perttu Ahola
eed727c61b
Completely generalized mesh generation; ContentFeatures serialization
2011-11-29 19:13:44 +02:00
Perttu Ahola
89e7bacd99
Clean more
2011-11-29 19:13:44 +02:00
Perttu Ahola
ff34955a0d
Remove commented out code
2011-11-29 19:13:44 +02:00
Perttu Ahola
a48a0e77eb
Prepare more for node definition serialization
2011-11-29 19:13:43 +02:00
Perttu Ahola
cf6e22e9a6
Better node texture generation
2011-11-29 19:13:43 +02:00
Perttu Ahola
c1202a2ecc
Update inventory texture too
2011-11-29 19:13:43 +02:00
Perttu Ahola
01ae0daea5
Properly update textures in node definitions
2011-11-29 19:13:43 +02:00
Perttu Ahola
45fc45a49e
Sending of textures WIP
2011-11-29 19:13:43 +02:00
Perttu Ahola
7bdc328a71
Fix yet-another serialization error in utility.h and set constructor of Buffer take const data for copying
2011-11-29 19:13:43 +02:00
Perttu Ahola
e71744b918
Modify mod and texture directory hierarchies
2011-11-29 19:13:43 +02:00
Perttu Ahola
40e7a1a5c9
Update TODO list in scriptapi.cpp
2011-11-29 19:13:43 +02:00
Perttu Ahola
9e1c4533b8
Move tool definitions to script
2011-11-29 19:13:43 +02:00
Perttu Ahola
4b8e4dae58
Tool definition transfer to client
2011-11-29 19:13:42 +02:00
Perttu Ahola
0754f2a7af
ToolDefManager serialization
2011-11-29 19:13:42 +02:00
Perttu Ahola
8d2d28f1dc
ToolDefinition serialization
2011-11-29 19:13:42 +02:00
Perttu Ahola
e9620d9c8c
Make fence post selection box smaller and create code to allow node placement to the side of a static box
2011-11-29 19:13:42 +02:00
Perttu Ahola
de51f87e05
Tune gravel and picks
2011-11-29 19:13:42 +02:00
Perttu Ahola
1afed48a2c
Make possible and do update textures in node definitions after late texture atlas making
2011-11-29 19:13:42 +02:00
Perttu Ahola
c6fd2986d4
GameDef compiles
2011-11-29 19:13:42 +02:00
Perttu Ahola
abceeee92f
Create framework for getting rid of global definitions of node/tool/item/whatever types
2011-11-29 19:13:41 +02:00
Perttu Ahola
5fc791ac9a
Move tool stuff to tool.{h,cpp}
2011-11-29 19:13:41 +02:00
Perttu Ahola
72884bf85f
Tune the tool speed thing
2011-11-29 19:13:41 +02:00
Perttu Ahola
f97d4355be
New kind of tool speed and wear calculation thingy
2011-11-29 19:13:41 +02:00
Perttu Ahola
96b71236ed
Clean headers a bit
2011-11-29 19:13:41 +02:00
Perttu Ahola
3b77a63d5d
Allocate MapBlock::m_node_metadata on heap to allow less header bloat
2011-11-29 19:13:41 +02:00
Perttu Ahola
64fa59e24f
Generic NodeMetadata text input
2011-11-29 19:13:41 +02:00
Perttu Ahola
79c9f14aec
Generalize selection boxes
2011-11-29 19:13:41 +02:00
Perttu Ahola
2ef414d05f
Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it
2011-11-29 19:13:41 +02:00
Perttu Ahola
77cf27b82b
Clean code and modify comments in mapnode_contentfeatures.h
2011-11-29 19:13:40 +02:00
Perttu Ahola
64996422c0
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
f8c9b70379
Scripting: Allow multiple global step callbacks and improve documentation
2011-11-29 19:13:40 +02:00
Perttu Ahola
7b802c547d
Handle undefined objects better
2011-11-29 19:13:40 +02:00
Perttu Ahola
73bb3bc595
Scripting WIP: Add global environment step function on_step
2011-11-29 19:13:40 +02:00
Perttu Ahola
1320d07068
Scripting WIP: dynamic object stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
0b97ad8384
ServerRemotePlayer implements ServerActiveObject
2011-11-29 19:13:40 +02:00
Perttu Ahola
75a0ca6bd6
Scripting WIP
2011-11-29 19:13:40 +02:00
Perttu Ahola
38944467d3
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
23adfff4fe
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
b35adfbd2d
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
526eedf98e
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
dcedfdacd1
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
ea8d6d7abd
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
f145d498a6
Scripting WIP
2011-11-29 19:13:39 +02:00
Perttu Ahola
41c91391fc
Scripting WIP; Lua entity step callback works
2011-11-29 19:13:39 +02:00
Perttu Ahola
a6a1e6ed1a
random scripting work-in-progress
2011-11-29 19:13:39 +02:00
Perttu Ahola
bfc68d3151
Scripting WIP
2011-11-29 19:13:38 +02:00
Perttu Ahola
ee8b6d3444
Move images to data/textures and fix some path stuff; hope that installation still works
2011-11-29 19:11:04 +02:00
Perttu Ahola
2115a766f6
Make it actually build
2011-11-29 19:11:04 +02:00
Perttu Ahola
d1a5e97a7f
Add Lua
2011-11-29 19:11:04 +02:00
Perttu Ahola
7372282a72
Better spawn position finding and checking
2011-11-13 03:17:42 +02:00
Perttu Ahola
045e32b6ec
Fix water-glass and water-lava surfaces
2011-11-08 16:17:38 +02:00
Perttu Ahola
763da10c7b
Reset block usage timer on client only if it is very probably drawn
2011-11-08 02:13:22 +02:00
Kahrl
1c98ec94da
Make Connection::Receive return the data via a SharedBuffer reference, so the caller doesn't have to choose the right buffer size in advance.
...
Conflicts:
src/test.cpp
2011-11-07 11:21:42 +02:00
Kahrl
28660b4c1a
utility.h: Change Buffer's interface to be more compatible with SharedBuffer's interface, connection.h: use Buffer instead of SharedBuffer in command and event queues
2011-11-07 11:19:56 +02:00
Perttu Ahola
fa72e65b59
Add new Connection test in test.cpp in case needed in the future (commented out), improve comments in test.cpp a bit
2011-11-07 11:15:43 +02:00
Perttu Ahola
7d5d676eac
Infinite packet flood test for debugging the new network layer
2011-11-07 01:20:58 +02:00
Constantin Wenger
61f2cc45c2
Command-line signal handling for Windows
2011-11-06 19:24:44 +02:00
Perttu Ahola
c1d92d72e1
Make water invisible next to underwater glass
2011-11-05 23:30:27 +02:00
Perttu Ahola
d0fdfd44c5
Add option to set water opaque (mainly for stylistic choice)
2011-11-03 23:06:57 +02:00
Perttu Ahola
f5995337e8
Fix flowing liquid spacing; water and lava next to each other will glitch a bit but it isn't as bad as this was
2011-11-03 23:04:56 +02:00
Perttu Ahola
e9fd3def90
Make CONTENT_IGNORE to not block the view when occlusion culling
2011-11-03 20:45:44 +02:00
Perttu Ahola
a2af490b7b
Disable mipmapping because it is sometimes ugly
2011-11-03 20:17:18 +02:00
Perttu Ahola
4964daa5be
Possible fix to bases of islands/hills getting culled out too early
2011-11-03 15:10:58 +02:00
Perttu Ahola
718086f383
Tune occlusion culling a bit more
2011-11-03 13:35:32 +02:00
Perttu Ahola
339b7588d2
Tune occlusion culling a bit
2011-11-03 13:35:09 +02:00
Perttu Ahola
0ac5f6a7ca
Very simple occlusion culling
2011-11-03 12:48:08 +02:00
Perttu Ahola
1726b82a16
occlusion culling fix, a little reshaping of map rendering for more useful profiler output and dynamic profiler text size
2011-11-02 18:13:56 +02:00
Perttu Ahola
03db16d55b
Remove trailing / or \ in path_userdata (probably fixes world deletion on Windows)
2011-11-02 13:43:00 +02:00
Perttu Ahola
0c20973c17
Add 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds to enable_3d_clouds)
2011-11-02 12:50:21 +02:00
Perttu Ahola
899404f3b1
Fix an obvious bug in utility.h
2011-11-01 14:54:11 +02:00
Perttu Ahola
6aab526989
Attempt a workaround to the network layer segfault
2011-10-30 11:59:23 +02:00
Perttu Ahola
c349708eab
Make it to compile on MSVC2010
2011-10-21 18:37:43 +03:00
Perttu Ahola
7f25183936
Some tuning in m_max_packets_per_second algorithm
2011-10-21 11:52:26 +03:00
Perttu Ahola
4b6138e69b
Improve Connection with threading and some kind of congestion control
2011-10-20 23:04:09 +03:00
Perttu Ahola
b6fcbc5fba
Default max_simultaneous_block_sends_server_total to 2 to make network not cough too much on the fixed block sending code
2011-10-19 19:34:47 +03:00
Perttu Ahola
ed870a7237
Fix apple inventory texture
2011-10-19 02:36:46 +03:00
Perttu Ahola
3a06fb8831
Fix and tune block sending
2011-10-19 02:17:23 +03:00
Perttu Ahola
d47120aeb3
Add enable_2d_clouds setting for usage on lower-end machines
2011-10-18 23:55:55 +03:00
Perttu Ahola
9b907dd65a
Try to tune fog to work well on high-end machines also
2011-10-18 21:08:31 +03:00
Perttu Ahola
28f2fdb6de
Fix possible NULL dereference in MobV2CAO::step
2011-10-18 19:53:34 +03:00
Perttu Ahola
4e1055543c
Tune map rendering and related diagnostics
2011-10-18 19:18:01 +03:00
Perttu Ahola
8ead29a302
set backface culling off again for torches, ladders, rails and signs
2011-10-18 18:32:35 +03:00
Perttu Ahola
fe98fe342a
...Make the the server buildable again after the last commit
2011-10-18 17:20:54 +03:00
Perttu Ahola
554f7f120c
Improve rendering and fix tiling in mesh generation
2011-10-18 13:56:35 +03:00
Perttu Ahola
05ab58cd14
Automate texture listing for texture atlas making
2011-10-18 11:31:23 +03:00
Perttu Ahola
eae2d35ca5
Fix client profiler print interval
2011-10-18 10:36:52 +03:00
Perttu Ahola
85002883bd
Better handling of SendFailedException in Connection
2011-10-18 03:42:23 +03:00
Perttu Ahola
22b07bdb30
Fix object duplication bug
2011-10-18 02:58:15 +03:00
Perttu Ahola
fe338745a3
Make active_block_range default to 2
2011-10-18 00:41:17 +03:00
Perttu Ahola
6ce0c61dc0
Fix possible NULL pointer access in MobV2CAO
2011-10-18 00:41:02 +03:00
Perttu Ahola
78f4142f4f
Add /clearobjects
2011-10-18 00:01:50 +03:00
Perttu Ahola
ea1fda5ebc
Made a scheme to get rid of the objects in the worst object flooded blocks
2011-10-17 20:57:58 +03:00
Perttu Ahola
67db77b8b3
Modify default active block range
2011-10-17 20:41:43 +03:00
Perttu Ahola
64c4d00693
F2 toggles profiler display in client
2011-10-17 20:40:55 +03:00
Perttu Ahola
6661d9be1a
Attempt to fix objects getting multiplicated by objects getting deactivated in a different block than where they were loaded and then the original block, from where the static object was removed, not getting saved at unload
2011-10-17 20:19:37 +03:00
Perttu Ahola
9a62a909bc
Add a log message to SEnv and make it load objects if there are < 51 of them, to load blocks that were limited to 50
2011-10-17 19:44:28 +03:00
Perttu Ahola
93f4d2b3f1
Catch SendFailedException when replying back in Connection::Receive()
2011-10-17 18:02:26 +03:00
Perttu Ahola
558a133044
Display RTT (round trip time, ping) on client status text
2011-10-17 17:18:50 +03:00
Perttu Ahola
5037efdea9
Add some rendering statistics to profiler
2011-10-17 17:06:28 +03:00
Perttu Ahola
e9888c8e25
Workaround for blocks having a huge amount of active objects; add log messages related to active objects for investigation
2011-10-17 11:52:38 +03:00
Perttu Ahola
3daaff3a42
Remove very floody log message of MobV2SAO
2011-10-17 11:45:06 +03:00
celeron55
d39f98aeb0
Improve active object handling log output
2011-10-17 10:47:06 +03:00
celeron55
30c21b4abd
Fix partly double printed debug.txt
2011-10-17 10:46:16 +03:00
Perttu Ahola
cfd19dcdb5
Fix punching of oerkkis
2011-10-17 01:58:38 +03:00
Perttu Ahola
b0481b9db1
Fix chest not working after walked away and came back
2011-10-17 01:04:22 +03:00
Perttu Ahola
5f39885975
Improve inventory debug output
2011-10-17 01:03:45 +03:00
Perttu Ahola
9ff8067426
Fix items showing up as sticks when placed in world
2011-10-17 00:08:27 +03:00
Perttu Ahola
162619a426
Fix to-transparend conversion of backgrounds of sprite image files that don't have an alpha channel
2011-10-16 23:41:43 +03:00
Perttu Ahola
2419d0029a
Some more profiler stuff to get the hang on what really uses CPU
2011-10-16 22:39:35 +03:00
Perttu Ahola
b8f2dcea4d
Improve debug profiler usage for investigating CPU usage of server
2011-10-16 21:16:44 +03:00
Perttu Ahola
07d000cc54
When granting or revoking privileges, notify the target player too
2011-10-16 20:03:43 +03:00
Perttu Ahola
6470743e51
Make dungeon masters not shoot the walls with no reason
2011-10-16 19:39:20 +03:00
Perttu Ahola
143dce6672
When player times out, log the action as a timeout rather than regular quitting
2011-10-16 19:38:56 +03:00
Perttu Ahola
96b2d1fd29
Check NULL pointer properly in some new code trying to log new stuff
2011-10-16 18:50:30 +03:00
Perttu Ahola
369177aa80
Better player damage prevention when falling on unloaded blocks, not involving getting stuck in there.
2011-10-16 18:45:17 +03:00
Perttu Ahola
0bf533f753
Switch more stuff to use the logging thing and fix segfault on player leave from server as introduced in a previous switch-to-logging commit
2011-10-16 16:28:12 +03:00
Perttu Ahola
67a6bc4ab5
Fix map delete on windows (concatenate paths correctly with / or \ depending on OS)
2011-10-16 16:16:47 +03:00
Perttu Ahola
b65a5aceb0
Use the logger; also, default to not showing much crap in console. Use --info-on-stderr to enable crap.
2011-10-16 14:57:53 +03:00
Perttu Ahola
4846846a2d
Initially add small and tight logging facility
2011-10-16 12:45:00 +03:00
Perttu Ahola
414c614893
Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs setting
2011-10-16 11:52:33 +03:00
Perttu Ahola
4914eb29d1
Replace M_PI with PI
2011-10-16 00:24:51 +03:00
Perttu Ahola
825953bbdc
Fix some "Conditional jump or move depends on uninitialised value(s)" valgrind detections
2011-10-15 23:07:43 +03:00
Perttu Ahola
fd6452749e
Resource file handling for exe icon for MinGW
2011-10-15 17:05:16 +03:00
Perttu Ahola
7c2639ddd9
Make view bobbing amount configurable
2011-10-15 16:32:24 +03:00
Perttu Ahola
3f58028d31
Make dungeon masters though and make oerkkis disappear when they get to you (because hitting them doesn't work for some unknown reason)
2011-10-15 16:04:25 +03:00
Perttu Ahola
94dfececf6
strict_protocol_version_checking setting; PROTOCOL_VERSION in clientserver.h; clean up defaultsettings.cpp and minetest.conf.example
2011-10-15 15:02:28 +03:00
Perttu Ahola
74febd5c31
Handle death and respawn better
2011-10-15 14:46:59 +03:00
Perttu Ahola
5341bf59c2
Improve mobv2
2011-10-15 12:17:21 +03:00
Perttu Ahola
43a28f04fa
mobv2
2011-10-15 02:28:57 +03:00
Perttu Ahola
080002f8ed
Lock mutex when accessing m_env in Server::~Server
2011-10-14 12:39:25 +03:00
Perttu Ahola
853a78681e
In CMake scripts: New version number, fix MSVC stuff
2011-10-14 09:55:39 +03:00
Perttu Ahola
9e46cbf7ea
Header file tweaking; mainly for speed
2011-10-12 13:53:38 +03:00
Perttu Ahola
b60b58b627
Saner block modification flag operation for not saving everything always
2011-10-12 10:53:37 +03:00
Perttu Ahola
a7833cca22
Merge remote-tracking branch 'marktraceur/master'
2011-09-26 22:41:06 +03:00
Perttu Ahola
9a7471b740
Rotate wielded tool the right way and modify axe graphics accordingly
2011-09-26 16:10:54 +03:00
Perttu Ahola
061d4b4202
Merge branch 'view_bobbing_and_vielded_tool'
2011-09-26 15:10:02 +03:00
Perttu Ahola
2ecd53ce09
Fix single-frame lag in camera yaw/pitch, tune view bobbing and add wielded tool movement when walking and tweak stuff a bit
2011-09-26 15:09:04 +03:00
Perttu Ahola
b9e680d06c
Server user limit configuration option
2011-09-26 11:57:51 +03:00
Perttu Ahola
0ccc0ac927
Merge remote-tracking branch 'darkrose/master'
2011-09-26 11:57:28 +03:00
Joshua Beck
ae561d705f
Fixed null pointer dereference errors found by cppcheck
2011-09-24 02:11:43 -05:00
Mark Holmquist
bc01ae4cbd
Fixed merge issues with saplings, ready to pull now!
2011-09-23 18:19:47 -07:00
Mark Holmquist
319f43e6d2
Fixed saplings growing into trees (thanks so much, Kahrl!)
...
Put the random interval back to 1 in 50 chance. It's not as rare as rats, but rarer than grass.
2011-09-23 18:14:35 -07:00
Mark Holmquist
85f119e1e6
Adding (most) of the sapling functionality. It has yet to work, since MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-23 18:13:53 -07:00
darkrose
8b875d71d1
remove content_* things from map.cpp
2011-09-23 18:04:48 +10:00
Perttu Ahola
789c88509c
Move PLATFORM_LIBS around to make sqlite3 link with libdl on some distros
2011-09-23 08:48:58 +03:00
Perttu Ahola
bdf54908aa
Make client report a newer version number to the server than 2011-07-31 does and make the server enforce it
2011-09-22 20:47:47 +03:00
darkrose
582e450bad
added locking chests - clean patch
2011-09-22 19:11:48 +10:00
Perttu Ahola
ae6d83a41e
Better apple tree generation
2011-09-21 23:31:55 +03:00
Kahrl
3e012122d1
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
2011-09-21 18:37:29 +02:00
Kahrl
a4a2c34831
reduce view bobbing slightly
2011-09-21 15:54:06 +02:00
Kahrl
36af9bb027
Create a separate scene manager for the wielded tool. This fixes the glitchyness in large map coordinates and some depth buffer problems. (The tool doesn't bob anymore when walking, this will be fixed later.) Fix MSVC build (thanks to dannydark).
2011-09-21 01:42:52 +02:00
Kahrl
6599002149
fix a numerical problem, but tool is still jittery
2011-09-20 18:25:29 +02:00
Kahrl
cbd2bcf102
Fix jittery view bobbing at large map coordinates again. Wielded tool still has problems there
2011-09-20 18:19:26 +02:00
Kahrl
01f3ae1c50
Digging animation
2011-09-20 11:06:16 +02:00
Kahrl
eaff4616ad
fix some normals
2011-09-19 17:11:53 +02:00
Kahrl
ab42549b1e
Wielded tool updates, leaves and glass work now
2011-09-19 17:08:42 +02:00
Kahrl
02726f0003
Convert any inventory item into a mesh, bring back InventoryItem::getImageRay(), some const-correctness fixes
2011-09-19 06:37:24 +02:00
Kahrl
36bcbca9ac
Added sprite extruder
2011-09-19 03:01:11 +02:00
Kahrl
4ed837bcfa
trying some view bobbing changes
2011-09-18 17:02:30 +02:00
Kahrl
54f3796f91
Oops, up vector is needed.
2011-09-18 02:24:43 +02:00
Kahrl
ae66d611f2
This looks more like MC view bobbing, but still not even close
2011-09-18 02:17:39 +02:00
Perttu Ahola
b22cb69a15
Merge remote-tracking branch 'sfan5/apple-trees'
2011-09-16 19:09:13 +03:00
Kahrl
40707e3c5b
SQLite needs to be linked with -ldl on some Linux distros.
2011-09-16 19:06:45 +03:00
Kahrl
acfb2bb8bc
Revert some changes that could lead to slower map transfer and increaed network load.
2011-09-16 18:03:58 +02:00
Kahrl
63266928a5
Made wielded tool move slightly (and smoothly) during view bobbing. Making the tool be a child node of an empty scene node instead of the camera scene node seemingly fixed the uncontrollable tool jitter, too.
2011-09-15 01:53:42 +02:00
Kahrl
fc92da4324
View bobbing is slower in the water.
2011-09-15 01:53:42 +02:00
sfan5
88dc8c694e
Added Iron Apple which heals 4 Hearts
2011-09-12 20:10:17 +02:00
sfan5
785a2fd23a
Changed the Heal Amount of Apples from 6 to 2
2011-09-12 19:44:26 +02:00
sfan5
4328a6442b
Fixed duplication bug
2011-09-11 19:17:14 +02:00
sfan5
6496b1cf1f
Removed Spaces
2011-09-11 18:16:07 +02:00
sfan5
c0caedc373
Added Apple Trees
2011-09-11 17:50:44 +02:00
Kahrl
524cf237b8
inventory displays tool breakage bar again
2011-09-08 17:45:39 +02:00
Kahrl
e4cb004460
trying something else... also replaced M_PI by PI everywhere
2011-09-08 16:10:44 +02:00
Kahrl
71418639d3
attempting to merge Queatz/the-wielded-tool and kahrl/viewbobbing, something doesn't work right yet
2011-09-08 14:21:56 +02:00
Kahrl
f2ec226521
minor view bobbing improvements
2011-09-08 13:34:28 +02:00
Kahrl
0931d4b7ff
make it slightly less annoying :o)
2011-09-08 13:14:59 +02:00
Kahrl
ccadebabba
Implemented view bobbing (testing simple lemniscate shape)
2011-09-08 13:03:55 +02:00
Kahrl
18771a39cf
Commented out debug statements again
2011-09-08 01:24:47 +02:00
Kahrl
baf7da9d4a
Collected and moved existing camera infrastructure from game.cpp to camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
2011-09-08 01:08:47 +02:00
Kahrl
c0b35fa429
Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
2011-09-07 19:21:28 +02:00
JacobF
f31b0a3361
Display which tool the player is holding
...
And some simple animation when trying to dig...
2011-09-07 10:56:04 -04:00
Perttu Ahola
d28ea57083
Note about texture atlas
2011-09-07 01:27:04 +03:00
Perttu Ahola
8e26c5c066
Add note about trans_table_19.
2011-09-07 01:19:48 +03:00
Perttu Ahola
5c1074aa7d
Remove block file from disk when saved to database
2011-09-06 20:28:45 +03:00
JacobF
bd72091150
Pause in unloaded territory instead of collide
2011-09-06 20:07:43 +03:00
Perttu Ahola
faf3d7902a
Make Connection::Send cancel silently if peer doesn't exist.
2011-09-06 19:39:23 +03:00
Perttu Ahola
3c30ab2807
Speed up periodical map unloading by moving beginSave() and endSave() to outer loop in Map::timerUpdate()
2011-09-06 19:16:36 +03:00
Perttu Ahola
310fa10035
Merge remote-tracking branch 'queatz/sqlite-map'
2011-09-06 18:04:02 +03:00
Perttu Ahola
bc847e8cc2
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
2011-09-06 17:52:03 +03:00
Perttu Ahola
b82952bdba
Fix some texture stuff: remove item_fence.png, use fence.png, remove inexisting cactus.png from texture atlas (replace with nothing because cactus is rare)
2011-09-06 17:13:24 +03:00
Kahrl
570a8dbf22
allow specifying a fixed seed in the config file for generating the map (fixed_map_seed)
2011-09-06 17:05:17 +03:00
JacobF
c68ea19e8d
Now SAOs will reflect changes to their temporary inventory object
...
Also, the temp item wasn't being deleted, might have been a memory leak.
Now you will only eat 1 item off a stack
2011-09-06 16:36:11 +03:00
JacobF
d670c831c2
These numbers were well exceeding 2^32...
2011-09-04 17:01:28 -04:00
JacobF
d1a16f24cf
Initial sqlite3 maps.
...
* The map will reside in world/map.sqlite
* It will load from the sectors folder but will not save there
2011-09-02 19:07:14 -04:00
JacobF
2d872ce3fa
Furnace was crashing stuff again
2011-09-02 17:33:06 -04:00
JacobF
e3c58eff1c
Merge branch 'master' of /media/Field/Software/minetest-queatz/minetest-sqlite/.. into sqlite-map
2011-09-02 16:59:17 -04:00
JacobF
99de37ff94
Update to SQLite 3.7.7.1
2011-09-01 18:27:30 -04:00
JacobF
5e3b9e3578
* Furnace would say it was overloaded when it had a non-cookable source
...
* I didn't understand that expression last fix and now the furnace would burn fuel
even when it had no source item.
2011-09-01 15:39:15 -04:00
JacobF
6415528f96
If there was no source item in a furnace it would cause a segmentation fault.
2011-08-30 11:38:53 -04:00
Perttu Ahola
4af1f2963c
Merge remote-tracking branch 'kahrl/dissector'
2011-08-30 14:24:33 +03:00
Perttu Ahola
ba0322f353
Merge remote-tracking branch 'queatz/mmb10'
2011-08-30 14:24:23 +03:00
Perttu Ahola
1a705523c0
Merge remote-tracking branch 'queatz/furnace-is-not-blackhole'
2011-08-30 14:24:12 +03:00
Perttu Ahola
87b9e5467d
Merge remote-tracking branch 'queatz/furnace-is-not-out-nor-can-rat-escape'
2011-08-30 14:24:07 +03:00
Perttu Ahola
625dac8d8c
Merge remote-tracking branch 'queatz/privs'
2011-08-30 14:23:44 +03:00
JacobF
134e49cc8e
Merged 2 branches because they relied on each other.
...
This one contains these changes from main c55:
* Adds a function to check if there is room for a specific item
* Using that, you can now pick up rats if you have a full inventory and a not full rat stack
* Furnace would cook only 1 item if that item used the last available result slot, now it will continue
* Furnace will say it's overloaded
* Furnace won't wait until the next step to start on the next item
- This caused small fuels to cook slower than meant to
- Also caused furnaces to say they were out of fuel after finishing the last fuel item
2011-08-25 19:27:50 -04:00
Kahrl
3edf2bb417
dissector branch: fix description of TOCLIENT_PLAYERITEM in clientserver.h
2011-08-25 21:31:28 +02:00
JacobF
e278742c5e
Middle mouse click will move 10 items around at a time.
2011-08-25 12:43:19 -04:00
JacobF
ef08163c38
Don't remove furnace if something is inside it.
2011-08-24 18:53:06 -04:00
JacobF
2e82268a67
If a user doesn't have build rights, don't allow them to move items to and from their inventory
2011-08-23 22:08:09 -04:00
JacobF
00bdfad5f6
The password box in the mainmenu is focused if there is already a name and address filled in
2011-08-23 22:06:35 -04:00
Perttu Ahola
efd8dabd91
Lava is now better visible inside water. (a crappy hack)
2011-08-23 03:01:01 +03:00
Perttu Ahola
e4f443a57a
Inventory transparency; very loosely based on sapier's commits.
...
Also contains some commented-out code for testing out different looks
in the future.
2011-08-23 00:33:38 +03:00
Perttu Ahola
d4df20a913
if creative mode and player has no build privileges, cannot drop items.
2011-08-22 22:55:17 +03:00
Perttu Ahola
db495668ae
Fixed water mesh generation acting weird next to sand
2011-08-22 22:44:43 +03:00
Perttu Ahola
996c653490
Fix byte count in serialization of "F1000"
...
Some access violations and segfaults and strange behaviour might have
been caused by this.
2011-08-22 22:17:26 +03:00
Perttu Ahola
4acad897cf
Fixed some protocol comment errors in clientserver.h and elsewhere
...
-- TOCLIENT_OBJECTDATA: peer ID field is missing
-- TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD: added: init length should be u32, not u16
2011-08-22 22:04:46 +03:00
Giuseppe Bilotta
b37fffc2c5
Hopefully fix 'dangling water'
...
If a block has (at least visible) liquids, the block below should also
be flowed in.
2011-08-22 21:45:13 +03:00
Perttu Ahola
a99450ab72
Possibly fixed the extremely rare PeerNotFound loop bug.
...
See explanation in http://2pktfkt.de/irc/minetest-delta/2011-08-22.html
2011-08-22 21:27:11 +03:00
Perttu Ahola
5415256a52
Merge remote-tracking branch 'oblomov/me_cmd'
2011-08-22 14:46:54 +03:00
Perttu Ahola
836e43db60
Merge remote-tracking branch 'oblomov/new_input'
2011-08-22 14:46:52 +03:00
Giuseppe Bilotta
9c94538fb7
Change way commands are displayed in chat window
2011-08-22 13:43:53 +02:00
Giuseppe Bilotta
53eedd3ba4
Introduce hotkey for calling up a command window
...
This is just a chat window with the / text pre-loaded.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
42134bb49e
Send KEY_END when (re)creating a text input
...
This ensures that on creation and when resizing the cursor is at the end
of the text rather than at the beginnig.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
0488bf54d3
/me command
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
da19aee307
Server now supports replies without prefix
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
d2c0b4905a
Defines for server command context flags
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
153f07fdfb
Remove distinction between /# and / commands
...
No need to make the server command syntax more complicated than
necessary. If the need ever arise, we'll find some other way to
distinguish the client commands. Also, the /# syntax is deprecated and
will be made obsolete in time.
2011-08-22 13:02:08 +02:00
Giuseppe Bilotta
7e610aece5
Overhaul the input system
...
This allows us to map the keys which are not considered in
irrlicht's EKEY_CODE system, such as \, [, /, ] etc.
2011-08-22 13:01:11 +02:00
Giuseppe Bilotta
16aedc0ef6
Fix typos in key names
2011-08-22 12:52:15 +02:00
Perttu Ahola
6596e585fe
Flowing lava updates lighting
2011-08-22 13:19:07 +03:00
Perttu Ahola
f98eda4d52
Merge remote-tracking branch 'oblomov/liquid_fixes'
2011-08-22 12:53:18 +03:00
Perttu Ahola
23717510c2
Merge branch 'lava'
2011-08-22 12:53:02 +03:00
Giuseppe Bilotta
c51564ab5b
Optimize for viscosity 1
2011-08-16 20:38:44 +02:00
Giuseppe Bilotta
1eb14c7743
Viscous fluids
2011-08-16 20:37:46 +02:00
Giuseppe Bilotta
56e9f97294
Make sure all neighbors of changed fluids are activated
...
This should fix the remaining cases of fluid not advancing or not
retreating.
2011-08-16 18:05:28 +02:00
Giuseppe Bilotta
774faf4e85
Let the liquids flow in the open
...
No need to curb their spread artificially.
2011-08-16 17:42:28 +02:00
Giuseppe Bilotta
d0711821f3
Ensure air neighbors to liquids that can flow are enqueued for transformation
2011-08-16 17:42:14 +02:00
Giuseppe Bilotta
7024b45197
Ensure param2 is set correctly in transformLiquids
2011-08-16 16:50:38 +02:00
Giuseppe Bilotta
5fce673a56
Use defines for liquid levels
2011-08-16 16:50:38 +02:00
Perttu Ahola
29c9d3d5f4
Implemented MEET_OTHER
2011-08-16 12:23:19 +03:00
Giuseppe Bilotta
708f1c336e
transformLiquid: small optimization and whitespace cleanup
2011-08-16 06:42:11 +02:00
Perttu Ahola
dc4ac0b96f
small fix to transformLiquids
2011-08-15 18:49:44 +03:00
Perttu Ahola
296748d32e
Fixed liquid mesh generation
2011-08-15 17:45:35 +03:00
Perttu Ahola
ad408f269c
Add lava to creative inventory (hmm, we're shortly running out of creative inventory space)
2011-08-15 16:57:57 +03:00
Perttu Ahola
e57754868f
Hopefully fixed msvc "'sqrt' : ambiguous call to overloaded function"
2011-08-15 15:11:00 +03:00
Perttu Ahola
0c7e7f4998
Non-vertex-alpha texture material for lava
2011-08-15 12:08:41 +03:00
Perttu Ahola
4b85608e30
modified mapgen to generate less lava
2011-08-15 11:56:16 +03:00
Perttu Ahola
8ab77f4153
Added #define WATER_ALPHA in content_mapnode.cpp
2011-08-15 11:51:33 +03:00
Perttu Ahola
472585a7e8
tuned lava/universal damage code
2011-08-15 11:49:39 +03:00
Perttu Ahola
8f42a8be0c
lava!
2011-08-15 02:04:56 +03:00
Perttu Ahola
c4b707bca2
Windows.h -> windows.h for cross-mingw build
2011-08-14 21:26:07 +03:00
Perttu Ahola
9e35fe8c37
Merge remote-tracking branch 'speedprog/fixedNotFindingData'
2011-08-13 14:05:01 +03:00
Giuseppe Bilotta
385904d75a
Let Settings accept a const char* directly
2011-08-13 07:33:43 +02:00
Giuseppe Bilotta
b1e0b7728b
Fix keycode_to_keyname return value
2011-08-13 07:31:46 +02:00
Giuseppe Bilotta
eb255e6870
Clean up key names handling
...
Constify keycode and move the static array of localizable names from the
guiKeyChangeMenu header to the implementation file, changing its name.
2011-08-12 23:42:00 +02:00
Giuseppe Bilotta
72e4c8f523
Fix use of && instead of &
2011-08-12 23:34:12 +02:00
Perttu Ahola
835d2e4b5f
Removed assert if creating texture atlas image fails; cancel creating image instead.
2011-08-12 17:17:47 +03:00
Constantin Wenger
94b42a79d7
fixed not finding data dir if installed
2011-08-12 14:26:37 +02:00
Perttu Ahola
e40da2341c
Fixed/extended/modified ban stuff to be good for inclusion
2011-08-12 13:11:27 +03:00
Perttu Ahola
7aa72c56b6
Merge remote-tracking branch 'speedprog/banByIp'
2011-08-12 11:55:51 +03:00
Constantin Wenger
5784c14ab7
added ipban support
...
commands:
/#ipban <nick>
/#ipunban <ip>
2011-08-12 03:37:18 +02:00
Giuseppe Bilotta
dfdc817db3
Typo fix
2011-08-11 19:45:44 +02:00
Giuseppe Bilotta
371af9c241
Notify other players of wielded item change
2011-08-11 15:22:36 +02:00
Giuseppe Bilotta
88a9bae160
constify inventory item serialization
2011-08-11 15:22:36 +02:00
Giuseppe Bilotta
ecd5c5f920
Clients inform server on wielded item
...
This is done with the new TOSERVER_PLAYERITEM message, that informs the
server on the index of the wielded item.
2011-08-11 15:22:36 +02:00
Giuseppe Bilotta
91d1186cbb
Keep track of player item
2011-08-11 15:22:36 +02:00
Giuseppe Bilotta
467b3cf4c1
Some inventory const-ification
2011-08-11 15:22:35 +02:00
Giuseppe Bilotta
c007d8219e
Server should use the same eye position as the client
2011-08-11 15:22:35 +02:00
Giuseppe Bilotta
b318e82356
Refactor player's eye position coding
...
Collect the player's eye position coding in a Player method, and
use it in client to pass the eye position information to the game.
2011-08-11 15:22:35 +02:00
Giuseppe Bilotta
98fa00db12
Introduce Player::getLightPosition
...
This is currently only used in the lighting update for remote
players in client.
2011-08-11 15:22:35 +02:00
Perttu Ahola
69fca4f3cb
Merged some FreeBSD fixes
2011-08-11 12:32:36 +03:00
q66
f6ed45fc20
Proper placement of binary files.
2011-08-11 11:19:33 +02:00
q66
43b6ca0d14
Prevent threadid_t from losing precision when casted on 64bit systems
2011-08-11 10:52:27 +02:00
Giuseppe Bilotta
34492ce480
Respect base virtual functions' signatures
2011-08-08 16:15:53 +02:00
Giuseppe Bilotta
163c38e175
Always return from non-void functions
...
This quiets a warning in Clang.
2011-08-08 16:13:48 +02:00
Giuseppe Bilotta
11be390110
Keys should be s32, not u32
...
At least two reasons for this:
* activeKey is treated as signed (check for sign, assign -1, etc)
* the ID retrieved from Irrlicht's events are signed
2011-08-08 16:12:15 +02:00
Giuseppe Bilotta
ea26a9f543
Remove spurious assignment
2011-08-08 16:11:37 +02:00
Giuseppe Bilotta
f9e1b0cd97
InventoryAction is a struct, not a class
2011-08-08 15:38:20 +02:00
Giuseppe Bilotta
805564dcf2
Clang doesn't like -Wno-unused-but-set-variable
...
The release versions of CMake don't yet properly support flag checking
in Clang, so we need to exclude it explicitly for the time being.
2011-08-11 10:08:58 +02:00
Giuseppe Bilotta
76fb792544
Project uses C++, so use CHECK_CXX_COMPILER_FLAG
...
Although this doesn't change much for our specific case, it can make a
difference for some flags, so use the appropriate macro.
2011-08-11 10:06:48 +02:00
Dmitry Marakasov
ff35014eff
Fix data paths for FreeBSD
2011-08-02 02:50:16 +04:00
Dmitry Marakasov
de868d24c1
Fix "integer constant is too large for 'long' type" error
2011-08-02 02:49:15 +04:00
Dmitry Marakasov
318a730c45
Check whether -Wno-unused-but-set-variable is supported before using
...
it. It seems to only be available on recent (>=4.6) versions of gcc.
2011-08-01 22:17:32 +04:00
Perttu Ahola
9017c51e7f
the zlib error print function now prints to dstream (debug.txt)
2011-08-08 12:11:41 +03:00
Perttu Ahola
64a6da3e45
merged delta and c55
2011-08-05 11:22:13 +03:00
Giuseppe Bilotta
59c58f230e
Some obvious errors in the new fluid flow management
2011-08-05 08:45:15 +02:00
Giuseppe Bilotta
f79069f5b3
MapNode is a struct, not a class
2011-08-05 08:45:15 +02:00
Constantin Wenger
7361f29527
fixed some error :/
2011-08-05 08:45:15 +02:00
Constantin Wenger
4ab4e33450
marked strings as translation
...
now translated if set to a button
2011-08-05 08:45:15 +02:00
Constantin Wenger
0cfca69b42
fixed displaying special chars in the keychange menu
2011-08-05 08:45:15 +02:00
Perttu Ahola
0b37f98e16
* fix for broken water
2011-08-03 19:00:25 +02:00
Perttu Ahola
5f8809e425
Fixed farmesh to such that it was a long time ago.
2011-08-03 13:03:30 +03:00
Giuseppe Bilotta
1d1aec9631
Use wgettext
2011-08-02 10:11:40 +02:00
Giuseppe Bilotta
817180bd55
Introduce wgettext
...
All usages of gettext() are converted to wchars, so let's factor this
into a single inline.
2011-08-02 10:11:40 +02:00
Giuseppe Bilotta
60bd878f0a
Get rid of unused variables
2011-08-02 10:11:39 +02:00
Perttu Ahola
97d659c9fd
added TODO in main.cpp
2011-08-01 19:21:43 +03:00
Nils Dagsson Moskopp
363487c97b
* less clumsy ladder texture, based on rails
2011-08-01 15:47:02 +02:00
Mark Holmquist
7bd9e53ae6
Changing CONTENT_LADDER to be an extended block
2011-08-01 09:22:56 +02:00
Mark Holmquist
267744a568
Fixing ladders again
2011-08-01 09:22:44 +02:00
Mark Holmquist
8e67f4c4e6
Fixed a few problems in the ladder update, and changed the speed to account for gravity
2011-08-01 09:22:36 +02:00
Mark Holmquist
1c59cff832
Ladders implemented!
2011-08-01 09:22:36 +02:00
Mark Holmquist
bc2819cab2
Added ladders--they don't have any use yet, though
2011-08-01 09:22:36 +02:00
Nils Dagsson Moskopp
7ece67727d
Merge remote-tracking branch 'origin/upstream'
2011-07-31 20:04:04 +02:00
Perttu Ahola
19ea901cf2
Fixes a bug that made the server to deny non-empty passwords from players connecting the first time.
2011-07-31 15:51:24 +03:00
Perttu Ahola
e0b8e66540
Fixed problem of server always receiving an empty password from the client
2011-07-31 15:32:45 +03:00
Constantin Wenger
54de4afd75
last fix was shit but this one works (tested)
2011-07-31 14:28:07 +02:00
Perttu Ahola
756f8f88d4
Made stricter handling for old clients because now they are not compatible at all.
2011-07-31 02:27:26 +03:00
Perttu Ahola
d6a9bec843
Added MaterialItem conversion from old content type namespace to new
2011-07-31 02:20:40 +03:00
Perttu Ahola
d7a5eea862
changelog update and disable motd by default
2011-07-31 01:14:56 +03:00
Perttu Ahola
149875607c
updated CMakeList.txts a bit
2011-07-31 00:51:18 +03:00
Perttu Ahola
05d0eaf5fc
added windows icon
2011-07-31 00:39:43 +03:00
Constantin Wenger
50dc2d8112
fixe for msvc broke linux
2011-07-30 23:05:40 +02:00
Perttu Ahola
8e1eacf3a8
Fixed handling of inventory in creative mode (normal inventory is not trashed anymore), fixed mese pick speed, added some forgotten stuff
2011-07-30 23:33:57 +03:00
Constantin Wenger
c08720bfba
this fixes problem with msvc++ and should work on other systems and so on anyway.
2011-07-30 22:08:16 +02:00
Constantin Wenger
4882bda667
changed one forgotten en_US.UTF-8 to C
2011-07-30 22:08:16 +02:00
Constantin Wenger
a817419fe4
fixed redefinitivon of gettext.h is included more than once
2011-07-30 22:08:16 +02:00
Constantin Wenger
37bf9a666a
set some more text to gettext and updated po files
2011-07-30 22:08:16 +02:00
Constantin Wenger
9baae3a701
set locales to C because en_US not installed on some systems, only UTF-8 version and en_US.UTF-8 does not work.
2011-07-30 22:08:16 +02:00
Constantin Wenger
92f504f98d
fixed displaying "umlauts" (deutsch umlaute) and hopefully other non ASCII chars, too
2011-07-30 22:03:25 +02:00
Nils Dagsson Moskopp
96bee29e35
Merge branch 'upstream/master'
2011-07-30 19:47:55 +02:00
Perttu Ahola
f2051c9822
fix to the former
2011-07-30 20:10:16 +03:00
Perttu Ahola
f8fca8ca5e
easier notice on old version
2011-07-30 20:06:30 +03:00
Perttu Ahola
24a662705c
Added network protocol version number in protocol
2011-07-30 20:02:17 +03:00
Nils Dagsson Moskopp
4ef9c7675a
Merge remote-tracking branch 'origin/upstream'
2011-07-30 18:55:43 +02:00
Perttu Ahola
cdadbdbd17
Server configuration is now written when "/#setting whatever = whatever" is issued.
2011-07-30 19:49:42 +03:00
Perttu Ahola
9b294ffa7a
Added message of the day and made it properly configurable using /#setting (not saved to config file yet)
2011-07-30 19:31:33 +03:00
Perttu Ahola
4b0c3e4357
Made picking items up in creative mode delete them (because they usually are in the inventory already anyway)
2011-07-30 19:05:25 +03:00
Perttu Ahola
cae422076b
updated pause menu text a bit
2011-07-30 18:54:02 +03:00
Perttu Ahola
d62ae0e18b
Rats are now eatable. Also made their selection box move smoothly.
2011-07-30 18:51:15 +03:00
Perttu Ahola
4556c212db
Made rats cookable and made them spawn near trees
2011-07-30 17:51:21 +03:00
Perttu Ahola
8ceb0586b2
made more things burnable in furnace
2011-07-30 14:57:43 +03:00
Perttu Ahola
df27b85432
quick fix to it not building with gettext on my visual studio environment
2011-07-30 14:38:41 +03:00
Perttu Ahola
1de45cc8a7
Removed remaining -delta references
2011-07-30 14:02:11 +03:00
Perttu Ahola
416499f978
fix server build
2011-07-25 23:31:02 +03:00
Giuseppe Bilotta
cce210f676
Locale dir should be parallel to global data dir
2011-07-24 19:23:03 +02:00
Giuseppe Bilotta
a8e493122e
Read config from gettext.h
...
Otherwise the USE_GETTEXT define might not be visible.
2011-07-24 19:13:34 +02:00
Giuseppe Bilotta
3715e39e5d
Actually make USE_GETTEXT available in the source
2011-07-24 18:34:10 +02:00
Giuseppe Bilotta
423109e64c
Two more instances of unhardcoding the project name
2011-07-24 18:12:11 +02:00
Giuseppe Bilotta
e034f8a2a3
Sanitize GETTEXT usage macros
...
Now the user-level option is called ENABLE_GETTEXT, and USE_GETTEXT is
only set to true if gettext was enabled and found. This simplifies all
check to USE_GETTEXT only rather than the double checks for it being
enabled and found.
2011-07-24 16:52:59 +02:00
Giuseppe Bilotta
47381bde3b
Bring po update out of cmake again
...
This solves two issues at once:
* CMake would delete po files during ‘make clean’ because it thought
they were autogenerated and not just managed
* the only gettext tools readily available in Windows are so old they
don't support options like --package-name
The change also moves minetest.pot down one level, so we don't need to
special case ‘en’ anymore.
The downside is of course that you need some sane POSIX shell to update
the po files.
2011-07-24 16:52:59 +02:00
Giuseppe Bilotta
c578efb32b
Refactor gettext init
...
Put the gettext init code in a macro and define it appropriately
depending on whether gettext is actually available or not.
2011-07-24 16:52:59 +02:00
Perttu Ahola
dbea511a6f
Lowered default viewing range minimum to such that it allows fairly good framerate in jungles with sucky hardware.
...
Almost all computers stick to the minimum with the current farmesh range that someone has set up without asking from me, but farmesh is not used as default anyway so those that use it can raise the lower limit in their configuration as they wish.
2011-07-24 12:49:47 +03:00
Perttu Ahola
c9e615bde4
Updated the texture atlas a bit
2011-07-24 12:45:52 +03:00
Perttu Ahola
20fa7412c8
and now fixed a bug in removing that debug output
2011-07-24 12:13:51 +03:00
Perttu Ahola
d099165271
removed a remaining debug print
2011-07-24 12:12:55 +03:00
Perttu Ahola
29d905f98a
Added a mapblock analyzing function for debugging use and fixed remaining mapgen bugs
2011-07-24 12:09:33 +03:00
Perttu Ahola
ed8f5576a5
changed jungletree/junglegrass content ids to extended range
2011-07-24 11:40:14 +03:00
Perttu Ahola
112b85d0fb
merged fix to decapitated trees; other bugs now exists
2011-07-24 11:39:13 +03:00
Giuseppe Bilotta
5aa2679be7
Do not package en translation, since we don't build it
2011-07-24 09:19:25 +02:00
Giuseppe Bilotta
d4e7faca21
Gettext domain should match the project name
...
This partially reverts 023cc0d37776976b4b192b7363f73a5d2debdef6, goes
back to using PROJECT_NAME for the filename and also uses PROJECT_NAME
as text domain in the source code.
2011-07-24 09:19:25 +02:00
Giuseppe Bilotta
4ffba76bb3
Place project name and gettext use in config
2011-07-24 09:18:29 +02:00
Perttu Ahola
8d84086f35
removed unnecessary verbosity from debug output of tile.cpp
2011-07-24 10:12:08 +03:00
Nils Dagsson Moskopp
f4a08f7fb3
Merge pull request #34 from SpeedProg/master
...
Changes to make gettext enabled if it is found
2011-07-23 19:01:51 -07:00
Perttu Ahola
73cf4b3016
made shadows less blue
2011-07-24 00:49:45 +03:00
Constantin Wenger
f6d9bcc9bb
updated cmakerules to autodetect if gettext can be used
...
fixed error if gettext is disabled
2011-07-23 22:36:11 +02:00
Perttu Ahola
68a9157b94
Fixed issue #15 : Glass blocks a lot of light
2011-07-23 20:28:05 +03:00
Perttu Ahola
26582e0e66
Fixed #21 Earth under torches oscillates between mud and grass
2011-07-23 20:22:22 +03:00
Perttu Ahola
0b4cdfa023
Made hotbar a bit smaller
2011-07-23 20:22:04 +03:00
Perttu Ahola
501034a792
merged jungle and bluish shadows
2011-07-23 20:01:06 +03:00
Perttu Ahola
96fedb5cb0
removed -delta namings
2011-07-23 19:33:49 +03:00
Perttu Ahola
f13fc82abe
converted main.cpp dos linefeeds to unix linefeeds.
2011-07-23 19:17:39 +03:00
Perttu Ahola
bc14898bf9
updated main.cpp comments a bit
2011-07-23 19:16:49 +03:00
Perttu Ahola
2587bb361c
merged the content type extension and delta
2011-07-23 19:04:37 +03:00
Perttu Ahola
90d793f8f3
extended content-type range
2011-07-23 16:55:26 +03:00
Perttu Ahola
976ec31c1f
switched to old transformLiquids, new one is not ready
2011-07-23 16:46:34 +03:00
Perttu Ahola
f17cfb35d1
uh, i guess this now merges the new delta stuff?
2011-07-23 15:50:05 +03:00
Perttu Ahola
3882536d40
merged some stuff from upstream while merging delta
2011-07-23 15:46:00 +03:00
Perttu Ahola
d67cef0eb7
Made dark places tint slightly in blue
2011-07-23 04:10:17 +03:00
Perttu Ahola
8993d9dd83
Jungle biome/whatever thing
2011-07-23 02:04:24 +03:00
Perttu Ahola
6c2d95f868
* key change menu now saving immediately
2011-07-22 21:54:26 +02:00
Perttu Ahola
58f612eca1
Changing key settings now doesn't require a game restart
2011-07-22 22:35:20 +03:00
Constantin Wenger
383698186f
Merge remote-tracking branch 'upstream/master'
2011-07-22 20:53:29 +02:00
Constantin Wenger
2abe6ed75c
Merge remote-tracking branch 'upstream/master'
2011-07-22 20:53:29 +02:00
Constantin Wenger
fb4c3ab4fb
fixed some problems with filenames of the translations
2011-07-22 20:40:47 +02:00
Constantin Wenger
a12229f271
fixed some problems with filenames of the translations
2011-07-22 20:40:47 +02:00
Nils Dagsson Moskopp
7985d746f9
Merge branch 'upstream/master'
2011-07-22 20:16:58 +02:00
Nils Dagsson Moskopp
805ccd449f
Merge branch 'upstream/master'
2011-07-22 20:16:58 +02:00
Perttu Ahola
f706644a50
Fixed the problem of <=r548 clients fucking up maps on >=r549 servers. Also, already fucked up maps are now loaded correctly.
2011-07-22 18:51:49 +03:00
Giuseppe Bilotta
7d9dd352cf
Declare USE_GETTEXT option
2011-07-22 14:42:04 +02:00
Giuseppe Bilotta
9653522873
Declare USE_GETTEXT option
2011-07-22 14:42:04 +02:00
Constantin Wenger
a09660dc85
fixed problem with displaying special chars
2011-07-22 13:27:30 +02:00
Constantin Wenger
bf3dfec7d6
fixed problem with displaying special chars
2011-07-22 13:27:30 +02:00
Giuseppe Bilotta
d78e5e7329
updatepo cmake rule
...
Get rid of the system-specific updatelocales.sh and introduce an
updatepo cmake rule. po files are also updated before creating the mo
files, and we now keep the .pot file (in the po/en directory). To
stabilize the po file creation, file contents are sorted by source
filename.
Update po files in the process.
2011-07-22 12:40:29 +02:00
Giuseppe Bilotta
aaa165f985
updatepo cmake rule
...
Get rid of the system-specific updatelocales.sh and introduce an
updatepo cmake rule. po files are also updated before creating the mo
files, and we now keep the .pot file (in the po/en directory). To
stabilize the po file creation, file contents are sorted by source
filename.
Update po files in the process.
2011-07-22 12:40:29 +02:00
Perttu Ahola
2b39be44e4
added an unit test for the Settings thingy (the python ConfigParser -like thing)
2011-07-22 13:10:58 +03:00
Giuseppe Bilotta
e61b2f99c1
Static naming of po file
...
The po file should not be named c55 if we're in ∆. But since it is not
exposed at installation time, we don't actually need its name to be
based on the project name at all, so just call it minetest.po
2011-07-22 09:58:02 +02:00
Giuseppe Bilotta
8f2409a1b4
Static naming of po file
...
The po file should not be named c55 if we're in ∆. But since it is not
exposed at installation time, we don't actually need its name to be
based on the project name at all, so just call it minetest.po
2011-07-22 09:58:02 +02:00
Giuseppe Bilotta
d386f02893
Refactor mo creation/installation
2011-07-22 09:36:17 +02:00
Giuseppe Bilotta
0ec749317c
Refactor mo creation/installation
2011-07-22 09:36:17 +02:00
Giuseppe Bilotta
5a3218e535
Use project name for mo files
2011-07-22 08:33:08 +02:00
Giuseppe Bilotta
bc05bd8b59
Use project name for mo files
2011-07-22 08:33:08 +02:00
Giuseppe Bilotta
02653573d2
Merge remote-tracking branch 'erlehmann/master'
...
Conflicts (from the introduction of fr translations):
src/CMakeLists.txt
2011-07-22 07:48:22 +02:00
Giuseppe Bilotta
7c1ea34baf
Merge remote-tracking branch 'erlehmann/master'
...
Conflicts (from the introduction of fr translations):
src/CMakeLists.txt
2011-07-22 07:48:22 +02:00
Constantin Wenger
5c66664aef
changed some lines to fit the 80chars limit
2011-07-22 07:25:40 +02:00
Constantin Wenger
3d53cc2c11
changed some lines to fit the 80chars limit
2011-07-22 07:25:40 +02:00
Perttu Ahola
329158f7d1
Fixed small error in mapnode.cpp (didn't cause any harm though)
2011-07-22 01:37:21 +03:00
Perttu Ahola
fe855e004f
Fixed new map generator causing a crash when generating at map limit
2011-07-22 01:37:05 +03:00
Perttu Ahola
2b3bc33708
added some TODOs to main.cpp
2011-07-21 23:28:30 +03:00
Perttu Ahola
308d861327
Merged minetest-delta a624fe549bc75855a170
2011-07-21 20:55:08 +03:00
Cyriaque Skrapits
8048961cc5
Added french translation.
2011-07-21 16:09:57 +02:00
Cyriaque Skrapits
6875ead7cf
Added french translation.
2011-07-21 16:09:57 +02:00
Perttu Ahola
52ad5944c0
Attempt to fix the big bug. Now server either stops sending map or mapgen starts generating CONTENT_IGNORE.
2011-07-21 17:00:08 +03:00
Nils Dagsson Moskopp
cbf2ac5e8f
* different collision box for fireflies so they now hover above the ground
2011-07-21 15:40:00 +02:00
Nils Dagsson Moskopp
5388e8b124
* different collision box for fireflies so they now hover above the ground
2011-07-21 15:40:00 +02:00
Giuseppe Bilotta
02b14090c2
Reorganize cmake gettext message output to ease debugging
2011-07-21 15:16:59 +02:00
Giuseppe Bilotta
767280577b
Reorganize cmake gettext message output to ease debugging
2011-07-21 15:16:59 +02:00
Giuseppe Bilotta
56a744599f
Restore "Leave address blank" position
2011-07-21 15:12:58 +02:00
Giuseppe Bilotta
aa6506ce96
Restore "Leave address blank" position
2011-07-21 15:12:58 +02:00
Giuseppe Bilotta
9fa4b72a47
Find correct library for MSVC vs MingW in Winows
2011-07-21 14:50:15 +02:00
Giuseppe Bilotta
02695bebc6
Find correct library for MSVC vs MingW in Winows
2011-07-21 14:50:15 +02:00
Giuseppe Bilotta
3e78b29cae
Only install locale files if using gettext
2011-07-21 14:46:23 +02:00
Giuseppe Bilotta
7b93fb59cf
Only install locale files if using gettext
2011-07-21 14:46:23 +02:00
Giuseppe Bilotta
d63c160bd6
Uppercase DEFINED or cmake 2.8.4 complains
2011-07-21 13:59:50 +02:00
Giuseppe Bilotta
adb7181969
Uppercase DEFINED or cmake 2.8.4 complains
2011-07-21 13:59:50 +02:00
Giuseppe Bilotta
1340da7b54
Refactor and clean up gettext management
2011-07-21 12:33:29 +02:00
Giuseppe Bilotta
b99174cb0c
Refactor and clean up gettext management
2011-07-21 12:33:29 +02:00
Giuseppe Bilotta
89af509d10
Make gettext optional
2011-07-21 09:03:41 +02:00
Giuseppe Bilotta
fd70bbd367
Make gettext optional
2011-07-21 09:03:41 +02:00
Weedy
89b8b792c1
Tweak makefiles to add -delta suffix.
2011-07-21 09:03:20 +02:00
Weedy
36d8f91f1a
Tweak makefiles to add -delta suffix.
2011-07-21 09:03:20 +02:00
Weedy
a19491dbd2
Fix win32 MSVC compile. (screw gettext)
2011-07-21 09:03:17 +02:00
Weedy
9cb5f70be5
Fix win32 MSVC compile. (screw gettext)
2011-07-21 09:03:17 +02:00
Nils Dagsson Moskopp
bca3de3d08
Merge pull request #27 from Oblomov/master
...
* regression fix for windows build.
2011-07-20 14:29:01 -07:00
Nils Dagsson Moskopp
f5c6e3973c
Merge pull request #27 from Oblomov/master
...
* regression fix for windows build.
2011-07-20 14:29:01 -07:00
Giuseppe Bilotta
29aae3dcb5
Move package search out of conditional
...
This unbreaks the Windows build which would otherwise have problems at
the jthread level.
2011-07-20 23:09:28 +02:00
Giuseppe Bilotta
e7beaac6f5
Move package search out of conditional
...
This unbreaks the Windows build which would otherwise have problems at
the jthread level.
2011-07-20 23:09:28 +02:00
Nils Dagsson Moskopp
8129d16dd3
+ fireflies
2011-07-20 22:05:57 +02:00
Nils Dagsson Moskopp
84684e53ed
+ fireflies
2011-07-20 22:05:57 +02:00
Nils Dagsson Moskopp
2732dac337
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 18:56:32 +02:00
Nils Dagsson Moskopp
8ed83250d7
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 18:56:32 +02:00
Nils Dagsson Moskopp
0f10fc0cd9
Merge pull request #24 from SpeedProg/master
...
gettext paths problem
2011-07-20 09:56:23 -07:00
Nils Dagsson Moskopp
360a8918dd
Merge pull request #24 from SpeedProg/master
...
gettext paths problem
2011-07-20 09:56:23 -07:00
Constantin Wenger
c6d99fbe0c
fixed problem with wront paths in gettext
2011-07-20 18:49:18 +02:00
Constantin Wenger
4d43a67419
fixed problem with wront paths in gettext
2011-07-20 18:49:18 +02:00
Nils Dagsson Moskopp
84b85964fa
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 18:29:48 +02:00
Nils Dagsson Moskopp
33e80dae7f
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 18:29:48 +02:00
Giuseppe Bilotta
52df1b598c
Set the window caption for the initial window too
2011-07-20 17:59:48 +02:00
Giuseppe Bilotta
3fb5b7a3bd
Set the window caption for the initial window too
2011-07-20 17:59:48 +02:00
Giuseppe Bilotta
8fa94c3547
Check the data path before usage
...
When not running in place, check if the assumed data path in
../share/APPNAME exists. If it doesn't exist, fall back to ../data
instead. This allows the program to run successfully from the checkout
directory even without the run-in-place flag active.
2011-07-20 17:59:48 +02:00
Giuseppe Bilotta
bcd3e1af2f
Check the data path before usage
...
When not running in place, check if the assumed data path in
../share/APPNAME exists. If it doesn't exist, fall back to ../data
instead. This allows the program to run successfully from the checkout
directory even without the run-in-place flag active.
2011-07-20 17:59:48 +02:00
Giuseppe Bilotta
3321edae77
Use system sqlite3/jthread libs if available
2011-07-20 17:59:48 +02:00
Giuseppe Bilotta
cd45ae3d0f
Use system sqlite3/jthread libs if available
2011-07-20 17:59:48 +02:00
Nils Dagsson Moskopp
69937c342c
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 17:56:49 +02:00
Nils Dagsson Moskopp
e5dc58e710
Merge branch 'master' of github.com:erlehmann/minetest-delta
2011-07-20 17:56:49 +02:00
Constantin Wenger
6a8328de79
added gettext support
...
german translation file
and bashscript to update translations
2011-07-20 16:51:19 +02:00
Constantin Wenger
052bb24c7f
added gettext support
...
german translation file
and bashscript to update translations
2011-07-20 16:51:19 +02:00
Nils Dagsson Moskopp
9bc701d194
Merge branch 'upstream/master'
2011-07-20 14:20:07 +02:00
Nils Dagsson Moskopp
3c630c0d90
Merge branch 'upstream/master'
2011-07-20 14:20:07 +02:00
Nils Dagsson Moskopp
6791c856b2
* by popular request, fewer clouds
2011-07-20 02:44:51 +02:00
Nils Dagsson Moskopp
ffd3cdf519
* by popular request, fewer clouds
2011-07-20 02:44:51 +02:00
Nils Dagsson Moskopp
57fcfb2b0d
* initialize liquid_kind properly so compiler does not bitch about it
2011-07-19 02:02:50 +02:00
Nils Dagsson Moskopp
821ff68f54
* initialize liquid_kind properly so compiler does not bitch about it
2011-07-19 02:02:50 +02:00
Nils Dagsson Moskopp
a99b7e6e05
+ fake shading for the volumetric clouds
2011-07-19 01:43:30 +02:00
Nils Dagsson Moskopp
e8eb4d233b
+ fake shading for the volumetric clouds
2011-07-19 01:43:30 +02:00
Nils Dagsson Moskopp
890d3468e7
+ volumetric clouds (thanks teddydestodes)
2011-07-18 22:50:14 +02:00
Nils Dagsson Moskopp
414d1ff9e2
+ volumetric clouds (thanks teddydestodes)
2011-07-18 22:50:14 +02:00
Felix Krause
466f9d87b6
final fixes to liquid flow, works now as intended
2011-07-18 02:38:57 +02:00
Felix Krause
7d92ce061d
final fixes to liquid flow, works now as intended
2011-07-18 02:38:57 +02:00
Felix Krause
b7862805c8
fixes to liquid transformation
2011-07-18 02:38:48 +02:00
Felix Krause
a1e2a8bec6
fixes to liquid transformation
2011-07-18 02:38:48 +02:00
Felix Krause
c4b86adee8
fixed refactoring issues // slowed down water flow a bit
...
* liquid flow no longer does random things when transformed
* if a flowi
ng liquid node doesn't have a solid block as neighbor, its spread distan
ce is shortened by 1
2011-07-18 02:38:32 +02:00
Felix Krause
f34a9b6a71
fixed refactoring issues // slowed down water flow a bit
...
* liquid flow no longer does random things when transformed
* if a flowi
ng liquid node doesn't have a solid block as neighbor, its spread distan
ce is shortened by 1
2011-07-18 02:38:32 +02:00
Felix Krause
f1e8ff2245
* refactored liquid transformation code (has some flaws)
...
Completely rewrote the liquid transformation. The algorithm now exclusively modifies the current node in one iteration. Another change is that MapNode.param2 now stores a bit that tells other nodes if a flowing liquid node flows downwards. This is accomplished by two masks on param2 for the "flow down" bit and the "liquid level" bits.
This will be the base of future improvements to the liquid flow. However, in the current state flowing liquid does not always disappear when cut off its source. Be aware that this branch is work in progress.
2011-07-18 02:37:19 +02:00
Felix Krause
def870953a
* refactored liquid transformation code (has some flaws)
...
Completely rewrote the liquid transformation. The algorithm now exclusively modifies the current node in one iteration. Another change is that MapNode.param2 now stores a bit that tells other nodes if a flowing liquid node flows downwards. This is accomplished by two masks on param2 for the "flow down" bit and the "liquid level" bits.
This will be the base of future improvements to the liquid flow. However, in the current state flowing liquid does not always disappear when cut off its source. Be aware that this branch is work in progress.
2011-07-18 02:37:19 +02:00
Nils Dagsson Moskopp
13b2bad54b
* changed GUI to indicate Minetest Δ
2011-07-17 22:33:51 +02:00
Nils Dagsson Moskopp
077ffa5231
* changed GUI to indicate Minetest Δ
2011-07-17 22:33:51 +02:00
Perttu Ahola
74ef5b8a42
Hopefully fixed u64 to be the actual 64-bit type on 64-bit architectures. This should fix the compiler error caused by irrlicht on 64-bit fedora defining u64 to be different.
2011-07-17 19:32:06 +03:00
Perttu Ahola
496e783988
A small fix to an unlikely situation where the map generator requires a block that hasn't been loaded from disk. Now it is actually loaded from disk in that case.
2011-07-17 13:40:47 +03:00
Nils Dagsson Moskopp
014a3aea32
Merge remote-tracking branch 'origin/upstream'
2011-07-16 16:52:45 +02:00
Nils Dagsson Moskopp
8bfa56648d
Merge remote-tracking branch 'origin/upstream'
2011-07-16 16:52:45 +02:00
Perttu Ahola
afa2b8714f
Attempt to fix a problem with the factory mappings of objects residing in different source files than the prototype objects that fill them in
2011-07-16 17:39:03 +03:00
Nils Dagsson Moskopp
5086bd5664
* fix automerge regression
2011-07-15 20:16:02 +02:00
Nils Dagsson Moskopp
4d20f1283f
* fix automerge regression
2011-07-15 20:16:02 +02:00
Nils Dagsson Moskopp
2c5617709d
* regression fix, clay occurs again now
2011-07-15 06:37:47 +02:00
Nils Dagsson Moskopp
0a38e542c1
* regression fix, clay occurs again now
2011-07-15 06:37:47 +02:00
Nils Dagsson Moskopp
287b735224
* possibly nicer trees
2011-07-15 02:23:41 +02:00
Nils Dagsson Moskopp
96f551a287
* possibly nicer trees
2011-07-15 02:23:41 +02:00
Nils Dagsson Moskopp
3560f0de08
Merge branch 'upstream/master'
...
Conflicts:
data/oerkki1.png
src/client.cpp
2011-07-14 22:43:28 +02:00
Nils Dagsson Moskopp
af05e4b2de
Merge branch 'upstream/master'
...
Conflicts:
data/oerkki1.png
src/client.cpp
2011-07-14 22:43:28 +02:00
Nils Dagsson Moskopp
5146c826be
* possibly improved water flow, by flyx86
...
- When flowing liquid starts to flow down, it stops contributing to its neighboring nodes' liquid level (possibly transforming it back to air)
- Flowing liquid turns into a source if there are at least 2 adjacent liquid source nodes
- If a new liquid flow reaches existing flowing liquid, the existing liquid is now updated properly.
2011-07-14 16:17:53 +02:00
Nils Dagsson Moskopp
4415d95c50
* possibly improved water flow, by flyx86
...
- When flowing liquid starts to flow down, it stops contributing to its neighboring nodes' liquid level (possibly transforming it back to air)
- Flowing liquid turns into a source if there are at least 2 adjacent liquid source nodes
- If a new liquid flow reaches existing flowing liquid, the existing liquid is now updated properly.
2011-07-14 16:17:53 +02:00
Nils Dagsson Moskopp
5383aa847f
* possible fix for large cubic holes in map
2011-07-13 23:12:18 +02:00
Nils Dagsson Moskopp
1cdf210e4f
* possible fix for large cubic holes in map
2011-07-13 23:12:18 +02:00
Nils Dagsson Moskopp
b96450b586
* slightly different values for 3d perlin noise
2011-07-13 23:10:41 +02:00
Nils Dagsson Moskopp
b0ad5ce8e2
* slightly different values for 3d perlin noise
2011-07-13 23:10:41 +02:00
Nils Dagsson Moskopp
a676493f46
* regression fix, papyrus should appear again now
2011-07-13 16:21:20 +02:00
Nils Dagsson Moskopp
b2447393e4
* regression fix, papyrus should appear again now
2011-07-13 16:21:20 +02:00
Jiří Procházka
692bd66011
+ farmesh config options
2011-07-11 15:01:43 +02:00
Jiří Procházka
858b2d7439
+ farmesh config options
2011-07-11 15:01:43 +02:00
Perttu Ahola
8f742855a1
initial steps in doing content type extension
2011-07-02 01:07:54 +03:00
Perttu Ahola
7b290660ea
made screen go slightly blue when underwater
2011-07-01 21:25:31 +03:00
Perttu Ahola
71f5d4b344
Fixed objects being sometimes not able to be stored statically in a block when block has been unloaded
2011-07-01 21:04:40 +03:00
Perttu Ahola
282912caa0
tried to fix block selection in map rendering a bit
2011-06-27 09:50:34 +03:00
Perttu Ahola
ccf5eae751
fixed bug in inventory textures caused from better handling of unknown blocks
2011-06-27 08:46:54 +03:00
Perttu Ahola
3e40235ce2
updated minetest.conf.example and changed client_unload_unused_data_timeout default to 600
2011-06-27 08:36:37 +03:00
Perttu Ahola
ab0cc1bb47
better handling of unknown blocks on client
2011-06-27 07:30:02 +03:00
Perttu Ahola
cf9a1f0109
updated to-do list
2011-06-27 06:52:20 +03:00
Perttu Ahola
d09f9c0d1d
made dtime jitter compare value and fps calculation a bit faster changing
2011-06-27 00:29:17 +03:00
Perttu Ahola
dd22ea051a
map unloading is now a whole lot better
2011-06-27 00:27:17 +03:00
Perttu Ahola
3fccc67eb7
fixed block unloading from memory (a better fix coming next)
2011-06-26 21:53:11 +03:00
Perttu Ahola
d702a2c33b
Made the initial loading screen slightly more alive
2011-06-26 20:00:04 +03:00
Perttu Ahola
7e59938c54
added screenshot key F12 (from spongie)
2011-06-26 19:33:40 +03:00
Perttu Ahola
5e3deed672
Added CPT_FACEDIR_SIMPLE calculation, finally, as figured out by spongie
2011-06-26 19:23:44 +03:00
Perttu Ahola
97840e93b5
changed one "if" to "else if" in content_mapblock.cpp
2011-06-26 19:23:05 +03:00
Perttu Ahola
d3d369a63b
reorganized stuff
2011-06-26 18:51:57 +03:00
Perttu Ahola
af6860f6f4
tuned mapgen
2011-06-26 18:51:35 +03:00
Perttu Ahola
d3a5eac22c
changed water color in farmesh
2011-06-26 18:50:43 +03:00
Perttu Ahola
2bd2bdff08
updated noise stuff
2011-06-26 18:50:13 +03:00
Perttu Ahola
91cfbe2891
reorganized a lot of stuff and modified mapgen and objects slightly while doing it
2011-06-26 15:48:56 +03:00
Perttu Ahola
3b098fd5dc
improved player fall damage detection
2011-06-26 15:45:13 +03:00
Sebastian Rühl
7efe89ff58
backported cactus, papyrus and clay
2011-06-26 13:47:21 +02:00
Sebastian Rühl
13cf5425db
backported cactus, papyrus and clay
2011-06-26 13:47:21 +02:00
Sebastian Rühl
4f44cabe1c
small fix
2011-06-26 12:52:03 +02:00
Sebastian Rühl
fb6ac9a1a6
small fix
2011-06-26 12:52:03 +02:00
Sebastian Rühl
9d09103e48
Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git into upstream_merge
...
Conflicts:
.gitignore
CMakeLists.txt
data/heart.png
src/CMakeLists.txt
src/game.cpp
src/guiMainMenu.cpp
src/inventory.cpp
src/map.cpp
src/mapblock.cpp
src/mapnode.cpp
src/mapnode.h
src/materials.cpp
src/server.cpp
Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
2011-06-26 12:24:32 +02:00
Sebastian Rühl
033ae0dcae
Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git into upstream_merge
...
Conflicts:
.gitignore
CMakeLists.txt
data/heart.png
src/CMakeLists.txt
src/game.cpp
src/guiMainMenu.cpp
src/inventory.cpp
src/map.cpp
src/mapblock.cpp
src/mapnode.cpp
src/mapnode.h
src/materials.cpp
src/server.cpp
Signed-off-by: Sebastian Rühl <bahamada_basti@yahoo.de>
2011-06-26 12:24:32 +02:00
Perttu Ahola
c1ceabef71
added and commented out some debug output
2011-06-26 03:14:52 +03:00
Perttu Ahola
bb940a946d
even more code refactoring
2011-06-26 02:34:36 +03:00
Perttu Ahola
2915bd5518
more reorganizing of map code
2011-06-26 01:31:43 +03:00
Perttu Ahola
cb130d9158
cleaned map stuff
2011-06-26 00:03:58 +03:00
Perttu Ahola
a80025c352
moved mapgen stuff around abit
2011-06-25 18:35:32 +03:00
Perttu Ahola
f2c26e2014
moved map generator to separate source files
2011-06-25 18:12:41 +03:00
Perttu Ahola
aed9e809a1
mapgen stuff
2011-06-25 16:32:09 +03:00
Perttu Ahola
e8a731adc5
added correct data to new images, added comments in main.cpp
2011-06-25 04:41:38 +03:00
Perttu Ahola
7538b4c620
New map generator added (and SQLite, messed up the commits at that time...) (import from temporary git repo)
2011-06-25 04:25:14 +03:00
Perttu Ahola
30c34cc23e
disabled farmesh in default settings
2011-06-23 14:10:46 +03:00
Perttu Ahola
c1844a921d
fixed servermain.cpp lacking filesys.h
2011-06-22 14:21:55 +03:00
Perttu Ahola
051c0048d8
path_userdata is now created before potentially creating debug.txt in there
2011-06-20 18:04:49 +03:00
Perttu Ahola
bdd1375011
moved the mac include in porting.cpp out of namespace
2011-06-20 07:56:45 +03:00
Perttu Ahola
748340fad5
fixed a segfault in case of wrong input from network on the server (reported by spongie)
2011-06-19 19:40:41 +03:00
Perttu Ahola
02006a9540
Modified the mesh update thread's sleep time to speed it up (it was way too high)
2011-06-18 22:31:24 +03:00
Perttu Ahola
28a8218adf
Documentation update
2011-06-18 20:16:11 +03:00
Perttu Ahola
5d1ae85ab9
Hand-picked Mac OSX cursor and bundle path fixes from https://bitbucket.org/toabi/minetest-mac
2011-06-18 18:44:01 +03:00
Perttu Ahola
5ac900ddd9
Changed MapBlockObjects to be never written anymore. Incremented version number.
2011-06-18 15:16:35 +03:00
Perttu Ahola
c7ab4f15a5
comment update
2011-06-18 13:52:49 +03:00
Perttu Ahola
c78d610618
farmesh render range is now dynamic
2011-06-18 13:43:49 +03:00
Perttu Ahola
7d0395ba36
fixed tree placement in farmesh
2011-06-18 13:11:11 +03:00
Perttu Ahola
7773e68c2a
farmesh is now usable.
2011-06-18 12:42:17 +03:00
Perttu Ahola
0bd1b782d0
modified health bar a bit
2011-06-18 09:04:31 +03:00
Perttu Ahola
4a6e6cee20
enabled word wrap in chat
2011-06-18 08:50:14 +03:00
Perttu Ahola
a4cceb93ec
fixed wrong furnace menu layout
2011-06-18 08:50:05 +03:00
Perttu Ahola
534287892d
merged Mac OSX build fix from minetest-delta
2011-06-18 03:14:13 +03:00
Perttu Ahola
c391bcee16
removed furnace menu because it is not needed anymore
2011-06-18 02:32:34 +03:00
Perttu Ahola
cced6aaf8d
separated inventory-related game content to content_inventory.{h,cpp}
2011-06-18 02:30:33 +03:00
Perttu Ahola
a23f6a1548
forgot to add mapblock_nodemod.h
2011-06-18 02:01:51 +03:00
Perttu Ahola
931474658d
moved inventory menu definition of chest and furnace to content_nodemeta.{h,cpp}
2011-06-18 02:00:01 +03:00
Perttu Ahola
da692355e8
Created and moved stuff to content_nodemeta.{h,cpp}
2011-06-18 00:46:50 +03:00
Perttu Ahola
e7580d2804
added in-game key shortcuts for toggling free_move and fast_move (default K and J)
2011-06-17 23:55:21 +03:00
Perttu Ahola
6b1f059ccd
modified iron amount a bit
2011-06-17 23:43:28 +03:00
Perttu Ahola
6378a71ea5
Updated comments
2011-06-17 23:28:25 +03:00
Perttu Ahola
682c9d8e7d
Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and content_mapblock.{h,cpp}
2011-06-17 23:20:31 +03:00
Perttu Ahola
dc5319b6c9
Moved some mapnode content stuff from mapnode.{h,cpp} and digging property stuff from material.cpp to content_mapnode.{h,cpp}
2011-06-17 22:20:15 +03:00
Perttu Ahola
d6b54514bf
hopefully fixed old furnaces taking ridiculous amounts of cpu and halting the server
2011-06-16 19:43:28 +03:00
Perttu Ahola
1d372b9273
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
2011-06-16 18:51:23 +03:00
Nils Dagsson Moskopp
158b054e72
+ rail block bounding box
2011-06-08 05:27:55 +02:00
Nils Dagsson Moskopp
e261cc9e8f
+ rail block bounding box
2011-06-08 05:27:55 +02:00
Perttu Ahola
72e742c24e
Added an experimental "far view" thing. Doesn't work exactly like it should and not suitable for real use yet, and might never be.
2011-06-07 22:08:16 +03:00
Nils Dagsson Moskopp
3be6891938
+ rail
2011-06-07 19:24:30 +02:00
Nils Dagsson Moskopp
51d308c666
+ rail
2011-06-07 19:24:30 +02:00
Perttu Ahola
fdee31abf1
...and the map part of that
2011-06-05 21:07:54 +03:00
Perttu Ahola
c68f21214d
made server to send map seed for testing
2011-06-05 21:06:54 +03:00
Perttu Ahola
d2a145b826
updated comment in main.cpp
2011-06-05 18:59:36 +03:00
Perttu Ahola
9b565b6bc4
tried to reduce unnecessary map saving disk i/o a bit
2011-06-05 18:57:36 +03:00
Perttu Ahola
a649d43fe7
Messed around with genmap.py. Now supports format version 17.
2011-06-05 00:10:06 +03:00
Perttu Ahola
6bd4cb2562
documentation update (mapformat.txt mainly)
2011-06-04 16:54:26 +03:00
Nils Dagsson Moskopp
f625a22e01
* point out setInventoryTextureCube() is broken with a FIXME
2011-06-03 13:13:31 +02:00
Nils Dagsson Moskopp
c3cd89705d
* point out setInventoryTextureCube() is broken with a FIXME
2011-06-03 13:13:31 +02:00
Nils Dagsson Moskopp
8835433b5e
+ paper, book, bookshelf
2011-06-03 13:12:56 +02:00
Nils Dagsson Moskopp
1bd25925cb
+ paper, book, bookshelf
2011-06-03 13:12:56 +02:00
Nils Dagsson Moskopp
ccc0420c52
+ papyrus
2011-06-03 00:55:28 +02:00
Nils Dagsson Moskopp
3bb1cfdf36
+ papyrus
2011-06-03 00:55:28 +02:00
Perttu Ahola
bf22dba687
removed a debug print that would flood a lot in some kind of a timeout
2011-06-02 20:09:30 +03:00
Perttu Ahola
1b8cff8fbf
In a globally installed build, debug.txt is now placed in userdata directory. Needs testing still.
2011-06-02 19:30:03 +03:00
Perttu Ahola
fd64dd5e20
added -Wno-unused-but-set-variable to debug build
2011-06-02 02:59:30 +03:00
Perttu Ahola
75f3e68451
Merged CiaranG's fence graphic updates (ugh, well, it worked, i guess, kind of.) This commit should also get rid of multiple heads on the server.
2011-06-02 02:37:49 +03:00
Perttu Ahola
7d57b71ffe
0.2.20110602_0
2011-06-02 00:15:42 +03:00
Perttu Ahola
51cf464f74
Fixed the password crash on Windows
2011-06-02 00:01:11 +03:00
teddydestodes
6434f64ab4
added new submenu for key assignment
...
configwriting/saving isn't complete and will break your config if you use fancy keys
2011-06-01 19:44:07 +02:00
teddydestodes
58bc6f3a18
added new submenu for key assignment
...
configwriting/saving isn't complete and will break your config if you use fancy keys
2011-06-01 19:44:07 +02:00
teddydestodes
9b6b4b65f8
Merge remote-tracking branch 'bucket-t/master'
2011-06-01 14:43:27 +02:00
teddydestodes
09d7654f46
Merge remote-tracking branch 'bucket-t/master'
2011-06-01 14:43:27 +02:00
MrLoom
2f2f28d398
MacOSX build support
2011-06-01 14:13:22 +02:00
MrLoom
28234f6e54
MacOSX build support
2011-06-01 14:13:22 +02:00
teddydestodes
4ddf2bc8a2
Merge remote-tracking branch 'upstream/master'
2011-06-01 14:11:52 +02:00
teddydestodes
63fe487d93
Merge remote-tracking branch 'upstream/master'
2011-06-01 14:11:52 +02:00
Nils Dagsson Moskopp
9de57d13bc
* improved fence dimensions (cuboid side lengths now multiples of 2, textures should fit better)
2011-06-01 20:06:16 +08:00
Nils Dagsson Moskopp
d2b2c7c09e
* improved fence dimensions (cuboid side lengths now multiples of 2, textures should fit better)
2011-06-01 20:06:16 +08:00
Nils Dagsson Moskopp
5f52a622b6
* clay is rarer now
2011-06-01 08:09:28 +02:00
Nils Dagsson Moskopp
c930a92b72
* clay is rarer now
2011-06-01 08:09:28 +02:00
Nils Dagsson Moskopp
ba1460a582
+ clay and associated items
2011-06-01 04:57:46 +02:00
Nils Dagsson Moskopp
cffd40c5d6
+ clay and associated items
2011-06-01 04:57:46 +02:00
Nils Dagsson Moskopp
d7b768dc4b
+ brick
2011-05-31 22:04:09 +02:00
Nils Dagsson Moskopp
fb78854e9b
+ brick
2011-05-31 22:04:09 +02:00
Perttu Ahola
bbead93c1a
Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks while no players are near it.
2011-05-31 20:02:55 +03:00
Ciaran Gultnieks
06427e355a
Slightly better texture coordinates for fences
2011-05-31 10:12:51 +01:00
celeron55
7740425085
Updated licenses of CiaranG's contributions to be in line with the new contribution policy and added a TODO note to server.cpp
2011-05-31 11:59:51 +03:00
Nils Dagsson Moskopp
6ca51de990
+ fence inventory icon
2011-05-31 03:54:39 +02:00
Nils Dagsson Moskopp
6c3ca42e0e
+ fence inventory icon
2011-05-31 03:54:39 +02:00
Nils Dagsson Moskopp
b461213ddb
* improved fence dimensions (cuboid side lengths now multiples of 2, textures should fit better)
2011-05-31 02:56:23 +02:00
Nils Dagsson Moskopp
0f4c83eb98
* improved fence dimensions (cuboid side lengths now multiples of 2, textures should fit better)
2011-05-31 02:56:23 +02:00
Perttu Ahola
63ae3d7387
forgot to add profiler to servermain.cpp
2011-05-31 00:26:47 +03:00
Perttu Ahola
db36771c63
auth stuff is now saved only when modified
2011-05-31 00:23:39 +03:00
Perttu Ahola
41f07328c8
removed some debug prints
...
...and added support for simple time usage profiling in the last one.
2011-05-31 00:16:58 +03:00
Perttu Ahola
223b379348
Reduced the CPU usage of the sent block selector algorithm
2011-05-31 00:15:43 +03:00
Ciaran Gultnieks
10cf6c3f6d
Ability to set texture coordinates on a generated cuboid (for fences)
...
Note: can't test this properly yet - may be fixes to follow
--HG--
extra : rebase_source : e2d41621018f886d340c7847b29240042d4412ac
2011-05-30 18:38:46 +01:00
Nils Dagsson Moskopp
289e31ed98
+ cactii
2011-05-30 14:42:08 +02:00
Nils Dagsson Moskopp
880aa870a0
+ cactii
2011-05-30 14:42:08 +02:00
Perttu Ahola
e81919c818
hopefully fixed the privilege problems
...
--HG--
extra : rebase_source : 9826d20176134a53ff232816a10407465d8c0f50
2011-05-29 22:34:04 +03:00
Perttu Ahola
b7361e295a
updated comments
...
--HG--
extra : rebase_source : bb7c083b9ab2989d90f41255b85e9e3edaf578ef
2011-05-29 21:16:37 +03:00
Perttu Ahola
b3d242ae38
tuned grass growth rate
...
--HG--
extra : rebase_source : 8ad4d13fc7ab1088ebd18cf968d912949aab8eae
2011-05-29 21:16:15 +03:00
Perttu Ahola
9f7c21a0b4
invert_mouse config option
...
--HG--
extra : rebase_source : 2695ad71185244cefbcf6e3e28ba1ab5e54c882f
2011-05-29 21:13:29 +03:00
Perttu Ahola
63611932eb
player passwords and privileges in world/auth.txt
...
--HG--
extra : rebase_source : 7260636295d9068fbeeddf4143c89f2b8a91446c
2011-05-29 21:11:16 +03:00
teddydestodes
544aeb0840
fast_move and free_move can now be toggled
2011-05-29 19:17:42 +02:00
teddydestodes
ca26de72c9
fast_move and free_move can now be toggled
2011-05-29 19:17:42 +02:00
Nils Dagsson Moskopp
e76f4155d5
+ sandstone
2011-05-29 18:44:42 +02:00
Nils Dagsson Moskopp
843ffba567
+ sandstone
2011-05-29 18:44:42 +02:00
Ciaran Gultnieks
99c2ac0125
A very poor (but better than nothing) inventory icon for fences
2011-05-24 23:18:41 +01:00
Perttu Ahola
acd7ce897d
when pause menu is activated, move mouse cursor on top of the disconnect button, for convenience.
2011-05-24 21:04:22 +03:00
Perttu Ahola
12ca835e14
Merged CiaranG's fence and fixed two things
2011-05-24 20:13:21 +03:00
Perttu Ahola
0c5f580365
a work-in-progress map modified callback interface (committing because i want to merge the fence stuff)
2011-05-24 20:05:30 +03:00
Perttu Ahola
ab02f0aa1b
Added a check that avoids server crash (unhandled exception) when map generation is attempted near limit
2011-05-24 20:03:19 +03:00
Ciaran Gultnieks
c5e583e059
Added fences (but still needs an icon or something to display in inventory)
2011-05-24 17:52:04 +01:00
Ciaran Gultnieks
8bbc512fe5
Added 'shout' player privilege
2011-05-23 20:40:25 +01:00
Ciaran Gultnieks
a9940c2ccf
Allow default privileges for new players to be set in the server config
2011-05-22 23:56:57 +01:00
Perttu Ahola
e1a2b8f600
merged password change menu
2011-05-23 00:12:24 +03:00
Perttu Ahola
4a6b9a6ac1
Some work-in-progress stuff and many comment updates
2011-05-22 23:55:02 +03:00
Ciaran Gultnieks
a8a3271470
Added the ability to change your password (via pause menu)
...
--HG--
extra : rebase_source : e8ec407f60711d42d33be4811b2880088f617b5b
2011-05-22 21:09:12 +01:00
Perttu Ahola
e0329a3cae
mud placed in sunlight no longer instantly turns to grass; also tuned transforming speed a bit (will be made a lot longer when testing is complete)
2011-05-22 17:25:52 +03:00
Perttu Ahola
0af5311538
Preliminary "active block" stuff + set up test code to grow grass.
2011-05-22 17:00:09 +03:00
Perttu Ahola
af7d50e910
Fixed a small memory leak in ServerEnvironment and cleaned the code a bit
2011-05-21 14:28:58 +03:00
Perttu Ahola
eb6f1804fb
fixed a small memory leak in game.cpp
2011-05-21 14:28:28 +03:00
Perttu Ahola
60bb663bf8
fixed a small memory leak in mapnode.cpp
2011-05-21 14:28:13 +03:00
Perttu Ahola
c1b164cbcb
added a delay to menu loop
2011-05-21 12:28:33 +03:00
Perttu Ahola
fe02a19f17
Cleaned networking code a bit (had this one on the to-do list for like 4 months already)
2011-05-21 12:25:08 +03:00
Perttu Ahola
969fbb189d
All textures are are now searched first from the directory specified by the texture_path setting.
2011-05-21 11:07:03 +03:00
Perttu Ahola
76e241392d
Merge: New map directory structure and player passwords
2011-05-21 01:11:58 +03:00
Ciaran Gultnieks
52d857cf15
Passwords - a few corrections to the previous commit
2011-05-20 21:37:13 +01:00
Ciaran Gultnieks
d4d49ee8f4
Passwords - password entry at main menu, stored and checked by server
2011-05-20 20:28:03 +01:00
Perttu Ahola
73a18b9271
change default sneak key from RSHIFT to LSHIFT
2011-05-19 22:59:10 +03:00
Perttu Ahola
26bbe66288
Moved the temporary mapgen test files and added a modified map.cpp too... These are probably useful in the next mapgen update and shouldn't be lost.
...
--HG--
rename : src/noise.cpp.new => misc/noise.cpp
rename : src/noise.h.new => misc/noise.h
2011-05-19 20:10:17 +03:00
Perttu Ahola
bc6d477cbb
Add (possibly non-compatible) work-in-progress noise.{h,cpp} so that they won't be accidentally lost. These are useful for upcoming mapgen updates.
2011-05-19 20:06:54 +03:00
Ciaran Gultnieks
b5ceaf445a
Don't say 'Creating server and client' if the server is remote, so not being created
2011-05-19 12:18:42 +01:00
Perttu Ahola
889de3e93a
put the wstring stoi too in the ignore-on-vc2010 #if
2011-05-19 08:16:48 +03:00
Perttu Ahola
ea3c653a8b
(hopefully) fixed stoi/stof compile problems on vc2010
2011-05-18 22:05:31 +03:00
Perttu Ahola
cdfb5345e9
small comment update
2011-05-18 21:59:31 +03:00
Ciaran Gultnieks
e09fec3373
New map directory structure that avoids map size being limited by filesystem
2011-05-18 16:48:27 +01:00
Perttu Ahola
c52fbcd8e9
merged fix to readlink ignored return value warning
2011-05-17 00:00:01 +03:00
Perttu Ahola
07ff1da6ae
merged CiaranG's stuff again: auto-admin powers to local user, DSTACK macro -Wformat warnings
2011-05-16 23:59:28 +03:00
Ciaran Gultnieks
f1bdc6b187
Get rid of ignored return value warning
2011-05-16 21:57:36 +01:00
Ciaran Gultnieks
29932d4bdd
Get rid of all the string format warnings caused by the DSTACK macro
2011-05-16 21:47:50 +01:00
Perttu Ahola
5624dac3b7
added -Wno-unused-but-set-variable, which hides a new warning in gcc 4.6 which only slows down development with no effect on security or anything.
2011-05-16 20:40:19 +03:00
Ciaran Gultnieks
8bba9cde5c
Restored the auto-admin powers of the local user (via name= in the config)
...
--HG--
extra : rebase_source : a35aa0d978990c28fa4fc158ce47d1f4aa967c04
2011-05-16 18:26:37 +01:00
Perttu Ahola
bc59c18503
Fixed two compiler warnings
2011-05-16 19:54:08 +03:00
Perttu Ahola
94c9686020
merged CiaranG's changes (player privileges)
2011-05-16 19:39:15 +03:00
Ciaran Gultnieks
b3268ff389
Server commands without classes
2011-05-16 17:13:33 +01:00
Ciaran Gultnieks
1520d49310
Privileges to/from string conversion functions standalone, not static members
2011-05-16 16:13:17 +01:00
Ciaran Gultnieks
7cdd988f88
Better synchronisation of build/mine attempts when the player isn't allowed to
2011-05-16 11:34:06 +01:00
Ciaran Gultnieks
50c48219a7
Allow "all" to be specified in player config file for privileges
2011-05-16 11:32:49 +01:00
Ciaran Gultnieks
248d7c8469
Improved server commands and added player permissions.
...
--HG--
extra : rebase_source : 178fe08f10b7de3ebaba088bd24faad795114216
2011-05-16 10:41:19 +01:00
Perttu Ahola
1c3a85fa54
fixed an "unused variable" warning
2011-05-15 13:07:53 +03:00
Perttu Ahola
17f575b11b
added missing #ifndef KEYCODE_HEADER to keycode.h
2011-05-15 13:06:46 +03:00
Perttu Ahola
dadac0e79f
removed a leftover debug print
2011-05-14 19:46:35 +03:00
Perttu Ahola
5cb569af7f
removed unnecessary comment
2011-05-14 15:44:27 +03:00
Perttu Ahola
974c5cc08c
Added key configuration in the configuration file.
2011-05-14 15:43:26 +03:00
Perttu Ahola
0674db4a6b
merged CiaranG's changes: the glass block
2011-05-09 21:41:16 +03:00
Ciaran Gultnieks
2e1a69c3b1
Added glass, with rendering and furnace support.
2011-05-09 19:22:07 +01:00
Perttu Ahola
8c3b4fed10
Removed a single outdated comment in client.cpp
2011-05-09 16:39:37 +03:00
Perttu Ahola
1a6e1e142f
Fixed viewing range stuff a bit (now it works better with very low ranges)
2011-05-06 16:58:06 +03:00
Perttu Ahola
59c4a342a9
Fixed a temporary solution of server shutting down to an assert(0) when a too large block metadata is sent to an old client
2011-05-03 17:33:51 +03:00
Perttu Ahola
821d5bb4cc
Hopefully fixed the bug of huge mineral deposits rarely in seafloor sand
2011-05-03 17:33:13 +03:00
Perttu Ahola
1c08b6c99a
comment update
2011-05-03 08:22:05 +03:00
Perttu Ahola
9c72d44fe7
random comment updates
2011-04-30 02:12:32 +03:00
Perttu Ahola
67529acf5f
added cobblestone to the texture atlas
2011-04-29 18:30:34 +03:00
Perttu Ahola
a73b10eb1c
made proper skyboxes for dawn/evening and night
2011-04-29 17:53:07 +03:00
Perttu Ahola
a5df5f8291
Tweaked clouds a bit
2011-04-29 16:39:47 +03:00
Perttu Ahola
0847e550f0
added simple skybox
2011-04-29 16:00:36 +03:00
Perttu Ahola
7a367f96e1
added clouds
2011-04-29 15:34:26 +03:00
Perttu Ahola
288822e73d
Maybe fixed the flood of "WARNING: StaticObjectList::remove(): id=13 not found" style debug messages on the server when a player has quit.
2011-04-29 00:29:34 +03:00
Perttu Ahola
8377b5f2a6
Changed a bit of the code that is and should still be commented out.
2011-04-27 00:14:16 +03:00
Perttu Ahola
36d299ce58
forgot to change one thing back
2011-04-26 16:22:00 +03:00
Perttu Ahola
ffb1128951
tested out and commented out some new stuff for the terrain generator, to be used in the future.
2011-04-26 15:38:42 +03:00
Perttu Ahola
664eb4f7c5
A small fix to unnecessary saving of map metadata
2011-04-26 01:13:30 +03:00
Perttu Ahola
2830095366
Optimized map saving and sending (server-side)
2011-04-26 00:23:38 +03:00
Perttu Ahola
42fb1ba676
Set oerkki1 to not be drawn in completely dark
2011-04-25 11:55:40 +03:00
Perttu Ahola
041b5e5479
Added /#time <int> command to server for changing the time of day
2011-04-25 11:55:07 +03:00
Perttu Ahola
2c4351b9b2
fix to the previous commit
2011-04-25 00:31:22 +03:00
Perttu Ahola
ab51298a0d
server to print version in chat
2011-04-25 00:24:40 +03:00
Perttu Ahola
6edb8c567c
Tuned polygon generation to sort the triangles for nicer gradients
2011-04-24 21:54:04 +03:00
Perttu Ahola
f2349ec5df
...Now the tesselation should actually work
2011-04-24 21:18:25 +03:00
Perttu Ahola
2704bdc68e
Optimized smooth lighting calculation code
2011-04-24 21:15:50 +03:00
Perttu Ahola
c9967d6d07
updated menu a bit, and some other small fixes
2011-04-24 15:37:41 +03:00
Perttu Ahola
ba88685fab
cleaned the smooth lighting code a bit
2011-04-24 14:19:35 +03:00
Perttu Ahola
79799840a2
disable tiling of textures only if smooth lighting is used
2011-04-24 12:39:33 +03:00
Perttu Ahola
b21c7de3ed
Added a setting for disabling smooth lighting. Updated changelog.
2011-04-24 12:31:19 +03:00
Perttu Ahola
8c1f7a0dd2
Added a simple software "ambient occlusion" effect, like minecraft's "smooth lighting"
2011-04-24 11:41:33 +03:00
Perttu Ahola
0034744568
Made the main menu a bit more unique looking
2011-04-24 00:11:23 +03:00
Perttu Ahola
96e09703ba
fix to the previous commit
2011-04-23 18:59:23 +03:00
Perttu Ahola
ea69a49a7b
tuned error reporting a bit
2011-04-23 18:53:39 +03:00
Perttu Ahola
179fc8597b
port to be not set to 0 from configuration
2011-04-23 18:43:20 +03:00
Perttu Ahola
1995b59320
Code refactoring; split half of main.cpp to game.cpp.
2011-04-23 18:31:31 +03:00
Perttu Ahola
9f17664336
cleaning up main.cpp a bit
2011-04-23 16:01:49 +03:00
Perttu Ahola
bda4681242
fixed flowing water lighting when it is below a solid block
2011-04-23 16:01:32 +03:00
Perttu Ahola
bbe47f845b
Updated to-do list and added the give_initial_stuff setting for testing
2011-04-22 10:48:40 +03:00
Perttu Ahola
b36e5c0508
Removed IrrlichtWrapper
2011-04-22 09:54:05 +03:00
Perttu Ahola
983bf6677d
set client to not show hp if server doesn't support it
2011-04-21 19:54:05 +03:00
Perttu Ahola
c638442e78
Some work-in-progress in hp and mobs and a frightening amount of random fixes.
2011-04-21 19:35:17 +03:00
Perttu Ahola
3c61d57f6d
item drop multiplication fix
2011-04-19 17:09:45 +03:00
Perttu Ahola
a7d36a50bb
Menu will now ignore an invalid port or the port 0.
2011-04-15 23:35:32 +03:00
Perttu Ahola
e20dbbf6ee
fixed port setting not being loaded from configuration file for client
2011-04-12 17:42:17 +03:00
Perttu Ahola
08139f32f9
fixing
2011-04-12 01:59:09 +03:00
Perttu Ahola
249c0dc68a
Fixed some problems with crafting and inventory
2011-04-11 21:28:04 +03:00
Perttu Ahola
81ac026e1f
updated example map generator python script
2011-04-11 18:33:05 +03:00
Perttu Ahola
50a8087684
support for format 0 and 1 maps
2011-04-11 16:58:49 +03:00
Perttu Ahola
f5f15e38a5
Added installing build-essential to build instructions and modified the main.cpp notes a bit
2011-04-11 14:04:26 +03:00
Perttu Ahola
9d4e9c59de
fixed warnings reported by cppcheck
2011-04-11 11:36:13 +03:00
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
67d5f5c1d5
fixed problem with vc++ build crashing at startup
2011-04-11 09:47:25 +03:00
Perttu Ahola
032882ae05
hopefully fixed a bit more
2011-04-11 00:24:32 +03:00
Perttu Ahola
3236032101
improved old map support
2011-04-11 00:19:40 +03:00
Perttu Ahola
dc6966cb9d
added ignoring of map_meta.txt to better support old maps
2011-04-11 00:06:07 +03:00
Perttu Ahola
bb39795ab2
fixed the object update interval thingy
2011-04-10 23:29:36 +03:00
Perttu Ahola
9d5ccafbb0
changed server to do object management at longer intervals (0.5s)
2011-04-10 23:14:41 +03:00
Perttu Ahola
26eb607a11
Made environment to not consider disconnected players when dealing with ActiveObjects
2011-04-10 23:05:21 +03:00
Perttu Ahola
b0b5c43254
better support for old maps
2011-04-10 22:50:31 +03:00
Perttu Ahola
3d25fe42f3
missing include for server build
2011-04-10 20:53:39 +03:00
Perttu Ahola
89eaaa3e6e
added missing file
2011-04-10 20:49:15 +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
7aa2d4d109
new-style rats are now generated in the map
2011-04-10 16:20:31 +03:00
Perttu Ahola
1a32e5585f
fixed a bit
2011-04-10 15:23:36 +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
6f99cd021b
set GUIInventoryMenu to be scaled according to the height of the window (not width)
2011-04-09 17:11:31 +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
90234e35a6
cleaning notes and stuff
2011-04-06 11:34:41 +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
b5ace9a064
Made mesh update on node removal asynchronous on client, to reduce frametime spikes
2011-04-06 11:01:55 +03:00
Perttu Ahola
e56d166337
Made mesh update on node addition asynchronous on client, to reduce frametime spikes
2011-04-06 10:28:39 +03:00
Perttu Ahola
212f34db82
fixed the bug of disabled removal of empty chests
2011-04-06 01:42:37 +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
5b4928e07c
forgot the furnace menu files!
2011-04-05 11:46:17 +03:00
Perttu Ahola
d6d811f97b
A more robust format for node metadata
2011-04-05 10:59:48 +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
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
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