Directory include/

Total Files:
51
Deleted Files:
11
Lines of Code:
7220

[root]/include
        directory in repo random_maps (5 files, 273 lines)
        directory in repo shared (2 files, 677 lines)

Lines of Code

include/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 1328 (100.0%) 9321 (100.0%) 7.0
ryo_saeba 547 (41.2%) 3207 (34.4%) 5.8
anmaster 85 (6.4%) 1821 (19.5%) 21.4
akirschbaum 179 (13.5%) 1183 (12.7%) 6.6
partmedia 172 (13.0%) 1061 (11.4%) 6.1
mwedel 153 (11.5%) 722 (7.7%) 4.7
gros 33 (2.5%) 523 (5.6%) 15.8
qal21 82 (6.2%) 368 (3.9%) 4.4
kbulgrien 24 (1.8%) 278 (3.0%) 11.5
quinet 18 (1.4%) 67 (0.7%) 3.7
tchize 9 (0.7%) 39 (0.4%) 4.3
silvernexus 17 (1.3%) 29 (0.3%) 1.7
kstenger 1 (0.1%) 9 (0.1%) 9.0
cavesomething 3 (0.2%) 7 (0.1%) 2.3
rjtanner 2 (0.2%) 4 (0.0%) 2.0
meflin2 2 (0.2%) 2 (0.0%) 1.0
lalo 1 (0.1%) 1 (0.0%) 1.0

Most Recent Commits

partmedia 2019-12-27 01:33 Rev.: 21066

Do not send upditem for unsent items

Sometimes, we try to update an item that we haven't sent to the client.
Don't! This can happen, for example, when a button under the floor gets
toggled, but objects under floor tiles are generally not sent. There are
some other places where this happens that we haven't tracked down, but
in general, just don't.

1 lines of code changed in 1 file:

  • include: define.h (+1 -1)
partmedia 2019-12-26 19:56 Rev.: 21060

Rename 'quit' command to 'delete'

Make it harder to delete a character by renaming 'quit' to 'delete'. New
players have been known to accidentally delete their character despite
the warning.

1 lines of code changed in 1 file:

  • include: sproto.h (+1)
silvernexus 2019-12-03 18:49 Rev.: 21048

Make draw_client_map2 a static function, since it is used only in request.c.

0 lines of code changed in 1 file:

  • include: sockproto.h (-1)
silvernexus 2019-12-01 11:11 Rev.: 21043

Trivial changes of object * to player * in los calculations.

1 lines of code changed in 1 file:

  • include: libproto.h (+1 -1)
partmedia 2019-08-31 10:25 Rev.: 20993

Sleep in select() instead of usleep()

This allows us to handle commands from the client as soon as they
arrive, reducing the command-handling latency.

2 lines of code changed in 2 files:

  • include: libproto.h (+1 -1), sockproto.h (+1 -1)
partmedia 2019-08-31 10:25 Rev.: 20992

Add separate loop to send updates to player

Now do_server() only needs to handle input from the clients. Periodic
updates are handled by send_player_updates().

1 lines of code changed in 1 file:

  • include: sockproto.h (+1)
partmedia 2019-08-31 10:14 Rev.: 20988

Refactor game loop

2 lines of code changed in 1 file:

  • include: libproto.h (+2)
partmedia 2019-08-30 00:08 Rev.: 20987

Factor out code for 'goto' command

1 lines of code changed in 1 file:

  • include: sproto.h (+1)
partmedia 2019-08-30 00:08 Rev.: 20986

Show correct drain message on death

1 lines of code changed in 1 file:

  • include: living.h (+1)
partmedia 2019-08-30 00:08 Rev.: 20983

Add slow_living_by()

1 lines of code changed in 1 file:

  • include: sproto.h (+1)
partmedia 2019-08-15 00:41 Rev.: 20958

Move init_objects()

0 lines of code changed in 1 file:

  • include: object.h (-2)
partmedia 2019-08-15 00:41 Rev.: 20956

Refactor food apply method

Add MAX_FOOD. Factor common eating effects into eat_common(). Subject
dragons to cursed food effects. Update message sent to player when
eating too much food.

2 lines of code changed in 1 file:

  • include: define.h (+2)
partmedia 2019-08-11 22:12 Rev.: 20949

Simplify MEMORY_DEBUG

Replace realloc() with a simple direct call to calloc() for each object
and avoid free list handling. This makes MEMORY_DEBUG more useful with
modern conveniences like -fsanitize=address.

While here update documentation for MEMORY_DEBUG.

11 lines of code changed in 1 file:

  • include: config.h (+11 -16)
partmedia 2019-08-09 13:57 Rev.: 20928

Remove manual output socket buffer handling

Our manual buffer code doesn't handle partial writes. While logging in a
client, this sometimes causes the server to skip the tail of a partial
write, resulting in corrupt data being sent to the client.

Instead of handling this issue ourselves, grow the OS output socket
buffer to SOCKETBUFSIZE and disconnect the client if this buffer ever
gets filled, consistent with current behavior, only now it also works
during login.

5 lines of code changed in 3 files:

  • include: config.h (+5 -10), newserver.h (-12), sockproto.h (-1)
silvernexus 2019-03-20 17:02 Rev.: 20728

Fix bug #858 and r20721 by making arch_types_valid.c be a standalone source file.

1 lines of code changed in 1 file:

  • include: libproto.h (+1)
akirschbaum 2019-02-09 05:03 Rev.: 20710

Move 'static' modifier to start of declaration

1 lines of code changed in 1 file:

  • include: tod.h (+1 -1)
partmedia 2019-01-28 01:25 Rev.: 20699

Add setting to always use crypt(3)

Add new 'crypt_mode' setting. When set to 0 or left unset, preserve the
legacy behavior of not hashing passwords on Windows and FreeBSD. When
set to 1 (set for new installations), always use crypt(3).

This setting is also useful for hosting player files, originally created
on Linux, on FreeBSD.

1 lines of code changed in 1 file:

  • include: global.h (+1)
partmedia 2019-01-14 09:59 Rev.: 20692

Add option to always enable HP bars

The new 'always_show_hp' server option enables accurate HP bars for all
living players and monsters, as if a high-level 'probe' spell was always
in effect.

Sponsored by: Titus
Tracker: feature-requests/250

10 lines of code changed in 3 files:

  • include: config.h (+1), global.h (+1), object.h (+8)
partmedia 2019-01-11 14:44 Rev.: 20686

Remove C99 arrays in headers to fix CRE build

3 lines of code changed in 3 files:

  • include: object.h (+1 -1), sockproto.h (+1 -1), sproto.h (+1 -1)
partmedia 2018-12-31 17:53 Rev.: 20667

Fix warning

1 lines of code changed in 1 file:

  • include: libproto.h (+1 -1)
partmedia 2018-12-31 13:56 Rev.: 20662

Fix missing parenthesis around negation

Logical negation (!) has higher precedence than equality. Parenthesis
are needed to make the comparison function as intended. Fix by adding a
IS_PLAYER macro, and in another case by adding parenthesis.

4 lines of code changed in 1 file:

  • include: object.h (+4)
partmedia 2018-12-29 16:49 Rev.: 20649

Add MOVE_PER_SECOND

When setting speed and duration arbitrarily for force objects that
expire, use MOVE_PER_SECOND instead. MOVE_PER_SECOND is a speed setting
where the duration corresponds to a length of time in seconds when using
the default MAX_TIME setting.

5 lines of code changed in 1 file:

  • include: tod.h (+5)
partmedia 2018-12-29 16:49 Rev.: 20648

Better document speed and duration

2 lines of code changed in 1 file:

  • include: object.h (+2 -2)
silvernexus 2018-10-22 20:07 Rev.: 20595

Update archetype loading code to no longer need warn_archetypes.
Also make sure a pile of error messages don't arise from loading.

0 lines of code changed in 1 file:

  • include: global.h (-2)
silvernexus 2018-09-24 11:39 Rev.: 20587

Add a mimic type for objects to become monsters when applied.

4 lines of code changed in 2 files:

  • include: object.h (+2 -2), typesproto.h (+2)
silvernexus 2017-08-23 20:51 Rev.: 20502

Add messages and flag for paralysis, allowing for smarter handling of paralysis in the future.
Also disallow eating food when starving and paralyzed, since it is incogruous to do so.

4 lines of code changed in 1 file:

  • include: define.h (+4 -1)
partmedia 2017-07-29 13:37 Rev.: 20458

Let plugins specify largest coin in cost strings

1 lines of code changed in 1 file:

  • include: shop.h (+1)
partmedia 2017-07-24 11:26 Rev.: 20440

Move sound types to shared header

0 lines of code changed in 1 file:

  • include: sounds.h (-12)
partmedia 2017-05-27 23:00 Rev.: 20361

Play region music if a map doesn't have music

Update background music in more cases where the player moves due to
entering a map, teleporting, spells, or other means.

1 lines of code changed in 1 file:

  • include: sockproto.h (+1)
partmedia 2017-05-18 20:28 Rev.: 20350

Improve password hashing interface functions

1 lines of code changed in 1 file:

  • include: sproto.h (+1 -1)
partmedia 2016-08-12 22:43 Rev.: 20315

Revert FABS macro change

Some bit of the server somewhere relies on the type-independent behavior
of the original FABS macro. This manifests itself in the form of
infinite recursion when attempting to log in.

3 lines of code changed in 2 files:

  • include: compat.h (-3), define.h (+3)
partmedia 2016-08-12 22:02 Rev.: 20314

Fix signed integer comparisons

1 lines of code changed in 1 file:

  • include: object.h (+1 -1)
partmedia 2016-08-12 22:02 Rev.: 20313

Convert fatal error codes to enum

8 lines of code changed in 2 files:

  • include: define.h (+7 -8), libproto.h (+1 -1)
partmedia 2016-08-12 22:01 Rev.: 20311

Move compatibility definitions to compat.h

Note that we never call FABS on a floating-point value, so defining it
as a call to abs() is okay.

Also remove an ancient compiler check.

11 lines of code changed in 2 files:

  • include: compat.h (+11), define.h (-20)
partmedia 2016-08-12 22:01 Rev.: 20309

Convert OBJECT_TYPE defgroup to enum

158 lines of code changed in 2 files:

  • include: define.h (-162), object.h (+158)
partmedia 2016-08-12 22:01 Rev.: 20308

Remove unused object types

0 lines of code changed in 1 file:

  • include: define.h (-40)
partmedia 2016-08-12 22:01 Rev.: 20305

Fix sign extension by using unsigned cast

Reported by: Coverity Scan

3 lines of code changed in 1 file:

  • include: map.h (+3 -1)
partmedia 2016-08-03 18:30 Rev.: 20297

Convert randomness macros to functions

Each function that the randomness macros call returns a different type.
Explicitly declare a cf_random() and cf_srandom().

4 lines of code changed in 1 file:

  • include: define.h (+4 -29)
silvernexus 2016-05-21 21:13 Rev.: 20274

Fix typo in NAMELEN macro when user does not have dirent.h.

1 lines of code changed in 1 file:

  • include: global.h (+1 -1)
ryo_saeba 2016-02-29 12:58 Rev.: 20228

Use blue for electricity, light blue for cold, and various other colors.

1 lines of code changed in 1 file:

  • include: attack.h (+1 -1)

(701 more)

Generated by StatSVN 0.7.0