Directory types/player_changer/

Directory Created:
2008-03-29 17:37
Total Files:
1
Deleted Files:
0
Lines of Code:
86

[root]/types/player_changer

Lines of Code

types/player_changer/ Lines of Code

Developers

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

Most Recent Commits

ryo_saeba 2021-02-01 15:11 Rev.: 21885

Extract event handling to common library.

1 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+1 -2)
partmedia 2014-06-06 17:30 Rev.: 19529

Clean up standard C headers.

19 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+19 -26)
partmedia 2014-06-05 11:15 Rev.: 19514

Fix unsafe uses of strcpy(3).

2 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+2 -1)
mwedel 2011-05-02 01:01 Rev.: 14446

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:

  • types/player_changer: player_changer.c (+1 -1)
mwedel 2010-10-21 01:20 Rev.: 14015

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:

  • types/player_changer: player_changer.c (+1 -1)
akirschbaum 2009-06-18 16:10 Rev.: 11941

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:

  • types/player_changer: player_changer.c (+2 -2)
akirschbaum 2009-01-24 03:20 Rev.: 11226

Whitespace changes: consistently reformat code.

12 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+12 -15)
akirschbaum 2008-11-19 15:21 Rev.: 10560

Add missing return values.

2 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+2 -2)
anmaster 2008-06-01 11:40 Rev.: 9198

Set svn:eol-style to native on *.c and *.h files that were missing it.

1 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (+1)
ryo_saeba 2008-03-29 17:37 Rev.: 8666

Extract player_changer to its own file.

95 lines of code changed in 1 file:

  • types/player_changer: player_changer.c (new 95)
Generated by StatSVN 0.7.0