Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 10 (100.0%) | 136 (100.0%) | 13.6 |
ryo_saeba | 2 (20.0%) | 96 (70.6%) | 48.0 |
partmedia | 2 (20.0%) | 21 (15.4%) | 10.5 |
akirschbaum | 3 (30.0%) | 16 (11.8%) | 5.3 |
mwedel | 2 (20.0%) | 2 (1.5%) | 1.0 |
anmaster | 1 (10.0%) | 1 (0.7%) | 1.0 |
Extract event handling to common library.
1 lines of code changed in 1 file:
Clean up standard C headers.
19 lines of code changed in 1 file:
Fix unsafe uses of strcpy(3).
2 lines of code changed in 1 file:
Fix 2 problems/bugs:
1) Server would crash if player entered invalid characters stats in
new player setup, and then entered correct ones - this is due
to a partial player structure being set up.
2) Stat checking is now done after apply both race & class - so
if a racial penalty would make a stat negative, but a class
bonus would make it positive, this is now valid.
The changes here pretty much involve doing all checks before
allocating the player structure, and then having apply_race_and_class()
take in a passed in living structure with adjustments already applied.
Certain code had to be disabled if the correct flags/values are passed in.
MSW 2011-05-01
1 lines of code changed in 1 file:
Update for advanced (in game) character creation:
common/init.c: Add check for new subtype for finding first map.
doc/Developers/protocol: Fix formatting, add starting map information.
include/shared/newclient.h: Add types for map requestinfo data.
include/map.h: Add new map subtypes.
include/player.h: Add new ADD_PLAYER_... values for add_player()
include/sockproto.h: updated
include/sproto.h: updated
server/player.c: Change add_player() to have second parameter be a
bitmask value and not true/false. Add apply_race_and_class().
server/apply.c: Reformat apply_changes_to_player() and have it take new
parameter which determines if class stat bonus can exceed racial maximum.
socket/loop.c: Handle startingmap requestinfo requrest.
socket/lowlevel.c: Add SockList_AddLen16Data() for cases were we want
to send a length prefixed block of data that is >255 bytes long.
socket/request.c: Update for loginmethod 2. Update decode_name_password()
to support passing length of data back to server via parameter. Handle
new character creation data from client.
socket/requestinfo.c: Add command to send choice of starting maps
to the client.
types/player_changer/player_changer.c: Add new parameter to call of
apply_changes_to_player()
MSW 2010-10-20
1 lines of code changed in 1 file:
Rewrite loops iterating over inv/env/below/above object lists with macros that are not affected by objects being modified/removed/freed within the loop.
2 lines of code changed in 1 file:
Whitespace changes: consistently reformat code.
12 lines of code changed in 1 file:
Add missing return values.
2 lines of code changed in 1 file:
Set svn:eol-style to native on *.c and *.h files that were missing it.
1 lines of code changed in 1 file:
Extract player_changer to its own file.
95 lines of code changed in 1 file: