93 Commits

Author SHA1 Message Date
est31
f4a3caf34e Fix nametag hiding
Commit

c3b279750ece0b5144bf8e973d55108347462223 "Move object nametags to camera"

has added a regression to still display
a shadow if their alpha got set to 0.
2016-04-02 02:02:19 +02:00
RealBadAngel
e9ccb7fe8e Camera: remove auto tune FPS, single view range setting 2016-02-21 18:18:13 +01:00
RealBadAngel
14bc09be93 Camera: Don't count camera offset twice for Nametagged CAOs 2016-02-19 14:52:19 +00:00
RealBadAngel
e0f29ab7d3 Move object nametags to camera 2016-02-18 16:43:29 +01:00
RealBadAngel
aee6bce52e Fix wield item glitch 2016-01-18 17:20:53 +00:00
ShadowNinja
e94ae71889 Fix clang warning 2015-10-31 13:28:58 -04:00
ShadowNinja
85dbe50ec1 Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
2015-10-14 02:39:37 -04:00
RealBadAngel
35f96637dc Add wielded (and CAOs) shader 2015-07-21 23:56:41 +02:00
Loic Blot
3d9347b35e Remove profiler.h include where it's not needed. Remove some unreachable and very old code 2015-07-21 08:10:43 +02:00
Craig Robbins
0731f9ed2a Move globals from main.cpp to more sane locations
Move debug streams to log.cpp|h

Move GUI-related globals to clientlauncher

Move g_settings and g_settings_path to settings.cpp|h

Move g_menuclouds to clouds.cpp|h

Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
ShadowNinja
3e6bebd2b1 Make camera clear error message if there's no error 2015-03-27 22:20:10 -04:00
ShadowNinja
295d5f2a68 Change error_message from wstring to string
This removes a lot of narrow/wide conversions where a wide string was never used.
2015-03-27 20:24:04 -04:00
paramat
3453394f89 Return step smoothing value to 23 2015-01-08 15:06:28 +10:00
MirceaKitsune
f54ae89efb Allow footstep sounds to play for liquid and ladder nodes, making swimming and climbing sounds possible 2014-12-12 16:47:47 +01:00
Calinou
265d3504d9 Increase third person view distance
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-07 21:54:44 +10:00
Craig Robbins
b3fb47891f Fix regression (increase/decrease viewing range with +/- keys) 2014-12-07 18:32:30 +10:00
Craig Robbins
0be778ad52 Performance of main client loop up to 2x faster In places, up to 3 times faster
NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps
NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released
2014-12-07 00:51:01 +10:00
Calinou
34eca4c0bb Increase step smoothing to fit 1:1 stairs (works well on slabs too)
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 17:28:02 +10:00
Kahrl
c33891174d Implement WieldMeshSceneNode which improves wield mesh rendering
- Don't create and cache an extruded mesh for every (non-node) item.
  Instead use a single one per image resolution.

- For cubic nodes reuse a single wield mesh too

- Improve lighting of the wielded item

- Increase far value of wield mesh scene camera, fixes #1770

- Also includes some minor refactorings of Camera and GenericCAO.
2014-11-08 23:11:57 +01:00
sapier
1d6a1f727d Add support for interlaced polarized 3d screens
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-05-18 01:08:13 +02:00
sapier
f4753a9cd4 Add support for dpi based HUD scaling
Add support for (configurable) multiline hotbar
Improved screensize handling
Add userdefined gui scale by BlockMen
2014-04-27 21:53:13 +02:00
Sfan5
3f90a81374 Fix all warnings reported by clang 2014-04-15 21:34:53 +02:00
BlockMen
a5db2961b2 Add player:set_eye_offset() by @MirceaKitsune and clean up 2014-04-12 17:44:20 +02:00
BlockMen
8909fe913c Add third person view 2014-04-12 17:44:15 +02:00
Novatux
a662fe9fc4 Fix rendering glitches when far from the center of the map 2014-03-04 20:12:10 +01:00
Perttu Ahola
18d7e214df Fix and improve view range tuner 2013-08-03 18:46:18 +03:00
PilzAdam
8163be924d Fix disappearing of wielditem 2013-05-21 20:16:22 +02:00
PilzAdam
56be8b990d Dont animate changing wielditem from hand to hand 2013-05-20 20:31:38 +02:00
PilzAdam
d3449da5e1 Add a little animation when changing the wielded item 2013-05-20 01:09:41 +02:00
Aaron Suen
8d7a7de3ed Fix math for isBlockInSight. Fixes #718 (client-side). 2013-05-18 00:13:01 +02:00
Perttu Ahola
ccb39de028 Disable fall bobbing by default; enable using fall_bobbing_amount = 1.0 2013-04-23 23:19:36 +03:00
MirceaKitsune
2a821f6880 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
sapier
6967aa544a fix mesh leak in camera class 2013-04-07 21:49:55 -04:00
Zeg9
519524e09f Fix camera "jumping" when attached and the parent goes too fast 2013-04-03 23:22:40 +02:00
Sfan5
3fab3825aa Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
Jeija
73cabb7fe2 Tilt camera on player damage (tweaked by PilzAdam) 2013-01-03 15:16:46 +01:00
Perttu Ahola
84355b3f5f Smooth day-night transitions 2012-12-02 18:02:45 +02:00
Perttu Ahola
26ffacc60d Get rid of jordan4ibanez's insane digging animation speed 2012-12-02 03:10:23 +02:00
Perttu Ahola
e187e834c3 On-demand item meshes and textures 2012-12-02 00:38:26 +02:00
PilzAdam
2f079e23fa Add jordan4ibanez' better digging animation 2012-11-10 17:36:56 +01:00
Perttu Ahola
5dd94a9b44 Define M_PI on MSVC 2012-07-21 03:36:34 +03:00
Kahrl
05d8ea0ebb Custom boxy nodes (stairs, slabs) and collision changes 2012-06-17 16:34:39 +03:00
Perttu Ahola
ec937ecdd8 Properly and efficiently use split utility headers 2012-06-17 02:40:36 +03:00
Perttu Ahola
e70b6545b1 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
0abf89eb12 Add 'fly' and 'fast' privileges and the underlying privileges-to-client system 2012-03-31 16:25:02 +03:00
Perttu Ahola
5e9e763b6f Increase vertical FOV on lower aspect ratios (<16:10) 2012-03-27 18:39:21 +03:00
Perttu Ahola
e4d6d22260 Digging and placing sounds 2012-03-24 04:24:26 +02:00
Perttu Ahola
753a1999e6 Add event manager and use it to trigger sounds 2012-03-24 04:24:26 +02:00
Perttu Ahola
cb281450b1 c55sound continued 2012-03-24 04:24:25 +02:00