stevenarella/src
iceiix a020ed6f2c
Update to glutin 0.22.0-alpha5, remove wasm_stub (#260)
Update from glutin 0.21.x fork to glutin 0.22.0-alpha5 and corresponding
compatible version of winit. This removes our custom temporary wasm_stub
branches, back to mainline glutin and winit, and is a step towards WebAssembly
compatibility, most importantly merging the game loop and event loops as
required by winit _which now supports wasm_. Not yet functional on the web
because other web dependencies have to be added, see #171 and #34, but native
functionality is preserved.

* Update for 0.22 glutin API changes:

* Move game logic into event loop, run() replacing poll_events()

* Specify fullscreen Borderless mode

* Pass generic parameter of Event through handle_window_event
* hidpi_factor() replaces get_hidpi_factor()
* with_inner_size() replaces with_dimensions()
* No longer need to unwrap() LogicalSize
* set_cursor_grab/visible() replaces grab/hide_cursor()

* Fix modifiers deprecated warnings by destructuring only event fields we use, ignoring the rest with '..'

* Remove unnecessary mutability from events_loop

* Listen for ModifiersChanged event, fixing deprecated modifiers field

* Change to stdweb for web backend, replacing web-sys

* Pin to glutin =0.22.0-alpha5 and winit =0.20.0-alpha6
2020-01-05 17:56:32 -08:00
..
console Fix bare trait objects warning, add explicit `dyn` 2019-11-02 15:46:06 -07:00
ecs Update to Rust 1.40.0. Closes #253 2020-01-04 17:26:26 -08:00
entity Replace into_iter() -> iter() for arrays, fixes 1.42-nightly warning 2020-01-04 19:33:05 -08:00
gl Replace println! with log crate facade macros info!, debug!, etc. 2019-05-22 16:01:14 -07:00
model Bump image from 0.21.3 to 0.22.3. Closes #238 2020-01-05 09:10:59 -08:00
nbt Replace read_to_string -> read_to_end to improve UTF-8 deserialization 2019-05-12 14:08:53 -07:00
protocol Update to reqwest 0.10.0. Closes #259 2020-01-05 10:38:21 -08:00
render Update to reqwest 0.10.0. Closes #259 2020-01-05 10:38:21 -08:00
screen Fix warning: `...` range patterns are deprecated 2019-11-02 15:46:10 -07:00
server Replace into_iter() -> iter() for arrays, fixes 1.42-nightly warning 2020-01-04 19:33:05 -08:00
types 1.14 protocol support (477) (#132). Closes #72 2019-05-04 16:04:19 -07:00
ui Update to glutin 0.22.0-alpha5, remove wasm_stub (#260) 2020-01-05 17:56:32 -08:00
world Bump image from 0.21.3 to 0.22.3. Closes #238 2020-01-05 09:10:59 -08:00
auth.rs Update to use crate:: for current crate, for Rust 2018 edition 2018-11-04 12:06:00 -08:00
chunk_builder.rs Change to PCG random number generator algorithm 2020-01-05 10:01:44 -08:00
format.rs Recognize translate text components, instead of showing "UNHANDLED" 2018-12-02 19:25:11 -08:00
item.rs 1.13.2 (404) multiprotocol support (#67) 2018-12-28 21:22:58 -08:00
macros.rs Base implementation for worlds/blocks 2016-03-18 22:24:30 +00:00
main.rs Update to glutin 0.22.0-alpha5, remove wasm_stub (#260) 2020-01-05 17:56:32 -08:00
resources.rs Update to reqwest 0.10.0. Closes #259 2020-01-05 10:38:21 -08:00
settings.rs Update to glutin 0.22.0-alpha5, remove wasm_stub (#260) 2020-01-05 17:56:32 -08:00