[Fixed] Another Hexen ACS Bug

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Postby taco » Sat Nov 15, 2003 5:05 pm

randomlag wrote:Hottie

Hottie? Who's that?

Oh! You mean HotWax! I thought you knew what name he goes by here.

And you say you don't harrass people. Whatever. When you resort to name calling, it just makes you look like a jerk. You're all so big about how you can argue better than anyone else and then you do that. Name calling isn't arguing. Grow up. (HotWax too, but mostly RandomLag.)
User avatar
taco
 
Joined: 22 Jul 2003

Postby HotWax » Sat Nov 15, 2003 10:56 pm

...and going and going and going and going and going....
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Hirogen2 » Sun Nov 16, 2003 4:04 am

Omg this is going to be the worst forum fight evar. Perpetrators and victims pull innocent forum members into the fight...
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby HotWax » Sun Nov 16, 2003 7:09 pm

Hirogen2 wrote:Omg this is going to be the worst forum fight evar. Perpetrators and victims pull innocent forum members into the fight...


Really? Who's twisting your arm making you post?
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby randomlag » Mon Nov 17, 2003 9:59 am

LOL. It's true I stick to a subject.

BTW, not a single one of you (esp Graf) has posted anything that disproves my C vs C++ point :)

As always the lowest common denominator is at work here. The issue is and still is that if someone looks at the ZDOOM source and they go into it thinking it's 100% C++, that will be very misleading.

Talking "serious" isn't the same thing as "taking it serious". If this wasn't fun (the whole point of that quote attributed to me) I wouldn't post would I? Nor would ANY of you. I wonder how many of you saw the "Silent Bob Strikes Back" movie? It's a little joke about this thread.
Last edited by randomlag on Mon Nov 17, 2003 10:13 am, edited 1 time in total.
User avatar
randomlag
 
Joined: 17 Jul 2003

Postby Chilvence » Mon Nov 17, 2003 10:01 am

I look at the zdoom source and I see code... I dont know what it is, I just like that it responds well to me butchering it ;)
User avatar
Chilvence
I had been waiting for Doomscript....
 
Joined: 11 Aug 2003

Postby Hirogen2 » Mon Nov 17, 2003 12:31 pm

randomlag wrote:As always the lowest common denominator is at work here. The issue is and still is that if someone looks at the ZDOOM source and they go into it thinking it's 100% C++, that will be very misleading.

If you define C++ being a superset of C, then you can never write 100% pure C++ code. :P
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby HotWax » Mon Nov 17, 2003 12:55 pm

Somebody please inform RL that we really don't care. Apparently he doesn't believe me when I say it.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Ty Halderman » Mon Nov 17, 2003 3:35 pm

randomlag wrote:As always the lowest common denominator is at work here.

Well, depends on the granularity, really. The program as a whole requires a C++ compiler/environment to compile it, so at that level one might as well say it's C++. But any inidividual C module that only had PP appended to its extension :) is still C.

So at the per-file granularity there are C and C++ files, regardless of their file extensions. At the project level, it's a C++ project.

And no, I don't care either. I'm just bored at work. 8-)
User avatar
Ty Halderman
I'm free! ...or at least inexpensive.
... in loving memory ...
 
Joined: 17 Jul 2003
Location: New Orleans LA

Postby HotWax » Mon Nov 17, 2003 4:37 pm

So, in answer to the question "What is ZDoom written in", we have a couple options.

#1: Some of the files are written in C, others in C++. You might be able to compile some files in C, but not all of them, because some contain C++ specific features. Note however that that does not in fact make the whole thing C++, just those files that actually contain C++ commands. Do not be misled by the .CPP extension of the files... some are C and could be compiled that way. There are also some lines in the file that could be considered BASIC. Note that none of this matters because the entire project would not compile in BASIC, Java, Perl, or C, but we didn't want to mislead you in any way. So, in short, ZDoom is most definately written in a combination of every programming language on the planet, the fact that is just happens to only compile fully in C++ is irrelevant.

#2: ZDoom is written in C++.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Cyb » Mon Nov 17, 2003 5:19 pm

for someone who doesn't care what rl says you sure do post a lot in response to every single thing he says
Cyb
 
Joined: 15 Jul 2003

Postby HotWax » Mon Nov 17, 2003 7:13 pm

I hadn't noticed.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby randomlag » Tue Nov 18, 2003 10:29 am

Cyb wrote:for someone who doesn't care what rl says you sure do post a lot in response to every single thing he says

:lol: :lol: :lol:
User avatar
randomlag
 
Joined: 17 Jul 2003

Postby randomlag » Tue Nov 18, 2003 10:39 am

Patriot1776 wrote::)
This is all real interesting to read for me. I'm no coder and don't have the time (as yet) to learn how to, but I still like reading some of the hardcore on how game engines like ZDoom and others work.

Question: The ZDoom source files. Are they in C or C++?

randomlag wrote:Well sort of.

Many of the files (I've never bothered to count) are basically C (the original id files with mods). Adding a CPP isn't the same as saying they are C++, except for the stricter type checking, which is mostly a compiler feature. IOW, no classes etc.

You can compile C as C++ (assuming types work out ok), but the same can't be said for newer stuff Randy added that used C++ concepts.

Notice that the question was source files, NOT project. It's a minor distinction and I really didn't care. But Graf seemed to think it was a big deal and that's why this thread turned into what it did. All he has to do was actually read what I wrote vs interpreting it with some preconceived idea of what I was saying. I stated exactly what Ty wrote.

When you ask technical questions, the answers have to be very precise and exact. This is something you quickly find out when you contract for programming work, otherwise the customer will keep playing a different tune till he likes what he hears - and you've committed to a tune you thought you heard. So it's pretty ingrained in me to focus on details - which drives some people nuts.

OK - that's enough even for me :roll: even though there are C nuances possible that show how you can write C that won't compile in C++, hence it's not exactly a superset in the strict mathematical meaning of that word.
User avatar
randomlag
 
Joined: 17 Jul 2003

Previous

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests