summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Migrate z-rand.c to C++Bardur Arantsson2015-12-11
| | | | | - Include explicitly instead of via angband.h - Change to regular functions instead of macros.
* Remove redundant parameter from Term_load_from()Bardur Arantsson2015-12-11
|
* Remove ANGBAND_GRAFBardur Arantsson2015-12-11
|
* Remove ANGBAND_KEYBOARDBardur Arantsson2015-12-11
|
* Remove an instance of hardcoded terminal countBardur Arantsson2015-12-11
|
* Remove one-use my_fputs()Bardur Arantsson2015-12-11
|
* Move print_book() to cmd5.cc and make it staticBardur Arantsson2015-12-11
|
* Remove redundant assignments to "where" in browse_school_spell()Bardur Arantsson2015-12-11
|
* Update .gitignore for 'src'Bardur Arantsson2015-12-11
| | | | | - We no longer need to ignore w_*. - Ignore *.plist from cmake with MAKE_EXPORT_COMPILE_COMMANDS=ON
* Remove effectively dead code for "pattern walking"Bardur Arantsson2015-12-11
|
* Refactor race_info_idx() to avoid "invisible" static pointersBardur Arantsson2015-12-11
|
* De-duplicate detect_objects_* functionsBardur Arantsson2015-12-11
|
* De-duplicate detect_monsters_* functionsBardur Arantsson2015-12-11
|
* Allocate p_ptr dynamicallyBardur Arantsson2015-12-11
| | | | | | While this technically introduces one-time memory leak, it also lets us avoid the Static Initialization Fiasco problem if we change player_type to a non-POD.
* Remove Alchemist class and associated skills/codeBardur Arantsson2015-12-11
| | | | | | Alchemy has always been ridiculously broken and there's been a huge amount of horrible code to support it. Sorry to any fans of Alchemy, but it's got to go.
* Fix clang warning; don't explicitly moveBardur Arantsson2015-10-31
|
* Fix undefined behavior in wizard modeBardur Arantsson2015-10-31
|
* Merge branch 'cpp'Bardur Arantsson2015-10-27
|\
| * Remove TR4_ANTIMAGIC_{30,20,10} flagsBardur Arantsson2015-09-14
| | | | | | | | | | They're only used for the Antimagic realm of leveling items and we might as well use ANTIMAGIC_50 there, given the rarity of the flag.
| * Remove alchemist_has_stone()Bardur Arantsson2015-09-14
| | | | | | | | | | There's no such item in the game any more, and the game was checking for 'Balefire'... which is definitely not right.
| * Replace hack_apply_magic_power with optional parameterBardur Arantsson2015-09-14
| |
| * Use magik() instead of explicitly using rand_int()Bardur Arantsson2015-09-14
| |
| * Remove unused IM_MELEE flagBardur Arantsson2015-09-14
| |
| * Fix undefined behavior in dungeon generation codeBardur Arantsson2015-09-14
| | | | | | | | | | | | | | I'm not 100% sure that this is the correct fix, but I've tested quite a bit with this new code and haven't observed any effects on the actual dungeon generation -- aside from not producing UB warnings from the sanitizer.
| * Fix a few warningsBardur Arantsson2015-09-14
| |
| * Refactor cave_type and monster_type to use non-intrusive listsBardur Arantsson2015-08-01
| | | | | | | | | | We use vectors of object indexes instead of embedding the list within object_type itself.
| * Remove dead Portable Hole codeBardur Arantsson2015-06-11
| |
| * Remove dead code in player_activate_trap_type()Bardur Arantsson2015-06-11
| |
| * Remove RLE from do_grid()Bardur Arantsson2015-06-09
| | | | | | | | This costs us some space, but simplifies load/save code hugely.
| * Fix missing "std::" qualified in make_array()Bardur Arantsson2015-06-09
| |
| * Clean up do_store()Bardur Arantsson2015-06-09
| |
| * Fix typo in message in do_cmd_rune_add_mem()Bardur Arantsson2015-06-09
| |
| * Use compile-to-library trick to reduce compilation timeBardur Arantsson2015-06-08
| | | | | | | | | | | | | | | | | | Before we would be compiling most of the game engine code twice because of the test harness. In my totally non-rigorous benchmark this reduced the compilation time rather drastically from ~162s to ~96s. (Using a single CPU for compilation.)
| * Remove '*' portion of prompt for pet commandBardur Arantsson2015-06-08
| |
| * Fix GCC compiler warnings for effectively dead codeBardur Arantsson2015-06-07
| |
| * Add missing includes for new Boost versionBardur Arantsson2015-06-07
| |
| * Fix NPE in recall_reset_aux()Bardur Arantsson2015-06-07
| | | | | | | | | | Also use iequals() instead of manually transforming strings using strlower() and strstr().
| * Split types.h into separate header for each typeBardur Arantsson2015-06-07
| |
| * Use object_wipe for clearing object in object_prep()Bardur Arantsson2015-06-07
| | | | | | | | | | Also add a static_assert guard to make sure we're using a POD.
| * Add missing "static" to is_state_aux/kind_is_themeBardur Arantsson2015-06-07
| |
| * Remove dead function move_to_black_market()Bardur Arantsson2015-06-07
| |
| * Reduce scope of buffer for data parsing functionsBardur Arantsson2015-06-07
| |
| * Remove unused "include" handling for data filesBardur Arantsson2015-06-07
| |
| * Remove expand_{list,look} options; behave as if always setBardur Arantsson2015-06-07
| |
| * Remove prompt_pickup_heavy option; behave as if always setBardur Arantsson2015-06-07
| |
| * Remove redundant code in init2.ccBardur Arantsson2015-06-07
| | | | | | | | A little template use can go a long way.
| * Use a single line per file in source listsBardur Arantsson2015-06-07
| |
| * Rework object list filters to avoid global variablesBardur Arantsson2015-04-15
| |
| * Fix bug in calculation of quantity range when buying itemsBardur Arantsson2015-04-14
| | | | | | | | | | | | | | | | The quantity range would be calculated such as if the price were 110% of the actual price, and so the player might be refused purchase of, say, an it cost 100 and the player had less than 110 gold. (It *would* have subtracted the correct amount, but the player was just refused.)
| * Add "asleep" note to monster description for (l)ook commandBardur Arantsson2015-04-14
| |