nhmall
3969eb2af1
Merge branch 'master' into win32-x64-working
...
Conflicts:
src/mon.c
Changes to be committed:
modified: DEVEL/Developer.txt
modified: dat/endgame.des
modified: include/patchlevel.h
modified: include/you.h
modified: src/mon.c
modified: src/sounds.c
modified: src/spell.c
modified: src/vault.c
modified: win/share/tiletext.c
2015-04-21 06:39:52 -04:00
Alex Kompel
1e06a7c675
win32_gui: remove macros and functions that are unsupported by gcc
2015-04-19 16:34:22 -07:00
Alex Kompel
dc06a5dd90
win32_gui: fix some text window oddities like selecting text on focus
2015-04-19 16:32:31 -07:00
nhmall
09920871f2
invalid escape
...
Changes to be committed:
modified: win/share/tiletext.c
2015-04-19 18:56:49 -04:00
nhmall
4f86d74592
Merge branch 'master' into win32-x64-working
2015-04-19 17:18:43 -04:00
nhmall
0827c0df9d
Update the tile RGB values and mappings
...
Changes to be committed:
modified: win/share/monsters.txt
modified: win/share/objects.txt
modified: win/share/other.txt
modified: win/share/tile2bmp.c
modified: win/share/tiletext.c
2015-04-19 17:17:03 -04:00
nhmall
59afa8f570
Merge branch 'master' into win32-x64-working
2015-04-19 13:47:09 -04:00
nhmall
56c4475c20
extend the tty statue patch to tiles
...
Changes to be committed:
modified: doc/fixes35.0
modified: win/share/gifread.c
modified: win/share/monsters.txt
modified: win/share/objects.txt
modified: win/share/other.txt
modified: win/share/tile2bmp.c
modified: win/share/tilemap.c
The tty code already had the statue patch included, where
statues are represented by stone versions similar in
appearance to their monster likeness.
This extends it to tiles.
A new pass through the monsters.txt file is done
in tile2bmp to include new modified tiles to the output
file that are gray-scaled versions for mapping to the
NetHack statue glyphs.
2015-04-19 13:31:59 -04:00
Alex Kompel
09d64059cb
win32_gui: implement STATUS_VIA_WINDOWPORT and STATUS_HILITES
2015-04-17 22:14:04 -07:00
Dion Nicolaas
eb9f7b3177
typo in comment
2015-04-16 22:40:22 +02:00
Dion Nicolaas
0c4573d82a
fix tile2bmp build under mingw. Provide alternatives for Microsoft-specific macros. Be consistent about slashes in gcc Makefile. Don't include shlwapi.h for any compiler.
2015-04-16 22:36:06 +02:00
Alex Kompel
c8679c8e0e
win32_gui: encode copy-to-clipboard and save-to-file text in UTF-8
2015-04-15 22:13:10 -07:00
Derek S. Ray
7c644c1507
Merge branch 'win32-x64-working' of https://rodney.nethack.org:20040/git/NHsource into win32-x64-working
...
* 'win32-x64-working' of https://rodney.nethack.org:20040/git/NHsource : (27 commits)
Makefile bit
gcc Makefile updates for recent file additions
...
Conflicts:
src/files.c
2015-04-15 18:30:13 -04:00
Derek S. Ray
df52ba17ec
add debugger window support via _RPT*; add regex
...
currently it's locked behind _MSC_VER, but anything that runs on Win32
should be able to use those functions as long as it has something that
can pass as a debug window.
also, add a non-wildcard-accepting version of showdebug for the dumpit()
functions in dungeon.c and questpgr.c; this makes DEBUGFILES=* workable
without being excruciatingly painful
2015-04-15 18:19:16 -04:00
nhmall
3d3ee78a0b
Merge branch 'master' into win32-x64-working
...
Conflicts:
src/files.c
src/potion.c
sys/winnt/Makefile.msc
Changes to be committed:
modified: .gitignore
modified: DEVEL/hooksdir/nhsub
modified: dat/.gitignore
modified: dat/opthelp
modified: doc/Guidebook.mn
modified: doc/Guidebook.tex
modified: doc/fixes35.0
modified: include/context.h
modified: include/decl.h
modified: include/extern.h
modified: include/flag.h
modified: include/hack.h
modified: include/patchlevel.h
modified: src/apply.c
modified: src/attrib.c
modified: src/decl.c
modified: src/do.c
modified: src/do_name.c
modified: src/dothrow.c
modified: src/eat.c
modified: src/files.c
modified: src/hack.c
modified: src/invent.c
modified: src/lock.c
modified: src/mklev.c
modified: src/mondata.c
modified: src/monmove.c
modified: src/music.c
modified: src/options.c
modified: src/potion.c
modified: src/pray.c
modified: src/sit.c
modified: src/sp_lev.c
modified: src/uhitm.c
modified: sys/share/posixregex.c
modified: sys/winnt/Makefile.msc
modified: util/.gitignore
modified: win/win32/vs2010/NetHackW.vcxproj
2015-04-14 18:23:48 -04:00
Alex Kompel
116a4147a7
win32_gui: follow-up bit on x64 patch (premature optimization)
2015-04-14 09:33:05 -07:00
Alex Kompel
62617092b5
win32_gui: gettting x64 build to work
2015-04-14 08:54:44 -07:00
Alex Kompel
3c6f01f022
win32_gui: couple of perm_invent tweaks
2015-04-13 23:47:42 -07:00
Alex Kompel
7eefb8a250
win32_gui: use AdjustWindowRect to get more accurate measurement of status window
2015-04-13 23:29:02 -07:00
Alex Kompel
16ffab2c3c
win32-gui: use showdebug() to control nhtrace logging
2015-04-13 23:19:52 -07:00
Alex Kompel
261c128b84
win32-gui: fix menu item measuring bug (ever-increasing item height on window resize)
2015-04-12 17:47:42 -07:00
nhmall
ed783b9940
yet more integration bits (thanks to my typo)
2015-04-12 16:48:06 -04:00
nhmall
636da9887b
more regex integration bits
2015-04-12 13:27:36 -04:00
nhmall
7e781d4013
Merge branch 'master' into win32-x64-working
...
Conflicts:
include/config.h
src/options.c
2015-04-12 11:58:14 -04:00
Derek S. Ray
38861c1e0d
add cppregex.cpp to NetHackW so it'll link properly
2015-04-12 11:46:56 -04:00
nhmall
5905a17242
visual studio mods for tribute, sysconf
...
Changes to be committed:
modified: win/win32/mhmenu.h
modified: win/win32/vs2013/NetHack.vcxproj
modified: win/win32/vs2013/NetHackW.vcxproj
modified: win/win32/vs2013/dlb_main.vcxproj
2015-04-12 10:58:13 -04:00
nhmall
83a7513c13
Merge branch 'master' into win32-x64-working
...
Conflicts:
src/do_name.c
src/trap.c
src/zap.c
win/X11/winmenu.c
2015-04-12 10:35:00 -04:00
nhmall
7da3ed32e1
tribute post-merge smoothing
...
Changes to be committed:
modified: src/mon.c
modified: win/share/objects.txt
2015-04-12 10:31:26 -04:00
nhmall
11560933cc
Merge branch 'master' into nhmall-booktribute
...
Conflicts:
doc/fixes35.0
include/extern.h
src/mkobj.c
src/mon.c
src/objnam.c
win/share/objects.txt
2015-04-12 10:02:17 -04:00
PatR
8b9ce73c31
revised menu searching
...
Convert search in tty menus from pmatch to case-insensitive pmatchi;
convert search in X11 menus from substring strstri to wildcard pmatchi.
tty bug: if the menu is full screen, the search prompt and subsequent
user input clobbers the menu header.
2015-04-12 01:48:01 -07:00
nhmall
2cfa05cde1
Merge branch 'master' into win32-x64-working
...
Conflicts:
include/config.h
include/extern.h
src/do.c
src/files.c
src/hack.c
src/mkobj.c
src/mon.c
src/objnam.c
src/vision.c
sys/share/pcmain.c
win/share/other.txt
win/share/renumtiles.pl
2015-04-12 00:15:40 -04:00
Derek S. Ray
f448dfbbd6
add YY_NO_UNISTD_H into the levcomp projects
2015-04-10 23:52:15 -04:00
Derek S. Ray
cdb1c264d9
fix misnumbered tiles in other.txt
...
update version of renumtiles to work on all files
2015-04-10 23:46:05 -04:00
Derek S. Ray
32619fa8cc
Merge branch 'master' into derek-farming
...
Reverse merge before final reintegration.
* master: (40 commits)
Fix magic mapped dark room symbols
Disclose extinct species alongside genocided ones
...
Conflicts:
doc/fixes35.0
src/do.c
src/files.c
src/invent.c
src/objnam.c
sys/share/pcmain.c
2015-04-10 16:56:30 -04:00
nhmall
7e098c0c4e
Merge branch 'master' into nhmall-booktribute
2015-04-10 12:15:14 -04:00
Pasi Kallinen
3979e012f7
Renumber other.txt tiles
2015-04-07 21:34:57 +03:00
Pasi Kallinen
c967dabc0b
Clive Crous' Dark Room patch
...
This patch adds a new glyph that represents dark parts of room,
splitting the dual functionality of the "unexplored/dark area" glyph.
2015-04-07 21:01:21 +03:00
Pasi Kallinen
1c2f2af357
Indicator glyph for good target positions
...
Add a new glyph, S_goodpos, to indicate valid locations
instead of reusing the camera flash beam glyph.
2015-04-07 18:18:54 +03:00
PatR
f5b71c5b8f
tty fix for bad curs positioning (-1,n)
...
DEBUGFILES set to "wintty.c" reported a bad cursor positioning attempt
at the end of the RIP tombstone, and when set to "questpgr.c wintty.c"
reported a whole bunch right at the start of the game when enumerating
all the quest messages for the chosen role. Both were triggered by
this x==0 call to tty_curs() near the end of process_text_window().
if (i == cw->maxrow) {
if(cw->type == NHW_TEXT){
tty_curs(BASE_WINDOW, 0, (int)ttyDisplay->cury+1);
cl_eos();
}
...
The x value is always decremented in tty_curs, so passing in 0 yields
a bad value of -1. The bad call returns without doing anything, and
when DEBUG is disabled, it does so silently.
No fixes entry; it was caused by a post-3.4.3 fix for something else.
2015-04-07 01:23:16 -07:00
Derek S. Ray
61ffe9028d
re-fix wintty.c; disable warnings on sp_lev.c
...
don't ask me why wintty.c was actually compiling before.
also, make studio shut up about all the long-to-short stuff.
2015-04-06 18:56:30 -04:00
nhmall
06227ec0d3
Merge branch 'master' into nhmall-booktribute
2015-04-06 17:47:11 -04:00
Derek S. Ray
aac78fe62e
Fix up errors from mass manual conflict resolution
2015-04-06 17:18:48 -04:00
nhmall
4494b328f0
replace 3 files and add 1 prototype
...
Changes to be committed:
modified: include/extern.h
modified: src/apply.c
modified: src/sys.c
modified: win/tty/wintty.c
The 3 files appeared to be missing sections. The erronoeous
versions have been emailed to the win32 team to determine
their fate.
Adds a missing prototype also.
2015-04-06 10:41:10 -04:00
Derek S. Ray
b4142b5894
Merge branch 'master' into win32-x64-working
...
* master: (354 commits)
Add missing protos
a warning bout lc_error
Add S_poisoncloud to Guidebooks
...
Conflicts:
.gitattributes
dat/.gitattributes
doc/.gitattributes
doc/Guidebook.mn
include/config.h
include/decl.h
include/extern.h
include/flag.h
include/hack.h
include/ntconf.h
include/sys.h
include/wceconf.h
src/apply.c
src/attrib.c
src/bones.c
src/botl.c
src/dbridge.c
src/dig.c
src/do.c
src/do_name.c
src/dog.c
src/dungeon.c
src/eat.c
src/end.c
src/files.c
src/fountain.c
src/hack.c
src/invent.c
src/light.c
src/makemon.c
src/mhitu.c
src/mklev.c
src/mkmaze.c
src/mkobj.c
src/mkroom.c
src/mon.c
src/objnam.c
src/options.c
src/pager.c
src/pickup.c
src/potion.c
src/pray.c
src/questpgr.c
src/read.c
src/restore.c
src/rnd.c
src/role.c
src/rumors.c
src/save.c
src/shk.c
src/sit.c
src/sp_lev.c
src/sys.c
src/teleport.c
src/trap.c
src/u_init.c
src/uhitm.c
src/wield.c
src/worn.c
src/zap.c
sys/amiga/.gitattributes
sys/mac/.gitattributes
sys/msdos/.gitattributes
sys/msdos/pctiles.c
sys/msdos/vidvga.c
sys/os2/.gitattributes
sys/share/.gitattributes
sys/share/pcmain.c
sys/unix/.gitattributes
sys/unix/hints/.gitattributes
sys/unix/sysconf
sys/unix/unixmain.c
sys/vms/.gitattributes
sys/wince/.gitattributes
sys/wince/mhstatus.c
sys/winnt/.gitattributes
sys/winnt/Makefile.msc
sys/winnt/nhsetup.bat
util/lev_comp.l
util/makedefs.c
win/X11/winmenu.c
win/X11/winstat.c
win/gnome/gnstatus.c
win/share/tilemap.c
win/tty/termcap.c
win/tty/topl.c
win/tty/wintty.c
2015-04-05 23:42:15 -04:00
Pasi Kallinen
71401a7db8
Add poison cloud glyph, fumaroles to fire plane.
...
When a gas cloud that deals damage is created, it uses
a poison cloud glyph instead of the cloud glyph.
(A bright green '#', or a bright-green recolor of the
cloud tile)
The plane of fire has random "stinking clouds", or
fumaroles, centered on lava pools.
Also make poison cloud glyph override lava, pool and
moat glyphs.
2015-04-05 12:31:55 +03:00
nhmall
c43e8f9d31
Merge branch 'master' into nhmall-booktribute
...
Conflicts:
include/context.h
2015-04-02 19:19:50 -04:00
Pasi Kallinen
c8e781c418
Add menucolors
...
-Add a boolean option menucolors to toggle menu color
-Add MENUCOLOR -config file option
TODO:
-Better support for win32
-Support more windowports
-Update Guidebook
-Allow changing menucolor lines in-game
2015-04-02 20:16:25 +03:00
Derek S. Ray
af5ed436b8
Merge branch 'master' into derek-farming
...
* master: (160 commits)
Add doors correctly
bug fixes for nhsub
Generate oracle monsters after subroom
Generate minetown guards after subrooms
...
Conflicts:
src/do.c
src/files.c
src/hack.c
src/mon.c
src/vision.c
2015-04-01 17:40:25 -04:00
Pasi Kallinen
323b8b4038
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp
...
Conflicts:
src/trap.c
sys/winnt/Makefile.msc
2015-04-01 16:09:53 +03:00
PatR
d3205d98d6
X11 menu hack for ':'
...
Same functionality as was recently implemented for tty. If a
character like ':' is an explicit menu selector and the player
types it, select that menu entry rather than treating it as a
search request. (Same for other menu commands like '>', but
offhand I can't think of anything besides container looting's
': - look inside' that uses any non-letter selectors other
than '$', which isn't used as a menu meta command.)
2015-04-01 02:47:04 -07:00