new
regularly not just do the same thing and put it somewhere in the heap? what's malloc do differently that helps herevoid *whatever = whatever();
new T(whatever) objName;
return new(pClient) CClient;
pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect
pacmd list-cards
?let future = sync::now(device.clone())
.then_execute(queue.clone(), command_buffer)
.unwrap()
.then_signal_fence_and_flush()
.unwrap();
future.wait(None).unwrap();
let content = data_buffer.read().unwrap();
for (n, val) in content.iter().enumerate() {
assert_eq!(*val, n as u32 * 12);
}
println!("Everything succeeded!");
e3fed7d
Update libraries - def-
374229f
Version 17.0 - def-
661cf63
Update translations for upcoming 17.0 release - def-
431cfd6
Add Russian and Ukrainian translations by StormA - def-
874ebd5
Update hungarian.txt - RIH-Cellegen
c3a5399
Update hungarian.txt - RIH-Cellegen
61106cc
Improve German translation (by murpi) - def-
858e9b1
Render tees for online friends in friends list - Robyt3
f9814ca
Change friend info text to Map | Mode | Country/Ping
- Robyt3
01eeeb2
Reduce duplicate UI spacing code - Robyt3
03557b4
Show official server icon in friends list - Robyt3
388c6ff
Show race disconnect confirmation when joining friend - Robyt3
d221ed6
Add popup to confirm connecting to friend on non-official server - Robyt3
cc7a708
Fixes for Russian and Ukrainian (by StormA) - def-
8a2789a
Revert "Add popup to confirm connecting to friend on non-official server" - def-
6de2e5c
Slightly increase font size of friend name - Robyt3
54a0bd4
Fix use of invalid text container index for finish message HUD - Robyt3
d636da7
Update simplified_chinese.txt - RemakePower
24c2579
Use different color for offline clanmates in friends list - Robyt3
7c4e9cf
Update french translations (by Sukya) - def-
ac58962
fix time score info on server detail - edg-l
72c7ac7
clean time score handling, with positive time values - edg-l
881174a
factor out scorekind backwards compat gametype check - edg-l
1971619
Fix swapping with dragger beams (fixes #6597) - def-
8dddafd
Update spanish.txt - n0Ketchp
be41f8f
Fix incorrect swapping with draggers - Robyt3
1aa3c86
Update traditional_chinese.txt - Cheeser0613MOV AL, FFh; ADD AL, 1
does that modify AH?heinrich5991: nix!
Ryozuki: idk about nix
heinrich5991: me neither
Ryozuki: are you using it?
heinrich5991: hence I want you to try it out 😄
MOV AL, FFh; ADD AL, 1
does that modify AH? inp_mouseold
the issue with the stutters or is there another issue with SDL?{
"addresses": [
"tw-0.6+udp://31.186.250.44:8303",
"tw-0.7+udp://31.186.250.44:8303"
],
"location": "eu",
"info": {
"max_clients": 63,
"max_players": 63,
"passworded": false,
"game_type": "Gores",
"name": "[BETA] |*KoG*| GER #1 - Easy Gores [kog.tw]",
"map": {
"name": "CandyLand",
"sha256": "d8d19cddfc319a7f870ca5034f2ef167c3b51134d04d2534021584b14fd29102",
"size": 571679
},
"version": "0.6/0.7 2.2.16-beta",
"client_score_kind": "time",
"clients": [
{
"name": "dklosowicz7****",
"clan": "",
"country": -1,
"score": 289,
"is_player": true,
"skin": {
"name": "greyfox"
},
"afk": true,
"team": 0
},
{
"name": "can't see",
"clan": "neymar",
"country": 300,
"score": 52,
"is_player": true,
"skin": {
"name": "veteran",
"color_body": 5251072,
"color_feet": 14221567
},
"afk": true,
"team": 0
}
]
}
}
(edited){
"addresses": [
"tw-0.6+udp://31.186.250.44:8303",
"tw-0.7+udp://31.186.250.44:8303"
],
"location": "eu",
"info": {
"max_clients": 63,
"max_players": 63,
"passworded": false,
"game_type": "Gores",
"name": "[BETA] |*KoG*| GER #1 - Easy Gores [kog.tw]",
"map": {
"name": "CandyLand",
"sha256": "d8d19cddfc319a7f870ca5034f2ef167c3b51134d04d2534021584b14fd29102",
"size": 571679
},
"version": "0.6/0.7 2.2.16-beta",
"client_score_kind": "time",
"clients": [
{
"name": "dklosowicz7****",
"clan": "",
"country": -1,
"score": 289,
"is_player": true,
"skin": {
"name": "greyfox"
},
"afk": true,
"team": 0
},
{
"name": "can't see",
"clan": "neymar",
"country": 300,
"score": 52,
"is_player": true,
"skin": {
"name": "veteran",
"color_body": 5251072,
"color_feet": 14221567
},
"afk": true,
"team": 0
}
]
}
}
(edited)// time is sent as a positive value, but sometimes buggy servers sent it as negative
CClient::m_Score
Compare
return Score0 > Score 1;
(edited)if(Score1 != Score0) return Score0 > Score1;
is what you are looking for I guessif(Score0 != Score1)
return Score0 > Score1;
!comp(a, b) && !comp(b, a)
. Sorting them by name was the intention.
I also got rid of the old INT_MIN
"hack", it was only there to make the code shorter and it's no longer possible with the newly flipped sign without flipping it back on the ...