nhmall
322293993f
follow-up to remove some remnant wingem.h references
...
this should correct the broken mingw tty build
2021-01-31 13:44:15 -05:00
nhmall
1d94e65e45
finish mapglyph() removal
2021-01-02 09:22:53 -05:00
nhmall
d38a5fedd0
another vision table bit for gcc Makefile for Windows
2020-12-30 12:31:01 -05:00
nhmall
1c2c5dae1b
remove vision tables from Windows and msdos builds
2020-12-28 22:07:00 -05:00
Bart House
a7b47ff071
Modify mingw makefile to allow caller to specify LUA build parameters.
2020-12-15 02:20:11 -08:00
Bart House
b08b47749f
Revert "Switch mingw build to use submodules in default path."
...
This reverts commit e5fb08ae4e .
2020-12-15 01:57:18 -08:00
Bart House
be1432ad74
Revert "Working on getting WinGW building with Azure pipeline."
...
This reverts commit d88749e419 .
2020-12-15 01:55:53 -08:00
Bart House
bc7922908b
Revert "Make compiling the lua interpreter optional."
...
This reverts commit f89005efd7 .
2020-12-15 01:54:27 -08:00
Bart House
bad05e2fb4
Reverting recent changes that hard coded use of submodules.
2020-12-15 01:50:01 -08:00
Bart House
9db1aff070
Use LUASRC variable when generating nhlua.h.
2020-12-15 00:46:55 -08:00
Bart House
190f9dc488
Modify expectations of where LUA sources are located.
...
We want the build to assume the same basic layout as the lua repository.
The sources are immediately at the top of the repository and not in
a subdirectory called 'src'.
2020-12-14 09:56:59 -08:00
Bart House
f89005efd7
Make compiling the lua interpreter optional.
2020-12-14 00:24:05 -08:00
Bart House
d88749e419
Working on getting WinGW building with Azure pipeline.
...
Fix typo recently introduced. Allow LUATOP to be specified by pipeline.
2020-12-13 20:38:56 -08:00
Bart House
e5fb08ae4e
Switch mingw build to use submodules in default path.
2020-12-13 20:31:01 -08:00
nhmall
8c42d306f7
purge trampoli.h
2020-12-13 10:27:49 -05:00
nhmall
affb60dd97
support for build with current Lua version 5.4.2
...
This may require
make spotless
make fetch-lua
for some platforms.
2020-12-11 09:20:26 -05:00
nhmall
9ea45d7a1f
remove some trailing whitespace
2020-11-25 07:23:23 -05:00
nhmall
f965d187b8
support for build with current Lua version 5.4.1
...
This may require
make spotless
make fetch-lua
for some platforms.
2020-11-15 11:08:10 -05:00
nhmall
d86dd4bb1b
comment out what appears to be an obsolete bit in windows Makefile.gcc
2020-08-18 10:36:15 -04:00
nhmall
960f5d82b9
mirror recent make depends update in some other Makefiles
2020-08-18 10:26:24 -04:00
nhmall
a3bfb599ca
more Makefile maintenance for Windows, msdos
2020-07-18 10:31:34 -04:00
nhmall
aa69f6be04
mirror the recent make depends update in some other Makefiles
2020-07-18 09:53:30 -04:00
nhmall
c95fe8c32b
Merge branch 'NetHack-3.7' into header-order3.7
2020-07-07 20:10:25 -04:00
nhmall
b967f73b96
build with the current Lua version 5.4.0 by default if not overridden
2020-07-07 17:36:23 -04:00
nhmall
1443ceecc5
more patchlevel consolidation
2020-07-07 08:55:11 -04:00
nhmall
68638d7103
outdated move follow-up
2020-07-05 15:25:37 -04:00
nhmall
6c0d522b1a
relocate some more outdated code
2020-07-05 09:27:59 -04:00
nhmall
f365bdd254
some mingw bits to move its gui variation closer to building and running
2020-06-11 12:26:44 -04:00
nhmall
285fc69da0
Makefile updates for windows, msdos
...
The msdos Makefile changes are untested.
2020-05-10 12:11:17 -04:00
nhmall
044b55a8ba
sys/winnt/Makefile.gcc updates for new file (mingw)
2020-05-06 16:24:03 -04:00
nhmall
56b196772e
windows vs Makefile follow-up bit
2020-02-02 21:04:45 -05:00
nhmall
80a602d344
add recent file addition to windows visual studio project and Makefile
2020-02-02 20:59:41 -05:00
nhmall
e39ec5ce3e
rename new header file to fnamesiz.h
...
Changes to be committed:
renamed: include/filesize.h -> include/fnamesiz.h
2020-01-29 09:56:43 -05:00
nhmall
209fab138b
recover fix
...
recover had deviated somewhat from NetHack in its
file expectations:
1) A couple of 3.7 fields needed to be accommodated.
2) hard-coded file size values had deviated.
The file sizes are now in an added header file named "filesize.h",
which is included at the bottom of config.h.
There will likely be another commit to write the filename size ahead
of the file name so that the precise number of characters can be read,
but since that will break existing saves, it can go in along with another
save-breaking commit.
This commit doesn't not alter savefiles written by nethack so does not
require an editlevel bump. It does alter the read-in expectation in
recover to match the game and this get recover working again.
2020-01-29 09:15:55 -05:00
nhmall
bdb8edff11
attempt to get all 3.7.0 builds working in travis successfully
...
multiple flavours of unix including bionic and xenial
multiple Windows builds including visual studio and mingw
msdos cross-compile on unix
2019-12-21 14:22:24 -05:00
nhmall
480c3eb6e0
include/lev.h is an empty header file so just get rid of it
2019-12-14 17:18:48 -05:00
nhmall
f4720edfbf
include/qtext.h is an empty header so just get rid of it
2019-12-14 12:31:29 -05:00
Pasi Kallinen
7043e2134a
Lua NetHack obj bindings
2019-12-11 20:10:59 +02:00
nhmall
bc8c1f8f56
remove field-level savefile code
2019-12-08 07:27:01 -05:00
nhmall
c9d298ee6c
Windows mingw Makefile updates
2019-11-27 01:34:53 -05:00
nhmall
503b97960b
windows Makefile updates
2019-11-27 01:25:17 -05:00
nhmall
c6fab3aad8
windows and msdos Makefile support of the changes in this branch
2019-11-24 12:01:33 -05:00
nhmall
c9e7182f43
Merge branch 'NetHack-3.6'
2019-11-22 07:46:42 -05:00
nhmall
c8af8e23c1
slash vs backslash Makefile bit
2019-11-22 07:45:43 -05:00
nhmall
fa4552e09e
Merge branch 'NetHack-3.6'
2019-11-22 07:41:53 -05:00
nhmall
7af4797671
when decl.h changes, ensure windmain is rebuilt
2019-11-22 07:40:17 -05:00
nhmall
ec91626316
fix mingw Makefile.gcc for 3.7 and lua support
2019-11-12 12:42:42 -05:00
nhmall
fecf930ac0
Makefile updates
2019-11-06 19:47:37 -05:00
nhmall
bcb627100b
Merge branch 'paxed-lua-merged3' into paxed-lua-v2-merged
2019-11-06 12:56:21 -05:00
Pasi Kallinen
fd55d9118e
Use lua for special level files
...
Game is playable, and should compile on linux and Windows.
Assumes you have a lua 5.3 library available.
Removes level compiler and associated files.
Replaces special level des-files with lua scripts.
Exposes some NetHack internals to lua:
- des-table with commands to create special levels
- nh-table with NetHack core commands
- nhc-table with some constants
- u-table with some player-specific data (u-struct)
- selection userdata
Adds some rudimentary tests.
Adds new extended command #wizloadlua to run a specific script,
and #wizloaddes to run a specific level-creation script.
nhlib.lua is loaded for every lua script.
Download and untar lua:
mkdir lib
cd lib
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
Then make nethack normally.
2019-11-06 18:43:20 +02:00