Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
c78aa7cf
Commit
c78aa7cf
authored
10 years ago
by
sapier
Browse files
Options
Downloads
Patches
Plain Diff
Fix HUD not visible if below ground blacked out
parent
d7986da5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/drawscene.cpp
+9
-0
9 additions, 0 deletions
src/drawscene.cpp
src/game.cpp
+93
-100
93 additions, 100 deletions
src/game.cpp
with
102 additions
and
100 deletions
src/drawscene.cpp
+
9
−
0
View file @
c78aa7cf
...
...
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include
"main.h"
// for g_settings
#include
"settings.h"
#include
"clouds.h"
#include
"clientmap.h"
#include
"util/timetaker.h"
typedef
enum
{
...
...
@@ -458,6 +459,14 @@ void draw_scene(video::IVideoDriver* driver, scene::ISceneManager* smgr,
draw_plain
(
camera
,
show_hud
,
hud
,
hilightboxes
,
driver
,
draw_wield_tool
,
client
,
guienv
);
}
/*
Post effects
*/
{
client
.
getEnv
().
getClientMap
().
renderPostFx
(
camera
.
getCameraMode
());
}
//TODO how to make those 3d too
if
(
show_hud
)
{
...
...
This diff is collapsed.
Click to expand it.
src/game.cpp
+
93
−
100
View file @
c78aa7cf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment