ice_iix
c36d0706ac
Remove obsolete comment
2018-10-29 17:10:08 -07:00
ice_iix
56a1cb2b76
Fix logging with set_boxed_logger, add std feature to dep
...
https://github.com/rust-lang-nursery/log/issues/303
2018-10-28 19:45:57 -07:00
iceiix
b17f296ab4
Replace hyper with reqwest ( #7 )
...
An old version of hyper was used before (0.8.0), in the process of updating to hyper 0.12.11, found this higher-level replacement/wrapper, reqwest 0.9.4 which is simpler to use than the latest hyper and serves the purpose of a simple HTTP client well
* Begin updating to hyper 0.12.11
https://github.com/iceiix/steven/issues/4#issuecomment-425759778
* Use type variables for hyper::Client
* Fix setting header syntax, Content-Type: application/json, 17->13
* Parse strings into URLs with url.parse::<hyper::Uri>().unwrap()
b20971cb4e/examples/client.rs (L25)
* Use hyper::Request::post() then client.request() since client.post() removed
* wait() on the ResponseFuture to get the Result
* try! to unwrap the Result
* status() is now a method
* Concatenate body chunks unwrap into bytes, then parse JSON from byte slice, instead of from_reader which didn't compile
* Replace send() with wait() on ResponseFuture
* Parse HeaderValue to u64
* Slices implement std::io::Read trait
* Read into_bytes() instead of read_to_end()
* Disable boxed logger for now to workaround 'expected function, found macro'
* Remove unnecessary mutability, warnings
* Hack to parse twice to avoid double move
* Use hyper-rustls pure Rust implementation for TLS for HTTPS in hyper
* Start converting to reqwest: add Protocol::Error and reqwest::Error conversion
* Use reqwest, replacing hyper, in protocol
* Convert resources to use reqwest instead of hyper
* Convert skin download to reqwest, instead of hyper
* Remove hyper
* Revert unnecessary variable name change req/body to reduce diff
* Revert unnecessary whitespace change to reduce diff, align indentation on .
* Fix authenticating to server, wrong method and join URL
* Update Cargo.lock
2018-10-27 17:03:34 -07:00
iceiix
de6cd2044e
Update to serde_json 1.0 ( #6 )
...
* Replace find() with get()
* Update for renamed as_string->as_str and as_boolean->as_bool
https://github.com/serde-rs/json/releases/tag/v0.8.0
Value::as_string() has been renamed to as_str() and Value::as_boolean() has been renamed to as_bool() to improve consistency
https://github.com/serde-rs/json/issues/126
* No serde_json::Value::I64/U64/F64 anymore, only Number
* Update from lookup() to pointer(), using JSON pointer syntax
https://github.com/iceiix/steven/pull/6#issuecomment-432472123
* Remove unused and removed ObjectBuilder import
* Use into_iter().collect() to convert BTreeMap to serde_json::Map
* Change parse_rules to accept serde_json::Map instead of BTreeMap
* Remove unused serde_json macro_use
* Update Cargo.lock
2018-10-23 18:47:21 -07:00
ice_iix
c688836a16
Use hex module for hex decoding, removing deprecated rustc-serialize for https://github.com/iceiix/steven/issues/4
2018-09-30 18:14:36 -07:00
ice_iix
e988c64376
Use base64 crate for base64 instead of deprecated rustc-serialize, for https://github.com/iceiix/steven/issues/4
2018-09-30 17:58:40 -07:00
ice_iix
43f6565fa5
Update to log 0.4.5
...
https://github.com/iceiix/steven/issues/4
2018-09-30 16:36:00 -07:00
ice_iix
6eaf1688f4
Remove time crate in favor of std::time, removing last usage in main
...
Combined with these changes, which also convert to std::time:
47aeb83da2
logo text
2f861f815a
light updates
9677f8ae9c
server ping
2018-09-29 23:11:47 -07:00
ice_iix
163556fbf1
Use sha1 module for hashing instead of openssl, part of https://github.com/iceiix/steven/issues/2
2018-09-29 22:23:48 -07:00
iceiix
b399b74adb
Update to rust-sdl2 0.31.0
2018-09-29 13:56:52 -07:00
iceiix
743aaac4cd
Enable SDL hint to workaround SDL_SetRelativeMouseMode broken on Linux
...
Fixes https://github.com/Thinkofname/steven/issues/73
See https://bugzilla.libsdl.org/show_bug.cgi?id=2150
2018-09-29 13:39:20 -07:00
Matthew Collins
2e99712cc8
Update rust-sdl to fix a bug ( Fixes #69 )
2017-05-14 10:04:34 +01:00
satoshinm
2f950a749c
Fix use of deprecated Rc:would_unwrap
2017-05-14 09:58:34 +01:00
llogiq
5e0c041a71
Fixed another batch of clippy warnings
...
Those are mostly readability-related. Also did a cargo update.
2016-09-15 15:15:52 +01:00
Kyle Wood
8d95965d40
Enable paste in textboxes
2016-04-26 00:50:16 +01:00
Thinkofname
f23c16bff2
Update client url and add an in-game progress bar for the download ( Fixes #22 )
2016-04-24 23:22:10 +01:00
Thinkofname
a7caa50b6f
Rewrite the UI system ( Closes #12 )
2016-04-24 12:29:25 +01:00
Thinkofname
9c816c7ea1
Implement interaction with blocks
2016-04-21 20:25:58 +01:00
Thinkofname
edf6f34a0b
Separate the console and console vars. Removes the need to lock on the console to read vars
2016-04-21 11:40:50 +01:00
TheUnnamedDude
f349d516f2
Implement frame limit and configurable vsync ( Fixes #29 )
2016-04-10 22:05:05 +01:00
TheUnnamedDude
4c590f8184
Add a options/pause menu ( Closes #4 )
2016-04-09 09:56:55 +01:00
Thinkofname
6cfef5af2d
Fix clicking causing the camera to flick
2016-04-08 11:44:23 +01:00
Thinkofname
d8b90b74bc
Support being kicked from servers
2016-04-08 01:41:26 +01:00
Thinkofname
a94b206241
Remove unused feature tag
2016-04-05 20:05:58 +01:00
Thinkofname
f8e2d0333e
Drop steven_openssl in favor of using the openssl crate ( Closes #31 )
2016-04-05 19:36:59 +01:00
Thinkofname
be05214b70
Remove commented out clippy settings
2016-04-05 14:58:19 +01:00
Thinkofname
715b0cb1ee
Use drawable_size instead of size for rendering
2016-04-05 12:43:57 +01:00
Thinkofname
98ecd348c6
Replace usages of x,y,z for block positions with Position
2016-04-03 20:53:40 +01:00
Thinkofname
92d773bd72
Move blocks into its own crate to speed up compile times
2016-04-03 18:26:52 +01:00
Thinkofname
357c695a3a
Fix some lock ordering issues
2016-03-29 20:54:08 +01:00
Thinkofname
e36a0f4579
Various bug fixes for entity handling. TODO: Smite this system from orbit, it sucks
2016-03-27 17:08:38 +01:00
Thinkofname
80f2121bf7
Initial entity work, moved self handling to an entity
2016-03-26 22:21:47 +00:00
Thinkofname
c70f9548c6
Follow some of clippy's suggestions
2016-03-26 14:24:26 +00:00
Thinkofname
69139b2933
Add most blocks without full implementation
2016-03-25 17:30:29 +00:00
Thinkofname
9f04c09a8f
Switch from glutin to sdl2
2016-03-25 13:15:35 +00:00
Thinkofname
7692c54cf7
More layout changes to chunk rendering
2016-03-24 21:47:11 +00:00
Thinkofname
70ccd5cd3d
Tidy up chunk rendering
2016-03-24 21:13:24 +00:00
Thinkofname
12b1dd6445
Initial block model support
2016-03-24 15:39:57 +00:00
Thinkofname
baeb6b94aa
Rework block system
2016-03-23 21:10:40 +00:00
Thinkofname
169f068f75
Add frustum culling
2016-03-22 11:47:02 +00:00
Thinkofname
229fafbd9c
Pool chunk builder buffers
2016-03-21 23:36:43 +00:00
Thinkofname
e6477bd186
Spectator style movement + chunk unloading
2016-03-21 22:34:57 +00:00
Thinkofname
43c4c35d7a
Hide the cursor when focused
2016-03-21 18:59:15 +00:00
Thinkofname
7364dc41c3
Initial implementation of camera controls
2016-03-21 17:51:25 +00:00
Thinkofname
217ec33413
Render chunks nearest to the player first
2016-03-21 16:51:19 +00:00
Thinkofname
ce1c286801
Implement chunk loading
2016-03-21 14:05:13 +00:00
Thinkofname
8476f992e1
Don't always spin the camera
2016-03-21 12:56:38 +00:00
Thinkofname
1fc161c53c
Allow connecting to servers
2016-03-21 10:55:31 +00:00
Thinkofname
b418625a48
Work on login screen, added ui buttons and textboxes (plus tab fixes)
2016-03-20 20:17:21 +00:00
Thinkofname
fd4df88c32
Initial work on connecting to servers
2016-03-20 12:04:02 +00:00
Thinkofname
189c063f67
First attempt at block handling rework
2016-03-20 00:29:35 +00:00
Thinkofname
edee182bf9
Use BufferSubData instead of MapBuffer
2016-03-19 20:35:31 +00:00
Thinkofname
6bee18b68c
Initial rendering implementation
2016-03-19 18:09:10 +00:00
Thinkofname
ad81ef8f17
Basic chunk building (not rendering)
2016-03-19 16:32:13 +00:00
Thinkofname
5f17aead7e
Base implementation for worlds/blocks
2016-03-18 22:24:30 +00:00
Thinkofname
57fcd3d957
Automatically allocate packet ids ( Fixes #13 )
2016-03-18 11:39:03 +00:00
Thinkofdeath
c2166b5582
Implementation of components for the entity component system
2016-03-17 22:18:25 +00:00
Thinkofdeath
0143678ab6
steven -> Steven
2016-03-16 19:11:50 +00:00
Thinkofdeath
70b6738d87
Update copyright
2016-03-16 18:25:35 +00:00
Thinkofdeath
eb9b61f023
More clean up
2016-03-16 18:22:03 +00:00
Thinkofdeath
f1b940fdd1
Clean up
2016-03-16 18:01:33 +00:00
Thinkofdeath
e9631f044d
Add last state before I stopped
2016-03-16 17:33:06 +00:00
Thinkofdeath
3704b9eeb8
Reformat using rustfmt
2015-10-07 19:36:59 +01:00
Thinkofdeath
26b0af7fb7
Fix the console on linux
2015-10-07 00:10:59 +01:00
Scetch
7bca6e55cf
Fix scrolling.
2015-10-01 16:50:37 -04:00
Scetch
670f1eb8e7
Switch from GLFW to Glutin
2015-10-01 20:54:35 +01:00
Thinkofdeath
4a3fc19713
Add basic cvar saving and loading
2015-09-29 23:24:58 +01:00
Thinkofdeath
12a88b07b9
Base console implementation
2015-09-29 22:33:24 +01:00
Thinkofdeath
bdfc002e99
Clean up
2015-09-28 23:37:14 +01:00
Thinkofdeath
8a2c24796c
Minor changes
2015-09-27 19:38:58 +01:00
Thinkofdeath
0d3ff98ad5
Implement the refresh button
2015-09-25 14:48:35 +01:00
Thinkofdeath
3bcfc6aa4c
Kinda functional server list
2015-09-25 14:00:49 +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
Thinkofdeath
81b62d9ce4
Add internal resources
2015-09-19 19:08:28 +01:00
Thinkofdeath
1ab2683a53
Base of ui system
2015-09-18 22:02:08 +01:00
Thinkofdeath
72e27968eb
Add license
2015-09-17 16:23:07 +01:00
Thinkofdeath
5aef272d43
Base of ui complete
2015-09-17 16:04:25 +01:00
Thinkofdeath
ab2336ffca
Complete protocol implementation
2015-09-12 20:31:26 +01:00
Thinkofdeath
6f6d3c96ca
Main part of the protocol complete
2015-09-10 11:49:41 +01:00
Thinkofdeath
412bbba1ee
Initial commit
2015-09-07 21:11:00 +01:00