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
Perttu Ahola
804a7875a2
Smooth day-night transitions
2012-12-02 18:02:45 +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
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
bee170570d
On-demand item meshes and textures
2012-12-02 00:38:26 +02:00
PilzAdam
bb454b1846
Merge support for anaglyph stereo
2012-12-01 12:41:05 +01: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
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
8b16e5f27d
Anaglyph stereo support, created by xyz
2012-11-13 19:20:35 +02: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
c009aa3a22
Fix building on top of (pointable && buildable_to) nodes
2012-07-23 20:42:08 +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
Bad-Command
cc10eec6c6
Fix signed overflow in getPointedThing
2012-07-21 16:13:51 +03:00
Perttu Ahola
2795f44f03
Server-side checking of digging; disable_anticheat setting
2012-07-21 14:38:49 +03:00
Perttu Ahola
16ad10e62f
Allow defining player's inventory form in Lua
2012-07-19 14:09:16 +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
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
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
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
a09d86dd3c
Update inventory menu from formspec on-the-fly
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
d7447cdf9e
Implement sign using form field protocol
2012-06-03 22:31:01 +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
6a57eabb14
Handle failing openal init properly, add enable_sound and sound_volume settings
2012-04-06 15:30:36 +03:00
Perttu Ahola
22a5a1fa43
Show reported map seed on debug info (F5)
2012-04-04 22:43:54 +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
52122c342d
Add 'fly' and 'fast' privileges and the underlying privileges-to-client system
2012-03-31 16:25:02 +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
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
f801e16b78
Texture cache -> Media cache WIP
2012-03-25 11:51:33 +03: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
8c2f3bb378
c55sound continued
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
c3f2b24a9a
Remove useless clearing of the Z buffer
2012-03-22 22:15:38 +02:00
Perttu Ahola
ef0ec31554
Goddamn MSVC pow overload ambiguities
2012-03-21 22:11:15 +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
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
Kahrl
807a0d313b
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
2012-03-15 21:45:44 +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
6298878bfa
Add "simple singleplayer mode"; Fix a number of GUI things
2012-03-15 15:20:20 +02:00
Perttu Ahola
2c9bb06516
Make finish quicktune and leave it unused (as intended)
2012-03-12 21:27:29 +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
8b6cce18cb
Improve command-line parameters
2012-03-11 12:06:59 +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
Perttu Ahola
c89d1cf072
Initial directory structure rework
2012-03-10 17:10:10 +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
8c01ad8a9d
ClientActiveObject::debugInfoText()
2012-03-10 11:28:13 +02:00
Perttu Ahola
501b8fe743
Damage groups WIP
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
562ac3bce9
Digging time groups WIP
2012-03-10 11:28:12 +02:00
Perttu Ahola
993821a924
Tune brightness stuff and fog color
2012-02-06 17:40:48 +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
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
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
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
cd0019acd2
Fix server sending stuff before textures have been sent
2012-01-02 17:44:00 +02:00
Perttu Ahola
69579306dd
Extend load screen maximum time
2011-12-11 16:52:19 +02:00
Perttu Ahola
d06d7cb9a4
Show infotext for unknown nodes
2011-12-03 13:51:16 +02:00
Kahrl
d6b30dd3a5
CraftItem rework and Lua interface
2011-11-29 19:13:58 +02:00
Perttu Ahola
ab3911ba9e
Print errors from local log to chat
2011-11-29 19:13:56 +02:00
Kahrl
f42c57d9a8
Add IDropAction and related stuff
2011-11-29 19:13:54 +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
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
81f1cc662f
Remove #include <content_mapnode.h> from game.cpp
2011-11-29 19:13:46 +02:00
Perttu Ahola
7696a38543
Improve loading screen and protocol
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
eed727c61b
Completely generalized mesh generation; ContentFeatures serialization
2011-11-29 19:13:44 +02:00
Perttu Ahola
cf6e22e9a6
Better node texture generation
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
e71744b918
Modify mod and texture directory hierarchies
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
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
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
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
64996422c0
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
2011-11-29 19:13:40 +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
9b907dd65a
Try to tune fog to work well on high-end machines also
2011-10-18 21:08:31 +03:00
Perttu Ahola
4e1055543c
Tune map rendering and related diagnostics
2011-10-18 19:18:01 +03:00
Perttu Ahola
eae2d35ca5
Fix client profiler print interval
2011-10-18 10:36:52 +03:00
Perttu Ahola
64c4d00693
F2 toggles profiler display in client
2011-10-17 20:40:55 +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
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
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
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
9e46cbf7ea
Header file tweaking; mainly for speed
2011-10-12 13:53:38 +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
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
01f3ae1c50
Digging animation
2011-09-20 11:06:16 +02:00
Kahrl
36bcbca9ac
Added sprite extruder
2011-09-19 03:01:11 +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
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
ccadebabba
Implemented view bobbing (testing simple lemniscate shape)
2011-09-08 13:03:55 +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
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
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
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
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
Perttu Ahola
8f42a8be0c
lava!
2011-08-15 02:04:56 +03:00
Constantin Wenger
5784c14ab7
added ipban support
...
commands:
/#ipban <nick>
/#ipunban <ip>
2011-08-12 03:37:18 +02:00
Giuseppe Bilotta
91d1186cbb
Keep track of player item
2011-08-11 15:22:36 +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
Perttu Ahola
64a6da3e45
merged delta and c55
2011-08-05 11:22:13 +03:00
Perttu Ahola
5f8809e425
Fixed farmesh to such that it was a long time ago.
2011-08-03 13:03:30 +03: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
bc2819cab2
Added ladders--they don't have any use yet, though
2011-08-01 09:22:36 +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
d62ae0e18b
Rats are now eatable. Also made their selection box move smoothly.
2011-07-30 18:51:15 +03:00
Perttu Ahola
1de45cc8a7
Removed remaining -delta references
2011-07-30 14:02:11 +03:00
Perttu Ahola
0b4cdfa023
Made hotbar a bit smaller
2011-07-23 20:22:04 +03:00
Perttu Ahola
2587bb361c
merged the content type extension and delta
2011-07-23 19:04:37 +03:00