This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 »
1201
Works in Progress / Re: Project Mario
« on: June 14, 2014, 08:10:09 pm »
Yeah the reason is because the model classes use a hack that packs color into a single float, that was Josh's fix for Linux but he only applied it to GL3.
It's probably easier to review his commit and just make the same changes.
https://github.com/enigma-dev/enigma-dev/commit/b539ff0bee4b085532d8d0782d2518f83022ba3a
If you want, test it and see if it works, if it does send us a pull request.
It's probably easier to review his commit and just make the same changes.
https://github.com/enigma-dev/enigma-dev/commit/b539ff0bee4b085532d8d0782d2518f83022ba3a
If you want, test it and see if it works, if it does send us a pull request.
1202
Works in Progress / Re: Project Mario
« on: June 14, 2014, 12:04:41 pm »
Good work Sorlok, DaSpirit wrote that INI extension but never finished. Second, the issues you are seeing with geometry are related to the model struct for GL1. Josh fixed it for GL3, it has to do with how we handle color, but he didn't add the fixes to GL1.
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL1/GLModelStruct.h#L133
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL3/GL3ModelStruct.h#L137
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL1/GLModelStruct.h#L133
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL3/GL3ModelStruct.h#L137
1203
General ENIGMA / Re: Question about audio:none
« on: June 14, 2014, 12:01:12 pm »
I am in favor of adding a "Mute" audio system. For every system actually. Also would be nice to automate it somehow as Josh said. Perhaps we could make an "emulate" system option or something where JDI nulls all the function pointers.
1204
Issues Help Desk / Re: Josh! Relieve my penis!!
« on: June 14, 2014, 11:58:19 am »
You guys are so useless. He doesn't want to share the source code of his game. When you build it it errors after parsing room creation code and says "Error; see scrollback for details" and there is nothing in the scrollback indicating what wen't wrong.
Correct me if I am wrong but TKG also tried removing all the room creation code to no avail.
Correct me if I am wrong but TKG also tried removing all the room creation code to no avail.
1205
Issues Help Desk / Re: Reading .ini files
« on: June 14, 2014, 11:54:25 am »
Darkstar2, no idea, you're right, using ini is really unnecessary. It's extremely simple to write your own file format, just skip lines that start with '//' for comments and bam you can make a format with descriptions making it easy for end users to edit. It would probably read faster too.
If you need more advanced structure, yaml is the way to go, not ini.
If you need more advanced structure, yaml is the way to go, not ini.
1206
Issues Help Desk / Re: Reading .ini files
« on: June 13, 2014, 02:25:59 pm »
All I know is they use the native functions on Win32, if GM uses those functions, there should be no reason why numerical keys would not work.
All of the functions are implemented here.
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Platforms/Win32/WINDOWSregistry.cpp
Can you provide an example GMK or something as well so that I can test?
All of the functions are implemented here.
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Platforms/Win32/WINDOWSregistry.cpp
Can you provide an example GMK or something as well so that I can test?
1207
Issues Help Desk / Re: Error - Invalid assignment to function
« on: June 11, 2014, 09:01:56 am »
No nevermind setting audio system to none doesn't fix it either. So it is coming from somewhere in universal system or something.
1208
General ENIGMA / Re: Phase 2/2 - Help Wanted - Final testing for the fonts and scrolling issues
« on: June 11, 2014, 08:59:39 am »
0.01,0.01 works in Direct3D9 as well and fixes blurry text for me. The pull request can be merged.
https://github.com/enigma-dev/enigma-dev/pull/750
Now it is important to note that font characters in Direct3D9 appear 1px to the left of where they do in OGL, this is further related to the issue we've been discussing. So this is clearly differences in the sampler of the two API's as well as differences in driver implementations of the two API's. Also D3D9 does this whether you have offsets 0.25 or 0.01 or no offsets.
https://github.com/enigma-dev/enigma-dev/pull/750
Now it is important to note that font characters in Direct3D9 appear 1px to the left of where they do in OGL, this is further related to the issue we've been discussing. So this is clearly differences in the sampler of the two API's as well as differences in driver implementations of the two API's. Also D3D9 does this whether you have offsets 0.25 or 0.01 or no offsets.
1209
Issues Help Desk / Re: Error - Invalid assignment to function
« on: June 10, 2014, 02:39:05 pm »
No he has networking systems set to none, meaning the makefile is never even processed for that system, so no. I'm certain the conflict is coming from OpenAL.
1210
General ENIGMA / Re: Phase 2/2 - Help Wanted - Final testing for the fonts and scrolling issues
« on: June 10, 2014, 12:43:33 pm »
Alright good I was just going to tell you to patch DX as well. But please leave any FS fixes or anything out of this pull request. Anyway, go ahead and send it and I'll tell Josh or Harri to merge it.
1211
Issues Help Desk / Re: Can't rename a resource under linux KDE
« on: June 10, 2014, 11:57:43 am »Maybe it is because the index at which items remains static and it's pissed about two having the same index? Ugh.
You could also try changing uhm setFocusTraversalPolicy of the toolbar.
1212
General ENIGMA / Re: Phase 2/2 - Help Wanted - Final testing for the fonts and scrolling issues
« on: June 10, 2014, 11:53:49 am »
Yeah if you notice I used the delta_time or w/e constant to calculate my scrolling background.
Anyway, no I said I don't wtf to your code you sent me in a PM because your rounding was mixed with earlier suggestions we made for vertices, not the projection coordinates. Thus my wtf response.
Anyway, wonderful, good thing it works, and yeah I'm certain nobody would ever have a need for a camera at a half pixel would they? When the camera is at half-pixels all you ever notice are artifacts, it looks the same as if it were at the rounded coordinate except shittier. So am I correct in my assumptions or does someone have evidence to the contrary?
Also, we don't need to worry about this with the perspective function because it shouldn't be used for 2D rendering.
Anyway, no I said I don't wtf to your code you sent me in a PM because your rounding was mixed with earlier suggestions we made for vertices, not the projection coordinates. Thus my wtf response.
Anyway, wonderful, good thing it works, and yeah I'm certain nobody would ever have a need for a camera at a half pixel would they? When the camera is at half-pixels all you ever notice are artifacts, it looks the same as if it were at the rounded coordinate except shittier. So am I correct in my assumptions or does someone have evidence to the contrary?
Also, we don't need to worry about this with the perspective function because it shouldn't be used for 2D rendering.
1213
Issues Help Desk / Re: Windows resize bug - can resize bigger but not smaller !
« on: June 10, 2014, 08:28:47 am »
I can confirm the issue and will fix it when I get a chance.
1214
General ENIGMA / Re: Phase 2/2 - Help Wanted - Final testing for the fonts and scrolling issues
« on: June 10, 2014, 08:05:26 am »
Yeah I like to do things the hard way, plus I don't like using anything built into GM because it's always designed around a fixed time step and not delta timing.
That stops anybody from negating it. We can also fix it in DX the same exact way. Because round will guarantee it is a whole number with the offset that works for everybody. Ortho projections should never be at fractional coordinates anyway.
Quote
And yes Robert is right, this fix is only a patch, assuming you are on a 0,0 projection view or fixed view that is not negating the +.01 / +.01 fix. SO, for example if your X/Y projection ortho is set to 0.99/0.99, the result will be an integer and thus negating the fix and the motherfuckers of artifacts will be back!!! Whatever X/Y you use make sure when added to .01 that it does not = to an integer.The ortho projection function can be further fixed with the following code.
Code: (cpp) [Select]
x = round(x) + 0.01f; y = round(y) + 0.01f;
That stops anybody from negating it. We can also fix it in DX the same exact way. Because round will guarantee it is a whole number with the offset that works for everybody. Ortho projections should never be at fractional coordinates anyway.
1215
General ENIGMA / Re: Phase 2/2 - Help Wanted - Final testing for the fonts and scrolling issues
« on: June 09, 2014, 06:42:16 pm »
I hate to be the bearer of even more bad news, but with the new changes I am still getting the flashing occasional gap in FS with Project Chaos.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 »