Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +01:00 |
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
Enno Rehling
|
838cf3d938
|
try to allow visual studio to build with all warnings (/WAll) enabled.
|
2015-01-12 22:53:21 +01:00 |
Enno Rehling
|
80be0a8e89
|
I broke the Lua tests, must initialize resources in eressea.free_game binding
|
2014-12-31 00:20:19 +01:00 |
Enno Rehling
|
228983202d
|
properly free items at cleanup.
|
2014-12-30 23:49:50 +01:00 |
Enno Rehling
|
cd70b8684d
|
fix escape_string mmeory corruption error.
fix a number of small stuff that happens when loading very old data files (like 572).
|
2014-12-12 11:28:37 +01:00 |
Enno Rehling
|
d7c2fc2b04
|
remove the R_UNIT resource.
https://bugs.eressea.de/view.php?id=1945
assert that only items can be reserved.
|
2014-12-11 23:24:00 +01:00 |
Enno Rehling
|
27f94783bc
|
fix gcc build, forward-declare structs in the header.
MSVC allows structs to be declared in a function signature, gcc wants
to know about them earlier.
|
2014-11-01 13:10:22 +01:00 |
Enno Rehling
|
ce3e9cd7d0
|
Add missing test coverage for update_guards. Fix the weapon:minskill default.
|
2014-10-14 18:37:45 +02:00 |
Enno Rehling
|
920902f8eb
|
replace resource_type::_name array with a single string.
|
2014-08-24 23:58:30 +02:00 |
Enno Rehling
|
11a264742b
|
appearance is something only items have, so move it to item_type
|
2014-06-29 17:35:37 -07:00 |
Enno Rehling
|
5d32896407
|
rt_register is no longer required, new_resourcetype replaced by rt_get_or_create.
|
2014-06-29 17:02:45 -07:00 |
Enno Rehling
|
95929a99b5
|
we are about to remove rt_register, but not quite yet.
|
2014-06-29 16:46:42 -07:00 |
Enno Rehling
|
12e15978b8
|
read weight, capacity and flags of items
|
2014-06-25 08:00:09 -07:00 |
Enno Rehling
|
92f43a7b51
|
eliminate it_find calls, replace it_find with something backed by rt_find
|
2014-06-24 22:44:05 -07:00 |
Enno Rehling
|
dc8a8cdd71
|
rt_find -> get_resourcetype optimization
|
2014-06-24 08:19:11 -07:00 |
Enno Rehling
|
d581737744
|
optimization: caching resource types in get_resourcetype.
eliminate some it_find calls.
eliminate static variables, they make testing hard.
|
2014-06-24 07:42:45 -07:00 |
Enno Rehling
|
77ee0b7af7
|
remote the item_t enum for good
|
2014-06-23 19:17:13 -07:00 |
Enno Rehling
|
73da14e305
|
getting rid of the olditemtypes[] array
reduce use of statics
reduce use of item_t enum
|
2014-06-23 07:28:10 -07:00 |
Enno Rehling
|
2c831230a0
|
Added a test for expensive skills.
When resetting the game rules, make sure basic resources (money, hp, person) are initialized.
|
2014-06-22 07:55:14 -07:00 |
Enno Rehling
|
bff25f3c51
|
move skill_t into a separate file, give it unit tests.
name functions the same as we did for keyword/direction earlier.
to do: json configuration and lua test.
|
2014-06-20 23:59:04 -07:00 |
Enno Rehling
|
03c247c788
|
I am killing the core/ directory.
Lots of files are moving to a new location in src/
Some intersting CMake changes.
|
2014-02-18 05:45:00 +01:00 |