3D floors ... again (impossible comes true)
Moderator: GZDoom Developers
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: 3D floors ... again (impossible comes true)
Something like that. The code is close to incomprehensible and I got enough of that to deal with at work so I know it's not fun.
Re: 3D floors ... again (impossible comes true)
Here, i made some changes in code.
- added new cvar, r_3dfloors for testing, you can see FPS difference for example
- fixed this bug
- fixed particles visible trough 3D floors
- fixed FAKE3D flag names
- added new cvar, r_3dfloors for testing, you can see FPS difference for example
- fixed this bug
- fixed particles visible trough 3D floors
- fixed FAKE3D flag names
- Attachments
-
3dfix.zip
- patch for 3174
- (2.01 KiB) Downloaded 101 times
Re: 3D floors ... again (impossible comes true)
Thanks for the patch, though it was really troublesome for some reason.
- It wasn't made with SVN, so TortoiseSVN didn't like it.
- It made my command-line patch program on Windows crash.
- The Linux patch rejected almost every chunk.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: 3D floors ... again (impossible comes true)
Yeah, to make work the patch in linux I had to change the .diff adding the "^M" characters at the end of every line where there was the reject...
BTW: Randy, I've used the 3dfloors3 build, it's amazing how the fps increased!
A question: do you need crash logs generated from this build?
[edit]uh, it didn't compile, as pointed by Gez :\
BTW: Randy, I've used the 3dfloors3 build, it's amazing how the fps increased!
A question: do you need crash logs generated from this build?
[edit]uh, it didn't compile, as pointed by Gez :\
Last edited by Edward-san on Wed Apr 13, 2011 2:58 am, edited 1 time in total.
Re: 3D floors ... again (impossible comes true)
And I can't compile the result, so I made this:randy wrote:So in the end, I had to apply it by hand.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: 3D floors ... again (impossible comes true)
Patches like this one are the reason why I reject any submission I found that can't be applied directly with TortoiseSVN. The generally available patch tools are just too troublesome as this clearly shows. And why is it so hard to write text processing tools that can deal with mixed line ending styles?
Re: 3D floors ... again (impossible comes true)
I don't understand, i always used this way to make patches. Was it always problem to work with my patches?
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: 3D floors ... again (impossible comes true)
I wonder if you recently updated the patcher program ... which could break something...
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
Re: 3D floors ... again (impossible comes true)
Graf Zahl wrote:why is it so hard to write text processing tools that can deal with mixed line ending styles?
Code: Select all
$ svn propset svn:eol-style native $FILE
You can even have SVN automatically set the property on new files with this quick and easy config stuff:
Spoiler: Bio's ~/.subversion/config
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: 3D floors ... again (impossible comes true)
I guess it's off because it's a destructive option by its very nature and I know tools that get hopelessly confused if stuff can get changed that way.
It's also only a pathetic workaround for some Unix tools' shortcomings. In all the years I've been working with Windows I only encountered 2 tools that had problems with line endings:
Notepad and patch.exe.
It's also only a pathetic workaround for some Unix tools' shortcomings. In all the years I've been working with Windows I only encountered 2 tools that had problems with line endings:
Notepad and patch.exe.
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
Re: 3D floors ... again (impossible comes true)
What do you mean destructive? Having SVN handle the line endings automatically leads to fewer whitespace-only commits, wouldn't that be a good thing?Graf Zahl wrote:I guess it's off because it's a destructive option by its very nature
I suppose it would make a digest hash on the checked-out source fail, but I don't see any reason anyone would make the hash of a specific SVN source tree matter. Maybe for tags I guess, if for some reason the line endings are somehow critical to the build process. (o.O)
How could the tools get confused? eol-style:native makes the line endings consistent for the system you're using specifically to avoid getting your tools confused. I would be curious to see an example of where using the system's native line endings causes a problem.Graf Zahl wrote:I know tools that get hopelessly confused if stuff can get changed that way.
Not even going to touch the bait on that second line.

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: 3D floors ... again (impossible comes true)
Anything that alters a file without asking is destructive, even if it's just line endings. A tool is just that: a dumb piece of software that just does what it's told. How can it know that maybe, just maybe, some of these files need to be processed in a way that things like line endings are preserved - maybe a checksum tool or who knows what. So logically SVN is set to keep stuff intact unless you explicitly tell it not to do.
Also what bait? I just listed the only 2 programs I had ever problems with when it comes to line endings in a text file. Granted, Notepad is garbage regardless of this issue but it completely puzzles me how someone could write a stdio-based command line tool that can't read Unix style text files on Windows without puking all over the place.
Also what bait? I just listed the only 2 programs I had ever problems with when it comes to line endings in a text file. Granted, Notepad is garbage regardless of this issue but it completely puzzles me how someone could write a stdio-based command line tool that can't read Unix style text files on Windows without puking all over the place.
Re: 3D floors ... again (impossible comes true)
I tried that, but it didn't make a difference for me. Patch still rejected them.Edward-san wrote:Yeah, to make work the patch in linux I had to change the .diff adding the "^M" characters at the end of every line where there was the reject...
Not yet. I kind of wish I was moving faster with it, but since I'm dividing my free time between ZDoom and learning Japanese (and whatever else I may feel like doing at the time), learning Japanese usually wins the larger share of time.Edward-san wrote:A question: do you need crash logs generated from this [3dfloors3] build?

- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
Re: 3D floors ... again (impossible comes true)
Fair enough, I understand why it's not the default. It still solves a ton of problems for files that don't need a specific encoding.Graf Zahl wrote:How can it know that maybe, just maybe, some of these files need to be processed in a way that things like line endings are preserved - maybe a checksum tool or who knows what. So logically SVN is set to keep stuff intact unless you explicitly tell it not to do.
My inner elitist 'nix snob was refuting your claim that Unix tools have shortcomings (*gasp*). I was just playing with you.Graf Zahl wrote:Also what bait?

(Probably should have made it more obvious, you know, 'cause you're a Windows user.


Re: 3D floors ... again (impossible comes true)
Well, I've never seen this error before:
TortoiseSVN wrote:Error: While preparing 'E:¥zdoom¥trunk¥src¥r_3dfloors.h' for commit
Error: Inconsistent line ending style