| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Merge colorized buffers after meshgen (#16763) | 9 个月前 | |
Improve volumetric lighting performance (#17360) This cuts the GPU cost of volumetric lighting ("godrays"), which is currently one of the more expensive effect toggles, without visible quality loss. | 1 个月前 | |
Avoid BFS culler at high view ranges (#17553) | 19 天前 | |
Fix typos in comments (#17215) | 4 个月前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Fix situation around aabbox3d default constructor (#15586) Co-authored-by: JosiahWI <41302989+JosiahWI@users.noreply.github.com> | 1 年前 | |
Replace licensing text in headers (LGPLv2.1) (#15321) | 1 年前 | |
Fix typos in comments (#17215) | 4 个月前 | |
`set_wielded_item`: option to disable item change animation (#17020) | 5 个月前 | |
Android: read-only access to Luanti's data directory using DocumentsProvider (#17115) Co-authored-by: sfan5 <sfan5@live.de> | 1 个月前 | |
Avoid BFS culler at high view ranges (#17553) | 19 天前 | |
Fix broken serverside raycasts (#17493) Regression from d74af2f1a: `boxLineCollision` expects radians, but `getTotalRotation` still produced degrees. The fix gets rid of the degree/radians problem entirely by switching to quaternions. Fixes #17477 | 1 个月前 | |
Replace licensing text in headers (LGPLv2.1) (#15321) | 1 年前 | |
Add `hideable` HUD element field (#17165) | 4 个月前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Avoid BFS culler at high view ranges (#17553) | 19 天前 | |
Avoid BFS culler at high view ranges (#17553) | 19 天前 | |
Mainmenu: Progress bar show more media download details (#17336) This shows the number of media files which are downloaded and the actual downloaded size. | 2 个月前 | |
Mainmenu: Progress bar show more media download details (#17336) This shows the number of media files which are downloaded and the actual downloaded size. | 2 个月前 | |
Clean up header includes (#16674) | 10 个月前 | |
Refactor: Remove obsolete `IAnimatedMeshSceneNode` interface (#16631) | 10 个月前 | |
Clean up unused Forward Declarations (#16324) | 1 年前 | |
Profiler and profiler graph improvements | 9 个月前 | |
Clean up header includes (#16674) | 10 个月前 | |
Add interpolation toggle to set_rotation (#17299) When false, rotation snaps instantly on the client instead of blending over ~100ms. Default true preserves existing behavior. | 21 天前 | |
Fix CAO anim handling regressions - Do not raise warnings for "zero" anims sent by pre-5.17.0 servers - Don't drop animations using a track number in init (defer them as well) | 2 个月前 | |
Code style fixes. | 1 年前 | |
Clean up unused Forward Declarations (#16324) | 1 年前 | |
Remove drawtype consistent members from `NodeVisuals` (#17520) | 1 个月前 | |
Move client code from nodedef.h/cpp (#16615) | 10 个月前 | |
Refactor some helper classes | 3 个月前 | |
Clean up header includes (#16674) | 10 个月前 | |
Replace licensing text in headers (LGPLv2.1) (#15321) | 1 年前 | |
Report fatal client startup errors via message box | 7 个月前 | |
Fix typos in comments (#17215) | 4 个月前 | |
Avoid BFS culler at high view ranges (#17553) | 19 天前 | |
Client: Introduce GameErrorData for error handling | 3 个月前 | |
Rewrite builtin formspecs with real coordinates (#17365) | 21 天前 | |
Clean up unused Forward Declarations (#16324) | 1 年前 | |
Support multi-track animations (#16653) Introduces a new animation API for objects with support for glTF animation tracks. Multiple animation tracks can be combined. glTF animation tracks can also be referred to by name. | 3 个月前 | |
Clean up header includes | 6 个月前 | |
Show status text for screenshots in the main menu (#16773) | 6 个月前 | |
Remove or restrict some client settings (#15633) | 1 年前 | |
Remove `irr` namespace (#16309) | 1 年前 | |
HUD: Divorce SSM and CSM | 3 个月前 | |
Add `hideable` HUD element field (#17165) | 4 个月前 | |
Optimize image transform modifier (#17384) | 1 个月前 | |
Optimize image transform modifier (#17384) | 1 个月前 | |
Refactor and improve some string methods | 1 个月前 | |
Document integer data types and ranges in Lua API (#16735) | 5 个月前 | |
Chat: Fix incorrect RETURN key handling (#17539) | 21 天前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Client: Fix incorrect ItemVisuals caching Previously, if 'inventory_image' or 'inventory_overlay' where specified, items with the same images (but possibly other drawtype) were drawn incorrectly. Reason is that the item name part of 'std::ostringstream' was overwritten. | 6 个月前 | |
Clean up header includes (#16674) | 10 个月前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Implement basic gamepad support (#17219) * Adjust InputHandler to also handle analog input The touchscreen joystick is also modified to send movement as x/y coordinates instead of reporting itself as a virtual joystick. * Remove separate code path for joystick controller * Introduce new gamepad handler * Handle joystick deadzone * Properly handle camera rotation with gamepads * Rearrange input-related settings * Repeat gamepad buttons in MyEventReceiver::WasKeyDown * fixup! Properly handle camera rotation with gamepads * Deduplicate wasKeyDown for gamepad axes * Add KeyPress-based abstraction for button/axis input events * guiButtonKey: allow binding to gamepad buttons and axes * Correctly handle short joystick presses in wasKeyDown * Implement KeyPress::name for gamepad buttons and axes * Drop enable_joysticks setting * Use SDL_GetGamepadButtonLabel to get more controller-specific labels for A/B/X/Y buttons * Add keybinding for opening the pause menu in-game * Allow closing in-game formspecs with keymap_pause * Update settingtypes * fixup! Implement KeyPress::name for gamepad buttons and axes * Introduce InputSourceType::INVALID for invalid KeyPress values * cleanup diff * Improve UX related to joystick deadzone * fixup! Improve UX related to joystick deadzone * Apply suggestions from code review Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * minor: use f64 timestamp * fixup! Apply suggestions from code review * minor doxygen * fixup! Improve UX related to joystick deadzone * minor annotations * KeyPress::flip -> KeyPress::getOppositeAxisDirection * MyEventReceiver::KeyState -> MyEventReceiver::PhysicalKeyState * settingtypes: header "Gamepad" -> "Gamepad and Joysticks" Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * minor: 32767.0 -> (f32)INT16_MAX Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * fixup! minor: 32767.0 -> (f32)INT16_MAX * minor: improve joystick axis labels * Refactor Keybinding::scale Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Log gamepad device events * fixup! Log gamepad device events * Update irr/include/IEventReceiver.h Co-authored-by: Yannick <sndein@mailbox.org> * review: use enum class for SDL enums * minor (input handler) Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> * Keep track of the most recently used gamepad * Remove SEvent constructor * Drop "Button" in gamepad button names where this is obvious * annotate MyEventReceiver::setKeyDown * Revert "Remove SEvent constructor" This reverts commit 29d578cd759430f28c303147a09efbba95de8684. --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Yannick <sndein@mailbox.org> | 3 个月前 | |
Add keybinds for camera movement (#17071) | 5 个月前 | |
HUD: Divorce SSM and CSM | 3 个月前 | |
Don't allow client-local CAO to be deleted | 1 个月前 | |
Fix some compiler warnings (#17548) | 21 天前 | |
Don't cull upper face of waving liquids below solid nodes (#17302) | 2 个月前 | |
Use standard shading for item mesh rendering Fixes #17110 | 5 个月前 | |
Use standard shading for item mesh rendering Fixes #17110 | 5 个月前 | |
Don't cull upper face of waving liquids below solid nodes (#17302) | 2 个月前 | |
Don't cull upper face of waving liquids below solid nodes (#17302) | 2 个月前 | |
Fix minimap zoom displayed as 0 for low zooms (#17482) | 1 个月前 | |
Rename hud.h/cpp to hud_element.h/cpp To prevent include conflicts | 9 个月前 | |
Create SSCSM skeleton and scripting (#15818) Contents: * Adds a SSCSM controller and environment skeleton * SSCSMs run in a separate thread, not yet in a separate process. API calls will later happen as IPC calls, this is already part of the software architecture. * Adds a scripting env for SSCSM * It's not yet populated with luanti API functions * Should include only safe functions * Clock precision (`core.get_us_time()` and `os.clock()`) is limited to 20 us. 20 us was the value, firefox used as first response to the spectre attacks. now it's 100 us or 5 us, depending on whether it's "cross-origin isolated". we only have one origin, so choosing 20 us is probably fine, I guess see also: https://www.mozilla.org/en-US/security/advisories/mfsa2018-01/ https://developer.mozilla.org/en-US/docs/Web/API/Performance/now#security_requirements * other clocks: * os.time() and os.date() only have seconds precision, AFAIK. * dtime is only given once per step, so it's not useful * there might be other ways to build clocks (if we get async envs for sscsm, with a busy loop, for example) * `tostring` is *not* overridden. `tostring({})` and `string.format("%s", {})` give you pointers. (see lj_strfmt_obj) this is not very critical, but attacks could be made harder if we change this. the effort of overwriting is not worth it I think right now * Includes a `sscsm_security.md`, read it * Adds a non-binary setting `enable_sscsm` * Maybe some more tiny stuff. See PR and diffs. --------- Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com> | 8 个月前 | |
Create SSCSM skeleton and scripting (#15818) Contents: * Adds a SSCSM controller and environment skeleton * SSCSMs run in a separate thread, not yet in a separate process. API calls will later happen as IPC calls, this is already part of the software architecture. * Adds a scripting env for SSCSM * It's not yet populated with luanti API functions * Should include only safe functions * Clock precision (`core.get_us_time()` and `os.clock()`) is limited to 20 us. 20 us was the value, firefox used as first response to the spectre attacks. now it's 100 us or 5 us, depending on whether it's "cross-origin isolated". we only have one origin, so choosing 20 us is probably fine, I guess see also: https://www.mozilla.org/en-US/security/advisories/mfsa2018-01/ https://developer.mozilla.org/en-US/docs/Web/API/Performance/now#security_requirements * other clocks: * os.time() and os.date() only have seconds precision, AFAIK. * dtime is only given once per step, so it's not useful * there might be other ways to build clocks (if we get async envs for sscsm, with a busy loop, for example) * `tostring` is *not* overridden. `tostring({})` and `string.format("%s", {})` give you pointers. (see lj_strfmt_obj) this is not very critical, but attacks could be made harder if we change this. the effort of overwriting is not worth it I think right now * Includes a `sscsm_security.md`, read it * Adds a non-binary setting `enable_sscsm` * Maybe some more tiny stuff. See PR and diffs. --------- Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com> | 8 个月前 | |
Refactor some helper classes | 3 个月前 | |
Remove drawtype consistent members from `NodeVisuals` (#17520) | 1 个月前 | |
Remove drawtype consistent members from `NodeVisuals` (#17520) | 1 个月前 | |
Refactor NodeVisuals function parameters | 2 个月前 | |
Clean up header includes (#16674) | 10 个月前 | |
Make media progress text position depend on bar image size (#17478) Fixes #17476 | 1 个月前 | |
Use mesh cache when building node visuals (#17376) | 2 个月前 | |
Refactor IShaderSource::getShader* a bit | 3 个月前 | |
Refactor IShaderSource::getShader* a bit | 3 个月前 | |
Document integer data types and ranges in Lua API (#16735) | 5 个月前 | |
Let modders disable skybox dimming in caves (#16976) | 6 个月前 | |
Replace licensing text in headers (LGPLv2.1) (#15321) | 1 年前 | |
Sound: Print lingering sounds when AL is out of ids (#17184) Better diagnosis about what causes `createPlayingSound (alGenSources): out of memory` warnings. Limited to once every 10 seconds, to avoid log spam. | 4 个月前 | |
Move SoundMaker out of game.cpp and some refactoring (#16703) | 9 个月前 | |
Rename sound.h to sound_spec.h To prevent incude conflicts | 9 个月前 | |
Reduce transitive includes of settings.h | 1 个月前 | |
Cache getTextureDirs() | 1 年前 | |
Improve utilities | 1 个月前 | |
Introduce array textures for node rendering (#16574) | 10 个月前 | |
Fixes and improvements for item image animations (#16620) | 10 个月前 | |
Fix typos in comments (#17215) | 4 个月前 | |
Refactor IShaderSource::getShader* a bit | 3 个月前 | |
Introduce array textures for node rendering (#16574) | 10 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 9 个月前 | ||
| 1 个月前 | ||
| 19 天前 | ||
| 4 个月前 | ||
| 3 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 1 个月前 | ||
| 19 天前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 19 天前 | ||
| 19 天前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 10 个月前 | ||
| 21 天前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 10 个月前 | ||
| 3 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 4 个月前 | ||
| 19 天前 | ||
| 3 个月前 | ||
| 21 天前 | ||
| 1 年前 | ||
| 3 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 5 个月前 | ||
| 21 天前 | ||
| 3 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 2 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 10 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 4 个月前 | ||
| 3 个月前 | ||
| 10 个月前 |