iceiix
503a98d7a8
Use instant over std::time, for wasm compat ( #449 )
...
Replace std::time with the `instant` crate, which bridges to std::time on
native but on wasm calls performance.now() instead of panicking.
A step towards 🕸️ Web support #446
* logo: replace SystemTime/UNIX_EPOCH with Instant
2020-12-27 15:06:03 -08:00
ice_iix
c3038f82ce
Remove redundant imports (single_component_path_imports)
2020-06-29 18:01:02 -07:00
iceiix
518b6a07f8
Reformat all source with cargo fmt ( #335 )
2020-06-21 12:17:24 -07:00
ice_iix
b307843d2b
Change to PCG random number generator algorithm
...
See http://www.pcg-random.org/ for benefits of PCG over xorshift
Updates #236 #183
2020-01-05 10:01:44 -08:00
ice_iix
b1cae32eed
Update to rand 0.6.5 and migrate off deprecated methods. Closes #81
...
* Import from rand_xorshift crate
* Use shuffle/choose from SliceRandom trait
See https://rust-random.github.io/book/update-0.6.html
2019-05-08 19:32:05 -07:00
ice_iix
77cd4ecf35
Use field init shorthand, instead of x:x, just x,
...
https://rust-lang-nursery.github.io/edition-guide/rust-2018/data-types/field-init-shorthand.html
find src -name '*.rs' -exec perl -pe 's/\b(\w+): \1,/$1,/g' -i {} \;
2018-11-04 13:43:30 -08:00
ice_iix
a40cd43a2e
Update to use crate:: for current crate, for Rust 2018 edition
...
From `cargo fix --edition`, see https://rust-lang-nursery.github.io/edition-guide/print.html#the-crate-keyword-refers-to-the-current-crate
2018-11-04 12:06:00 -08:00
ice_iix
d2b59fbd10
Update to rand 0.5.5 for https://github.com/iceiix/steven/issues/4
...
Useful guide: https://github.com/rust-random/rand/blob/master/UPDATING.md
2018-09-30 19:05:20 -07:00
ice_iix
47aeb83da2
Use std::time instead of time crate for logo text, progress on https://github.com/iceiix/steven/issues/3
2018-09-29 20:01:13 -07:00
Thinkofname
a7caa50b6f
Rewrite the UI system ( Closes #12 )
2016-04-24 12:29:25 +01:00
Thinkofname
357c695a3a
Fix some lock ordering issues
2016-03-29 20:54:08 +01:00
Thinkofname
b418625a48
Work on login screen, added ui buttons and textboxes (plus tab fixes)
2016-03-20 20:17:21 +00:00
Thinkofdeath
3704b9eeb8
Reformat using rustfmt
2015-10-07 19:36:59 +01:00
Thinkofdeath
302af6393d
Tidy up
2015-09-29 20:09:36 +01:00
Thinkofdeath
93edfa3828
Base of server list
2015-09-23 20:16:25 +01:00
Thinkofdeath
876e88ec95
Basic logo impl
2015-09-21 21:11:30 +01:00
Thinkofdeath
64d0768fb4
Basic logo work
2015-09-21 13:08:06 +01:00