30 Commits

Author SHA1 Message Date
Mark de Wever
88fd999523 marked some functions for inlining 2007-02-09 18:09:19 +00:00
Mark de Wever
683341e426 Fixed the cavegen to work properly with the new terrain system. 2007-01-17 17:50:25 +00:00
Mark de Wever
c347e9790b Added some typedefs for the terrain_translations and shorted the names a little.
Added some extra comment to terrain_translation.hpp.

Applied these changes to all users and did some whitespace enhancement.

Various minor code cleanups while busy.
2006-12-03 11:48:45 +00:00
Mark de Wever
f53d73e1dc Made the format of a terrain no longer optional...
...so all readers know what kind of terrain string they should
read. Some readers still use the read map format as value, but that's
by design.
2006-11-30 18:04:34 +00:00
Mark de Wever
d88d1d4ae4 Changed terrain translation from a class to a namespace
no real reason for a class in the new system
fixed all callers 
added some comment and cleanup unused code
2006-11-15 18:25:24 +00:00
Mark de Wever
258c5ce03f fixed the cavegenerator to work again. 2006-11-08 19:59:11 +00:00
Mark de Wever
7ad017f6f3 A big merge with the local changes so far.
Removed most of the terrain char assumptions but not ready yet. Also a
lot of bugs are left.
2006-10-10 18:52:47 +00:00
Rusty Russell
61003c69dd Remove all unused warnings, and remove unused function parameters 2006-05-06 15:21:53 +00:00
Dominic Bolin
af1d7ba478 use any of 'yes','on','true' for boolean strings 2006-04-27 20:25:04 +00:00
Dominic Bolin
807f6f7d75 All modified source code for the rewrite. 2006-03-20 22:37:59 +00:00
Jon Daniel
e1096a0e0c fix alot of warnings 2006-01-15 13:03:14 +00:00
Bruno Wolff III
e4beea352c Change sprintf calls to snprintf in trunk. 2005-11-12 20:25:12 +00:00
András Salamon
cc1b0aecf0 add copyright notices (please change as appropriate), and deDOSify 2005-07-20 08:22:37 +00:00
András Salamon
8bd9bc98a5 ran codeclean against files 2005-06-04 19:16:06 +00:00
Guillaume Melquiond
d501297a65 Switch to the new logging macro. 2005-03-26 17:10:32 +00:00
Yann Dirson
0280430392 indent 2005-03-09 20:39:20 +00:00
Guillaume Melquiond
fa1f3f6444 Remove the template code from animated.hpp and put it into animated.cpp.
This code was indirectly included in at least 25 files: the 25 files
for which a dependency on string_utils.hpp has been added by a
consequence of its removal from animated.hpp. It should induce a small
compile time improvement.
2005-02-21 09:05:51 +00:00
Guillaume Melquiond
2ab05941b5 Completely remove string functions from config.cpp. 2005-02-20 21:45:22 +00:00
Guillaume Melquiond
911480ef4d Yay, another bug... "width" is not the size of the map!
And put an assert along the way.
2005-01-27 22:38:05 +00:00
Dave White
cce576c309 added Redsun's pathfinding patch 2005-01-21 20:07:30 +00:00
Isaac Clerencia Perez
a1214b626d Added wassert(), a assert()-like function forcing a crash.
Replaced every assert() with wassert()
2004-12-31 21:01:38 +00:00
Guillaume Melquiond
ca9195dac8 Remove A* from the header and put it into a single object file.
It reduces compile time, and it could speed up the AI.
2004-12-05 22:14:29 +00:00
Dave White
c661b3043a reduced warnings to 0 on VC++ 2004-11-18 04:08:33 +00:00
Guillaume Melquiond
b353486bd9 Switched to new logging system 2004-10-05 21:28:12 +00:00
Philippe Plantier
7c45cc7649 Commiting new graphics tilesets:
* Cave walls
* Dwarven castles
* Cave floors

Updated scenarios to use dwarven castles in caves. Scenario designers,
please review my changes!
2004-08-15 13:07:14 +00:00
Dave White
8997cfc402 rebalanced various scenarios; fixed bug with roles not working properly 2004-06-26 20:57:49 +00:00
Isaac Clerencia Perez
c5e39392b1 Added end of line to all files to avoid warnings when compiling ... 2004-04-05 22:14:17 +00:00
Dave White
0744913000 added basic random map for Scepter of Fire 2004-04-01 19:19:09 +00:00
Dave White
5fdda70d0a added Cockatrice unit 2004-03-23 22:01:23 +00:00
Dave White
a29e9379c6 added files forgotten in last commit 2004-03-21 19:33:35 +00:00