update copyrights and other minor stuff to deliantra
- improve dynbuf implementation further - save now saves shstrs longer than HUGE_BUF, lets fix any brokenness remaining in the server... - converted most describe_*-functions to dynbuf_text, making them likely faster (or maybe slower), while removing any hardcoded length limit. - memory allocated for static dynbuf's is not being returned ever (at least not the initial chunk, maybe fix this?) - implement framework for predeclared const shstrs for comparison purposes (shstrinc.h). - enabled and enforced new material code. - implement hack to clean up book titles. - increases HUGE_BUF to 10240, to be similar to mac network packet size.
- upgrade crossfire trt to the GPL version 3 (hopefully correctly). - add a single file covered by the GNU Affero General Public License (which is not yet released, so I used the current draft, which is legally a bit wavy, but its likely better than nothing as it expresses direct intent by the authors, and we can upgrade as soon as it has been released). * this should ensure availability of source code for the server at least and hopefully also archetypes and maps even when modified versions are not being distributed, in accordance of section 13 of the agplv3.
- update copyrights in .h files, where applicable - rename preprocess to genkeywords
A player must never apply two skills. crossfire always has and will ever complain about that. Nevertheless, levitation (and ONLY levitation) gets applied in addition to other skills. Now that cannot work with the new skill system. Introduce a special flag for levitation only so it only gets half-applied. This probably fixes quite a number of older "has two skills applied" messages.
- do not require an item for the use magic item skill. thats because it is often used for "misc" objects such as scrolls, which do not get applied as ranged weapons. not requiring an item is not likely to be a big deal anyways.
*** empty log message ***
big simplification, still doesn't work, but feels cleaner
This is the first rough cut of the skill use system (use the STABLE tag). Details will likely change, and combat skills do not work very well, but it works quite well. Players no longer have a shoottype or range slots, instead, each player has these members: combat_skill/combat_ob the currently selected skill (and weapon) for direct attacks. ranged_skill/ranged_ob the currently selected ranged skill (and bow/spell/item) golem the currently-controlled golem, if any.
comments
added some copyrights
I goofed.
more slight copyright adjustments
introducing skillinc.h
THIS CODE WILL NOT COMPILE use the STABLE tag instead. - major changes in object lifetime and memory management - replaced manual refcounting by shstr class - removed quest system - many optimisations - major changes
added SK_EXP_SKILL_ONLY
Made server compile with C++. Removed cfanim plugin and crossedit. C++ here we come.
typo
Renaming skills and fixing non-static declaration of attack_hth in include/sproto.h.
Renaming skills and adding them to cfperl.xs.
Adding code support for "flame touch"-alike skills for cold, electric, acid and poison elemental races.
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.