[root]/client/trunk/common
shared
(2 files, 677 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 813 (100.0%) | 15208 (100.0%) | 18.7 |
partmedia | 337 (41.5%) | 5309 (34.9%) | 15.7 |
mwedel | 117 (14.4%) | 2753 (18.1%) | 23.5 |
akirschbaum | 39 (4.8%) | 2680 (17.6%) | 68.7 |
kbulgrien | 102 (12.5%) | 2655 (17.5%) | 26.0 |
ryo_saeba | 75 (9.2%) | 710 (4.7%) | 9.4 |
anmaster | 65 (8.0%) | 575 (3.8%) | 8.8 |
qal21 | 33 (4.1%) | 137 (0.9%) | 4.1 |
silvernexus | 18 (2.2%) | 127 (0.8%) | 7.0 |
cavesomething | 14 (1.7%) | 108 (0.7%) | 7.7 |
tchize | 6 (0.7%) | 91 (0.6%) | 15.1 |
quinet | 2 (0.2%) | 48 (0.3%) | 24.0 |
kstenger | 4 (0.5%) | 14 (0.1%) | 3.5 |
rjtanner | 1 (0.1%) | 1 (0.0%) | 1.0 |
Make profiling output easier to parse
2 lines of code changed in 1 file:
Make code more readable
7 lines of code changed in 1 file:
Remove unnecessary helper
1 lines of code changed in 1 file:
Check for NULL
4 lines of code changed in 1 file:
Add protocol debugging command-line option
10 lines of code changed in 3 files:
Disconnect after receiving an unknown command
10 lines of code changed in 2 files:
Log time elapsed with LOG()
5 lines of code changed in 2 files:
Initialize mapdata only after mapdata_set_size()
Avoid allocating map data on client init and again after loading config,
because map data is only used after negotiating a view size with the
server. Add corresponding mapdata_free() to deallocate map data after
disconnecting from a server.
17 lines of code changed in 3 files:
Use macro to access mapdata cells
52 lines of code changed in 2 files:
Reduce size of struct MapCell and BigCell
The client does not actually use any of the animation info fields in the
tail MapCellLayer structs. Reduce the size of struct MapCell by removing
these unused fields.
13 lines of code changed in 2 files:
Refactor map data
Rename x to width and y to height in struct Map. Replace uses of
FOG_MAP_SIZE with either width or height. Separate map data allocation
into separate function.
108 lines of code changed in 2 files:
Reduce bit width for smooth info
3 lines of code changed in 2 files:
Simplify event loop tick handling
Handle all time-based events in client_tick(), which is only called when
a tick is received from the server. Drop support for servers that do not
support the tick command, since it was already broken (the client would
have never called redraw()).
Add a comment explaining that supporting tickless servers again only
requires adding a timer event that calls client_tick().
11 lines of code changed in 3 files:
Handle 'newmapcmd' and 'tick' setup
4 lines of code changed in 1 file:
Add latency profiling command-line option
13 lines of code changed in 1 file:
Trim trailing whitespace from spell descriptions
14 lines of code changed in 1 file:
Lower CMake requirement to 3.1
3.1 is the lowest version we can use to keep taking advantage of
automatic C standard compile flag selection.
0 lines of code changed in 1 file:
Call show_main_client() after addme_success
2 lines of code changed in 2 files:
Adjust minimum cmake version to match presence of c_std_99 item for compile targets.
1 lines of code changed in 1 file:
Use target_compile_features()
2 lines of code changed in 1 file:
Replace uses of include_directories()
12 lines of code changed in 1 file:
Pass player and server name to client scripts
Submitted by: Frank Wilde <F.Wilde@casino2000.lu>
4 lines of code changed in 1 file:
Check for divide by zero
7 lines of code changed in 1 file:
Wrap error around LOG()
1 lines of code changed in 1 file:
Make blessed items display '(blessed)' to denote they are blessed.
This is mostly for scrolls, where being blessed makes a difference.
7 lines of code changed in 2 files:
Fix delayed update of weight limit display on Strength changes.
2 lines of code changed in 1 file:
Check the packet size using an unsigned short, since a signed short rolls to negative before being converted to a size_t
19 lines of code changed in 1 file:
Lower login windows after 'addme' command as well
After creating a new account and starting to play, 'addme' gets sent
without the player hitting the login button.
1 lines of code changed in 1 file:
Disable client-side socket timeout
0 lines of code changed in 1 file:
Handle end of stream correctly
15 lines of code changed in 2 files:
Use pkg-config to find libcurl and SDL
1 lines of code changed in 1 file:
Update Windows build
2 lines of code changed in 2 files:
Replace ChildProcess with GLib functions
The sound server invocation now theoretically works on Windows. While
here, make the spawned sound server inherit stderr and stdout from the
parent to fix the issue of the sound server blocking on pipe write.
1 lines of code changed in 4 files:
Return error when server sends an invalid packet
15 lines of code changed in 3 files:
Stop making csocket.inbuf global
10 lines of code changed in 2 files:
Replace socket reads with GInputStream
102 lines of code changed in 4 files:
Add missing return
1 lines of code changed in 1 file:
Hide main window during server selection
0 lines of code changed in 1 file:
Handle error leading to segfault
4 lines of code changed in 1 file:
Improve build on Windows
5 lines of code changed in 2 files:
(295 more)