--- crossfire/crossedit ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: Attr.c
Revision 1.25akirschbaum 2006/05/21 07:54:34 +1 -1
Use 'NULL' for pointers.
Show difference between Revision 1.24 and 1.25
Revision 1.24ryo_saeba 2006/03/18 11:15:24 +1 -1
Use const when possible. Patch courtesy Stefan Huehner.
Show difference between Revision 1.23 and 1.24
Revision 1.23akirschbaum 2006/03/16 14:59:51 +1 -1
Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove
unused code, add static/const where appropriate.
Show difference between Revision 1.22 and 1.23
Revision 1.22akirschbaum 2005/12/09 15:24:06 +5 -14
Apply slightly modified first part of patch #1275563 (Crossedit: fix map
attributes window): make the map attributes dialogs work again.
Show difference between Revision 1.21 and 1.22
Revision 1.21akirschbaum 2005/10/28 14:08:53 +3 -2
Fix compiler warnings. Most changes do not change the program (remove unused
variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix
(possible) problems (fix uninitialized variables, fix printf format
specifiers, fix mismatches between signed and unsigned variables, add missing
return and default statements).
Show difference between Revision 1.20 and 1.21
Revision 1.20akirschbaum 2005/10/07 12:54:48 +1 -1
common/{arch.c, object.c}, crossedit/{Attr.c, Defines.h, Edit.c},
include/libproto.h, server/{plugins.c, time.c}: Rename functions with
mixed-case names to lower case only.
crossedit/Defines.h: Remove prototypes for nonexisting functions.
Show difference between Revision 1.19 and 1.20
Revision 1.19akirschbaum 2005/07/16 16:10:37 +2 -2
Fix spelling errors in string constants.
Show difference between Revision 1.18 and 1.19
Revision 1.18akirschbaum 2005/03/06 14:38:53 +1 -1
common/{map.c, readable.c, treasure.c}, crossedit/Attr.c, server/{apply.c,
attack.c, c_wiz.c, init.c, monster.c, pets.c, shop.c, skill_util.c, skills.c,
spell_attack.c, spell_effect.c, time.c}, socket/{info.c, request.c}: Add
missing newline character to LOG() messages.
Show difference between Revision 1.17 and 1.18
Revision 1.17mwedel 2003/03/19 02:04:50 +2 -2
common/anim.c: Pass direction to animate_object() - needed for player
animations as player's facing may not match direction.
crossedit/Attr.c, server/main.c, server/time.c: Update calls to animate_object()
include/libproto.h: rebuilt
include/newserver.h, plugin_animator/animator_box.c, socket/init.c,
socket/request.c: Remove newanim field from socket structure - not needed -
how to animate is determined by object, not by socket.
server/move.c: Add check to P_OUT_OF_MAP in teleport function.
server/player.c: change move_player to call animate_object, so it gets full
power of functionality it supports instead of 4 way hardcode animation
information.
server/spell_effect.c: When altars are consecrated, don't look to arch name
for first portion of name - always call them Altar of %s - fixes problem
where altar is special god altar that has god's name in archetype, resulting
in altar of .. of ...
MSW 2003-03-18
Show difference between Revision 1.16 and 1.17
Revision 1.16mwedel 2003/03/07 01:33:13 +2 -2
Various bug fixes.
crossedit/Attr.c: Minor cleanup to eliminate some compile time warnings.
plugin/plugin_python.c: Remove some unused variables, thus fixing up some
compiler warnings.
random_maps/random_map.c, random_maps/random_map.h, random_maps/special.c:
Add MIN_RANDOM_MAP_SIZE values instead of hardcode constants.
server/monster.c: Fix communicate - odd bug can be map gets swapped out
just after player is transferred to another map, causing crashes as
map that was originally spoken on is no longer in memory.
server/rune.c: add missing free_object call when erasing runes.
server/skills.c: Change write_on_item to determine type of writing based
on content of mesage, or lack thereof, and not the marked object.
Fix problem of buf not being initalized.
MSW 2003-03-06
Show difference between Revision 1.15 and 1.16
Revision 1.15garbled 2002/01/03 16:02:34 +2 -1
Allow the loader to save objects marked for save on overlay.
Show difference between Revision 1.14 and 1.15
Revision 1.14garbled 2002/01/02 00:53:23 +2 -2
Backout of Anim25 patch by michtoen. It was causing server crashes, and
is generally not useful in a non-iso crossfire. Discussed w/ mwedel.
Show difference between Revision 1.13 and 1.14
Revision 1.13mwedel 2001/12/03 01:51:40 +1 -1
This checkin for the most part removes support for xpm and xbm graphics -
now the only image supported is the png.
common/arch.c: comment out printing on warning of object having no type -
getting 300 meaningless messages at startup is annoying.
common/image.c: Remove X11 color information from colorname array. Remove
processing of color_fg and color_bg information from face file - only
use color_fg if no magicmap information is available - foreground
and background infoformation was only needed for bitmap graphics.
common/loader.c, loader.l: Add elevation element, comment out some logging
messages that are excessive and only really relevant for people
who want to fix them (really should be in the collect script
anyways). Remove some unused code.
common/map.c: add outdoor field to map structure - add support for loading
and saving it.
crossedit/App.c,crossedit/CrUtil.c, crossedit/Defines.h, crossedit/crossedit.c
crossedit/xutil.c: Remove support for non png graphics.
crossedit/Attr.c: Add support for elevation variable, remove code for non
png graphics.
doc/map-technical: Add note about outdoor field.
include/face.h: remove fg, bg fields from face struecture.
include/global.h: Update colorname array definition.
include/loader.h: Add V_ELEVATION field.
include/map.h: Add outdoor field to map structure.
include/newserver.h: Update types so it only loads/knows about png information.
include/object.h: Add elevation field to object structure.
lib/Makefile.in: Remove support for building crossfire.xpm and crossfire.xbm
files.
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.png,
lib/faces: Rebuilt. Main difference is a few sea types, and the fact
that it hadn't been collected for a while.
server/spell_effect.c: Modify dimension door so that it calls MapNewmapCmd
so that fog of war does not get confused. Also, removes call to
draw as functions further up will do that.
server/spell_util.c: Remove color information from attack information that
shuffle_attack uses.
socket/init.c, socket/request.c: Remove support for non png images.
MSW 2001-12-02
Show difference between Revision 1.12 and 1.13
Revision 1.12michtoen 2001/11/27 23:11:00 +1 -1
small bugfix
Show difference between Revision 1.11 and 1.12
Revision 1.11michtoen 2001/11/27 22:44:42 +2 -2
Anim25 Patch

This patch do this things mainly:

- include same animation sheme for players and monster again
- introduce guard/walk/fight animation in 8 direction
- direct action: monster change from guard/walk animation
when they get attacked and fall back to walk or guard when
the enemy is gone
- Monster do "intelligent" animation
-> facing enemy
-> turn and run when scared
- fixed some animation flaws which invokes late anim
update (monster moves first and hold one frame old facing)
- Include real time player animation!
-> player starts moving animation when player moves
-> fall back to guard anim when player do nothing
-> plays fight anim when hit some

Hope i got all. This patch is much not so hard as it sounds.
Most of these features was easy to include because the old
anim engine was able to do about 80% of this. I had just to
boost up the logic.
Show difference between Revision 1.10 and 1.11
Revision 1.10michtoen 2001/11/26 22:33:46 +2 -1
Arch type & subtype patch

Added type & subtype system with 2 subtypes.
Type & subtype will be send to client.

Adding new types:

FLOOR 71
WALL 77
LIGHT_SOURCE 78
MISC_OBJECT 79
MONSTER 80
SPAWN_GENERATOR 81

Added subtypes for armor & weapons.

new commands are:
sub_type <uint8>
sub_typ2 <uint16>

sub_type2 is for internal server use.

Added new command:
casting_speed <delay>

This will be included later.

I will use the sdl client as tester for this patch,
older clients will not be effected even when the
arches are updated.
Show difference between Revision 1.9 and 1.10
Revision 1.9michtoen 2001/11/26 11:52:26 +3 -2
Attack Patch 25.11.01

Detailed information in the dev list.
The changes are to many to explain here.
Show difference between Revision 1.8 and 1.9
Revision 1.8mwedel 2001/07/13 23:05:28 +2 -2
crossedit/Attr.c: Rename Layout to AppLayout so other files can use it.
crossedit/CrEdit.c: Modified to use new map header. Modified drawing
routines, as face values could be null
crossedit/Edit.c: Move many functions from common/map.c that are only
used here and thus don't need to be in common/map.c. Modify to use
new map structure.
crossedit/Makefile.in: Change to use cproto to make proto.h file.
crossedit/png.c: change user_read_data to be static so proto doesn't pick
it up.
MSW 2001-07-13
Show difference between Revision 1.7 and 1.8
Revision 1.7michtoen 2001/06/13 05:49:56 +10 -2
Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.

MT 2001-06-13
Show difference between Revision 1.6 and 1.7
Revision 1.6michtoen 2001/06/11 13:54:53 +1 -1
change HANDLE to CF_HANDLE
Show difference between Revision 1.5 and 1.6
Revision 1.5cvs 2000/12/04 01:36:35 +9 -0
MSW 2000/12/3:
crossedit/Attr.c: Add the new resist names to set of variables one can set (PR change)
Show difference between Revision 1.4 and 1.5
Revision 1.4peterm 2000/10/20 15:46:41 +1 -0
Fix from AV for crashing bug on map creation New.
Also, put in player changers.
Show difference between Revision 1.3 and 1.4
Revision 1.3cvs 2000/06/18 20:56:47 +2 -0
Modifed the map editor so converters would be easier to edit. --PeterM
Show difference between Revision 1.2 and 1.3
Revision 1.2cvs 2000/06/16 19:10:01 +24 -1
A few improvements: extra fields for certain
objects such as creators for easier editing.
Show difference between Revision 1.1 and 1.2
Revision 1.1uid200 1999/04/02 13:10:10 None
Initial revision
First version
Revision 1.1.1.1uid200 1999/04/02 13:10:10 +0 -0
First CVS revsion: crossfire-0.95.3
Show difference between Revision 1.1 and 1.1.1.1


File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:49