SBARINFO
Moderator: GZDoom Developers
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
Re: SBARINFO
Even if that was not true I would settle for that anyway.Gez wrote:He's really Prince Albert of Monaco and the forum would get flooded by paparazzi accounts.Graf Zahl wrote:Uh... Why?
-
Blzut3
-

- Posts: 3219
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: SBARINFO
Or maybe I'm just 14 and I follow the 3 or 4 rules my parents have set forth?Gez wrote:He's really Prince Albert of Monaco and the forum would get flooded by paparazzi accounts.Graf Zahl wrote:Uh... Why?
Anyways, I got permission from my father so the copyright and license information has been added.
-
Nash
-

- Posts: 17511
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: SBARINFO
Holy freaking crap, you are so much younger than I thought you were! Definitely much younger than me!Blzut3 wrote:Or maybe I'm just 14 and I follow the 3 or 4 rules my parents have set forth?
Anyways, I got permission from my father so the copyright and license information has been added.
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: SBARINFO
I didn't expect that.
One piece of advice about credits: If you are interested in a programming job, showing people this, saying 'I did it when I was 14' might definitely improve your chances. Good programmers are hard to find. The company I am working for has always problems finding people with the necessary skills.
Most are so damaged by Java programming and other 'modern' ideas so that they are incapable of comprehending complex code or writing some themselves. And I think this is getting much worse in the upcoming years.
One piece of advice about credits: If you are interested in a programming job, showing people this, saying 'I did it when I was 14' might definitely improve your chances. Good programmers are hard to find. The company I am working for has always problems finding people with the necessary skills.
Most are so damaged by Java programming and other 'modern' ideas so that they are incapable of comprehending complex code or writing some themselves. And I think this is getting much worse in the upcoming years.
-
Karate Chris
- Posts: 307
- Joined: Wed Aug 23, 2006 7:58 am
Re: SBARINFO
That just made my day.Graf Zahl wrote:Most are so damaged by Java programming
-
Zippy
- Posts: 3302
- Joined: Wed Mar 23, 2005 5:31 pm
- Location: New Jersey
Re: SBARINFO
It's a tricky little thing.Karate Chris wrote:That just made my day.Graf Zahl wrote:Most are so damaged by Java programming
Like many things, Java programming isn't inherently bad. In fact, it can be quite good for certain things (like introducing and teaching OO programming concepts). It's all a matter of "the right tool for the right job", as is the case for any programming language. The problem comes in exactly the form Graf describes it: when it and other things are allowed to actually damage the prospective programmers capacity to grow.
Programming just isn't a bunch of syntax. A lot of the real heart of it lies in concepts. Further: in being able to understand and apply concepts. It's the concepts you need so you can do things like take tools and languages you've never used or even heard of before and work with them anyway because Goddammit this milestone has to be hit by Friday and somebody needs to tie the Foo and the Bar together. I've only been programming professionally for two years and there's at least been a dozen instances where I've had to dive headfirst into tools and languages I've either never used or heard of before. It's a good thing that I have the grounding in the fundamental concepts to the point that I can just pick these things up, because I probably wouldn't be getting far without it.
A frequent question in any schooling is "When are we ever going to use this?", and that's not really the point. The biggest thing you can take from school is to learn how to learn. It's something very similar here. I don't know about "getting worse in the upcoming years" or not, but I've seen exactly what Graf has been talking about in a few places in the past: where people can't make that intellectual jump from something like "learning to write Java code" to something more abstract, "learning to program".
-
Karate Chris
- Posts: 307
- Joined: Wed Aug 23, 2006 7:58 am
Re: SBARINFO
C++ was the first, and only, programming language I've learnt. I have to admit, that I do see more people using Java, than C++ which just makes me cry.
If you haven't guessed, I can't stand Java or the like either. 
-
Blzut3
-

- Posts: 3219
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: SBARINFO
It's kind of funny that everyone thinks Java is so bad when I jumped directly from Java to programming this. (I don't know if knowing PHP helped any). Minus some mindless additions to my local copy of ZDoom.
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: SBARINFO
It's not Java that is bad. For the right purposes it's quite a good language. However, if you need someone capable of system programming (which inevitably involves the concept of pointers), a large number of programmers who only know Java are hopelessly lost. I've seen it happen far too often.
Another problem is that Java makes it very easy to write highly inefficient code due to its data organization. That's not an issue on PCs but on cell phones for example every byte counts and again the traditional Java concepts don't work anymore.
What I find troubling is not that Java is being taught. Java is a good language to start programming.
The problem is when only Java is being taught. If programmers don't learn the more fundamental things they won't be able to do them later on. That's where I see the real danger.
In your case I don't see any of this. Your programming skills already far exceed those of countless professional programmers I have worked with.
Another problem is that Java makes it very easy to write highly inefficient code due to its data organization. That's not an issue on PCs but on cell phones for example every byte counts and again the traditional Java concepts don't work anymore.
What I find troubling is not that Java is being taught. Java is a good language to start programming.
The problem is when only Java is being taught. If programmers don't learn the more fundamental things they won't be able to do them later on. That's where I see the real danger.
In your case I don't see any of this. Your programming skills already far exceed those of countless professional programmers I have worked with.
-
Blzut3
-

- Posts: 3219
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: SBARINFO
Here is a really small update to fix two bugs with allowrespawn, some in progress stuff, and a new variable. Now it should be possible to do a 100% recreation of the standard doom status bar.
Hopefully I uploaded the right file this time.
Code: Select all
- Fixed: the playerclass command needed a null pointer check to prevent
crashing on respawn.
- Fixed: Mug Shot states were not reset on respawn.
- Removed keepoffsets flag since apparently it was keeping the offsets by
default. The means that the only thing not affected by the offsets was using
nullimage as a background. Since I wasn't able to get a result I liked I'm
going to say that if you want a black background with high res positioning
you will have to create your own bar image. Maybe I'll fix it some other
time.
- Added: monospacefonts variable which allows for all of the fonts to be
monospaced by a specified character (from their fontset of corse).
- Made SBarInfo recognize the bar names for the Strife popups but they don't
do anything beyond that. The names are: popuplog, popupkeys, and popupstatus.
- Started converting the drawing routine to be more flexable towards high
resolution status bars. (Only did one call so far.)-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: SBARINFO
patch added
-
Slasher
- Posts: 1160
- Joined: Sun Mar 16, 2008 11:17 pm
- Location: California
Re: SBARINFO
Does the DrawString command in SBARINFO have a size option or something? All the fonts I've tried with it are way too huge to fit in the area I need it to fit in with the HUD I'm making.
-
Blzut3
-

- Posts: 3219
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: SBARINFO
Nope. You have to create high resolution fonts to do what you want.
-
Slasher
- Posts: 1160
- Joined: Sun Mar 16, 2008 11:17 pm
- Location: California
Re: SBARINFO
Could you possibly add a size parameter? I made a feature request here: http://forum.zdoom.org/viewtopic.php?f=15&t=16685Blzut3 wrote:Nope. You have to create high resolution fonts to do what you want.