Commit 43b30dd
Test post water 1699 (jMonkeyEngine#1707)
* This is a very simple addition. It allows a person to set 3 variables in AppSettings. ‘CenterWindow’, ‘WindowXPosition’ and ‘WindowYPosition’ variables. This way these variable will be saved in the profile when the profile is saved, and be reloaded. I added ‘CenterWindow’ to be added with a ‘true’ value for the default value so it will run just like it did before.
But if you set ‘CenterWindow’ to ‘false’ then inside LwjglWindow.java (lwjgl3 code) it will look at these new values, it will determine to center the window or use the position values to place the window back at the location the user last moved it to.
Of course, these values are only updated if the “program” updates this value. So if you want to save screen position, you can save them on closing to and on restart put the window back into the same location.
* formatting and comments changes.
* jme3test.app.TestApplication hangs with LWJGL3 jMonkeyEngine#1193
LWJGL3-JME library would block the current thread when executing LWJGL3. Instead of calling run() that is blocking, made it work like LWJGL2-JME library when they start it as a thread so run gets called. I commented out the run() function and replaced it with Thread.start().
* removing unwanted changes, since you can't do multiple pull requests at once.
* formatting issues.
* changed parameter naming to be more consistency with other items.
* jme3test.app.TestApplication hangs with LWJGL3 jMonkeyEngine#1193
LWJGL3-JME projects was doing a call that is blocking the current thread. I changed it to match how LWJGL2-JME project launches the Context Window.
* jme3test.app.TestApplication hangs with LWJGL3 jMonkeyEngine#1193 (#3)
LWJGL3-JME projects was doing a call that is blocking the current thread. I changed it to match how LWJGL2-JME project launches the Context Window.
* removing unwanted changes.
* AppSettings: enhance the new javadoc
* AppSettings: capitalize Window{X/Y}Position consistent w/other settings
* LwjglWindow: convert tabs to spaces
* AppSettings: re-arrange @see tags in javadoc
* TestPostWater issue jMonkeyEngine#1699
Changed it so when you go under water to turn off reverb. I turned off the Low Filter because it is not needed with Reverb is turned off.
* Added a feature to leave dry filter on/off. Also put on the screen other hot keys this demo supports.
* type preventing input to work correctly.
* more formattings changes.
* TestPostWater: standardize key names
* TestPostWater: correct key assignements that were swapped
* TestPostWater: organize imports per the style guide
* TestPostWater: whitespace
* TestPostWater: change useDryFilter logic so the 4 key has prompt effect
Co-authored-by: Stephen Gold <[email protected]>1 parent a8a7080 commit 43b30dd
1 file changed
Lines changed: 51 additions & 16 deletions
Lines changed: 51 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 180 | + | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| |||
205 | 211 | | |
206 | 212 | | |
207 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
208 | 217 | | |
209 | 218 | | |
210 | | - | |
| 219 | + | |
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
| 223 | + | |
214 | 224 | | |
215 | 225 | | |
216 | 226 | | |
| |||
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
278 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
279 | 299 | | |
280 | | - | |
281 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
282 | 317 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
289 | 324 | | |
290 | 325 | | |
291 | | - | |
| 326 | + | |
0 commit comments