]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
6 years agoupdate physfs ignorecase
Bradley Bell [Sun, 11 Mar 2018 22:03:12 +0000 (15:03 -0700)]
update physfs ignorecase

6 years agoget correct case of moviepath
Bradley Bell [Sun, 11 Mar 2018 22:02:50 +0000 (15:02 -0700)]
get correct case of moviepath

6 years agokeep movies out of the hog namespace
Bradley Bell [Sun, 11 Mar 2018 21:22:20 +0000 (14:22 -0700)]
keep movies out of the hog namespace

better abstraction, bring back init_movie_lib() and open_movie_file(), and use the subdir "movies/"

6 years agoremove old empty folder
Bradley Bell [Sun, 11 Mar 2018 20:47:14 +0000 (13:47 -0700)]
remove old empty folder

6 years agoput back xcode header search paths
Bradley Bell [Sun, 11 Mar 2018 20:21:05 +0000 (13:21 -0700)]
put back xcode header search paths

6 years agoupdate physfsrwops
Bradley Bell [Sun, 11 Mar 2018 20:06:59 +0000 (13:06 -0700)]
update physfsrwops

6 years agomake array size constant
Bradley Bell [Tue, 6 Mar 2018 00:22:49 +0000 (16:22 -0800)]
make array size constant

6 years agovc project updates
Bradley Bell [Mon, 5 Mar 2018 23:18:20 +0000 (15:18 -0800)]
vc project updates

6 years agoPortability fixes and VS project updates
Bradley Bell [Mon, 5 Mar 2018 20:14:44 +0000 (12:14 -0800)]
Portability fixes and VS project updates

6 years agoadd some unused files to xcode project
Bradley Bell [Mon, 5 Mar 2018 03:53:32 +0000 (19:53 -0800)]
add some unused files to xcode project

6 years agoRename include/error.h to include/dxxerror.h
Kp [Sat, 7 Jul 2012 18:35:06 +0000 (18:35 +0000)]
Rename include/error.h to include/dxxerror.h

Avoid conflict with generic system header.

6 years agoAdded other SDL_(Un)LockAudio statements to protect the audio_mixcallback function
zicodxx [Sat, 15 Nov 2008 20:49:54 +0000 (20:49 +0000)]
Added other SDL_(Un)LockAudio statements to protect the audio_mixcallback function

making that hopefully stable on multicores; Resetting warn_func at quit_request so we do not accidently show any menu

6 years agomust be an old typo
Bradley Bell [Fri, 2 Mar 2018 21:25:21 +0000 (13:25 -0800)]
must be an old typo

6 years agofix warnings
Bradley Bell [Fri, 2 Mar 2018 20:46:29 +0000 (12:46 -0800)]
fix warnings

6 years agoupdate physfs for win32, statically link libgcc
Bradley Bell [Tue, 27 Feb 2018 02:20:39 +0000 (18:20 -0800)]
update physfs for win32, statically link libgcc

6 years agoAdd new (auto-upgraded) VS project files
Bradley Bell [Mon, 26 Feb 2018 22:47:38 +0000 (14:47 -0800)]
Add new (auto-upgraded) VS project files

6 years agotest for -Wno-address-of-packed-member
Bradley Bell [Wed, 21 Feb 2018 07:14:17 +0000 (23:14 -0800)]
test for -Wno-address-of-packed-member

6 years agodelete
Bradley Bell [Tue, 20 Feb 2018 11:29:05 +0000 (03:29 -0800)]
delete

6 years agofix warnings
Bradley Bell [Mon, 19 Feb 2018 01:24:47 +0000 (17:24 -0800)]
fix warnings

6 years agoexplicit cast to char
Bradley Bell [Tue, 20 Feb 2018 11:03:26 +0000 (03:03 -0800)]
explicit cast to char

6 years agomore prototype fixes
Bradley Bell [Tue, 20 Feb 2018 11:02:30 +0000 (03:02 -0800)]
more prototype fixes

6 years agodon't auto-update update homebrew
Bradley Bell [Tue, 20 Feb 2018 10:56:37 +0000 (02:56 -0800)]
don't auto-update update homebrew

6 years agouse old physfs
Bradley Bell [Tue, 20 Feb 2018 10:41:56 +0000 (02:41 -0800)]
use old physfs

6 years agomore prototype fixes
Bradley Bell [Tue, 20 Feb 2018 10:31:08 +0000 (02:31 -0800)]
more prototype fixes

6 years agono warn for using address of packed members
Bradley Bell [Tue, 20 Feb 2018 10:15:30 +0000 (02:15 -0800)]
no warn for using address of packed members

6 years agomake function declarations into prototypes
Bradley Bell [Tue, 20 Feb 2018 10:08:52 +0000 (02:08 -0800)]
make function declarations into prototypes

6 years agono warn for using address of packed members
Bradley Bell [Tue, 20 Feb 2018 10:08:22 +0000 (02:08 -0800)]
no warn for using address of packed members

6 years agoxcode update
Bradley Bell [Tue, 20 Feb 2018 09:01:40 +0000 (01:01 -0800)]
xcode update

6 years agouse memcpy instead of type-punning
Bradley Bell [Tue, 20 Feb 2018 08:35:24 +0000 (00:35 -0800)]
use memcpy instead of type-punning

6 years agotry multi-os build
Bradley Bell [Tue, 20 Feb 2018 07:02:21 +0000 (23:02 -0800)]
try multi-os build

6 years agosupport meta keys in editor
Bradley Bell [Mon, 19 Feb 2018 09:12:12 +0000 (01:12 -0800)]
support meta keys in editor

6 years agouse mouse_get_pos to keep mouse in window better
Bradley Bell [Mon, 19 Feb 2018 09:53:42 +0000 (01:53 -0800)]
use mouse_get_pos to keep mouse in window better

8 years agoadd xcworkspace
Bradley Bell [Mon, 25 Jan 2016 01:37:59 +0000 (17:37 -0800)]
add xcworkspace

8 years agoadd utils project
Bradley Bell [Mon, 25 Jan 2016 01:22:08 +0000 (17:22 -0800)]
add utils project

8 years agoexplicit casts
Bradley Bell [Mon, 28 Dec 2015 00:26:51 +0000 (16:26 -0800)]
explicit casts

8 years agouse macro for pointer arithmetic
Bradley Bell [Mon, 28 Dec 2015 00:23:29 +0000 (16:23 -0800)]
use macro for pointer arithmetic

8 years agouse macro for pointer arithmetic
Bradley Bell [Sun, 27 Dec 2015 23:59:06 +0000 (15:59 -0800)]
use macro for pointer arithmetic

8 years agoproperly save and restore console text color
Bradley Bell [Sun, 27 Dec 2015 20:36:18 +0000 (12:36 -0800)]
properly save and restore console text color

8 years agoclean up
Bradley Bell [Sun, 27 Dec 2015 07:56:23 +0000 (23:56 -0800)]
clean up

8 years agoproject updates
Bradley Bell [Thu, 24 Dec 2015 04:59:41 +0000 (20:59 -0800)]
project updates

8 years agouse generic SDL_config.h
Bradley Bell [Tue, 26 May 2015 05:09:54 +0000 (22:09 -0700)]
use generic SDL_config.h

8 years agoadd static physfs lib
Bradley Bell [Tue, 26 May 2015 04:55:53 +0000 (21:55 -0700)]
add static physfs lib

8 years agofix up autotools stuff
Bradley Bell [Sat, 23 May 2015 01:37:36 +0000 (18:37 -0700)]
fix up autotools stuff

9 years agounused
Bradley Bell [Wed, 20 May 2015 21:57:21 +0000 (14:57 -0700)]
unused

9 years agofix warnings
Bradley Bell [Tue, 19 May 2015 00:57:58 +0000 (17:57 -0700)]
fix warnings

9 years agoneeded for tolower()
Bradley Bell [Tue, 19 May 2015 00:49:27 +0000 (17:49 -0700)]
needed for tolower()

9 years agono-op if not NEWMENU_MOUSE
Bradley Bell [Tue, 19 May 2015 00:49:10 +0000 (17:49 -0700)]
no-op if not NEWMENU_MOUSE

9 years agomove i/o defines to cppflags
Bradley Bell [Sun, 17 May 2015 09:04:56 +0000 (02:04 -0700)]
move i/o defines to cppflags

9 years agoseparate editor out to new miner-* targets
Bradley Bell [Sun, 17 May 2015 08:51:28 +0000 (01:51 -0700)]
separate editor out to new miner-* targets

9 years agofactor joy out of mingw if
Bradley Bell [Sun, 17 May 2015 07:59:19 +0000 (00:59 -0700)]
factor joy out of mingw if

9 years agomerge winnet and linuxnet
Bradley Bell [Sun, 17 May 2015 00:39:32 +0000 (17:39 -0700)]
merge winnet and linuxnet

9 years agowin32 net fixes
Bradley Bell [Sat, 16 May 2015 23:48:58 +0000 (16:48 -0700)]
win32 net fixes

9 years agomerge win32 ipx_mcast4 and ipx_udp
Bradley Bell [Sat, 16 May 2015 21:37:04 +0000 (14:37 -0700)]
merge win32 ipx_mcast4 and ipx_udp

9 years agodon't disable network in mingw
Bradley Bell [Sat, 16 May 2015 20:52:13 +0000 (13:52 -0700)]
don't disable network in mingw

9 years agorefactor configure flags for travis
Bradley Bell [Tue, 5 May 2015 07:30:22 +0000 (00:30 -0700)]
refactor configure flags for travis

9 years agoRemove unused movie_table_secret
Kp [Sun, 22 Mar 2015 18:49:21 +0000 (18:49 +0000)]
Remove unused movie_table_secret

9 years agoRedefined lotsa variables, functions and parameters as const and/or static - patch...
zicodxx [Sun, 22 Jul 2012 23:17:54 +0000 (01:17 +0200)]
Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp

9 years agousing size_t when it comes to integer to pointer conversions
zicodxx [Thu, 14 Jun 2007 12:32:18 +0000 (12:32 +0000)]
using size_t when it comes to integer to pointer conversions

9 years agoadd i586 mingw build
Bradley Bell [Tue, 5 May 2015 02:28:38 +0000 (19:28 -0700)]
add i586 mingw build

9 years agowin32 includes no longer used
Bradley Bell [Tue, 5 May 2015 02:14:14 +0000 (19:14 -0700)]
win32 includes no longer used

9 years agomove mingw to arch/win64
Bradley Bell [Tue, 5 May 2015 02:12:09 +0000 (19:12 -0700)]
move mingw to arch/win64

9 years agoslim down the mingw prereqs
Bradley Bell [Tue, 5 May 2015 00:57:44 +0000 (17:57 -0700)]
slim down the mingw prereqs

9 years agono need for separate no-gl build
Bradley Bell [Tue, 5 May 2015 00:12:48 +0000 (17:12 -0700)]
no need for separate no-gl build

9 years agotweak mingw build helper
Bradley Bell [Tue, 5 May 2015 00:11:27 +0000 (17:11 -0700)]
tweak mingw build helper

9 years agotravis build for mingw
Bradley Bell [Sun, 3 May 2015 19:13:25 +0000 (12:13 -0700)]
travis build for mingw

9 years agoRename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox
Chris Taylor [Tue, 17 Apr 2012 08:11:42 +0000 (16:11 +0800)]
Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox

9 years agoguard network-only function
Bradley Bell [Mon, 4 May 2015 04:22:24 +0000 (21:22 -0700)]
guard network-only function

9 years agoadd mingw prereq libs to repo
Bradley Bell [Sun, 3 May 2015 19:03:36 +0000 (12:03 -0700)]
add mingw prereq libs to repo

9 years agomingw helper script
Bradley Bell [Sun, 3 May 2015 18:06:34 +0000 (11:06 -0700)]
mingw helper script

9 years agoignore .exe files
Bradley Bell [Sun, 3 May 2015 15:51:25 +0000 (08:51 -0700)]
ignore .exe files

9 years agouse correct type
Bradley Bell [Sun, 3 May 2015 11:01:57 +0000 (04:01 -0700)]
use correct type

9 years agoalways use gl runtime loading for windows (and only for windows)
Bradley Bell [Sun, 3 May 2015 10:59:00 +0000 (03:59 -0700)]
always use gl runtime loading for windows (and only for windows)

9 years agouse correct type
Bradley Bell [Sun, 3 May 2015 10:30:18 +0000 (03:30 -0700)]
use correct type

9 years agoremove misplaced quotes
Bradley Bell [Sun, 3 May 2015 10:28:54 +0000 (03:28 -0700)]
remove misplaced quotes

9 years agofixed more compiler warnings
zicodxx [Mon, 11 Jun 2007 15:54:09 +0000 (15:54 +0000)]
fixed more compiler warnings

9 years agomveplayer needs SDLMIXER_CFLAGS
Bradley Bell [Sun, 3 May 2015 08:14:57 +0000 (01:14 -0700)]
mveplayer needs SDLMIXER_CFLAGS

9 years agousing sdl for joystick in mingw now
Bradley Bell [Sun, 3 May 2015 08:09:38 +0000 (01:09 -0700)]
using sdl for joystick in mingw now

9 years agousing sdl_mixer for midi in mingw now
Bradley Bell [Sun, 3 May 2015 08:08:59 +0000 (01:08 -0700)]
using sdl_mixer for midi in mingw now

9 years agoput exe extension in proper places
Bradley Bell [Sun, 3 May 2015 08:05:41 +0000 (01:05 -0700)]
put exe extension in proper places

9 years agoguard network-only functions
Bradley Bell [Sun, 3 May 2015 08:04:04 +0000 (01:04 -0700)]
guard network-only functions

9 years agoinitialize vars to zero
Bradley Bell [Sun, 3 May 2015 02:37:10 +0000 (19:37 -0700)]
initialize vars to zero

9 years agofunction has no return value
Bradley Bell [Sun, 3 May 2015 02:35:55 +0000 (19:35 -0700)]
function has no return value

9 years agoremove extraneous paren
Bradley Bell [Sun, 3 May 2015 02:35:29 +0000 (19:35 -0700)]
remove extraneous paren

9 years agoinclude conf.h
Bradley Bell [Sun, 3 May 2015 02:29:27 +0000 (19:29 -0700)]
include conf.h

9 years agoMerge branch 'master' into entity
Bradley Bell [Sun, 3 May 2015 02:22:01 +0000 (19:22 -0700)]
Merge branch 'master' into entity

9 years agocheck return values of fread
Bradley Bell [Sat, 2 May 2015 05:37:33 +0000 (22:37 -0700)]
check return values of fread

Fixes:
utilities/hogcreate.c:66:11: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
utilities/hogextract.c:47:7: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
utilities/hogextract.c:51:8: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
utilities/hogextract.c:52:8: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
utilities/hogextract.c:67:11: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]
utilities/mvlcreate.c:87:9: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]

9 years agouse memcpy instead of type-punning
Bradley Bell [Sat, 2 May 2015 05:12:59 +0000 (22:12 -0700)]
use memcpy instead of type-punning

Fixes:
arch/linux/linuxnet.c:190:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
arch/linux/linuxnet.c:192:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
arch/linux/linuxnet.c:415:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
arch/linux/ipx_bsd.c:150:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
arch/linux/ipx_bsd.c:196:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

9 years agoDeleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patch...
zicodxx [Thu, 3 Jan 2013 15:15:36 +0000 (16:15 +0100)]
Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp

9 years agoFix string overflow check
Bradley Bell [Sat, 2 May 2015 02:43:29 +0000 (19:43 -0700)]
Fix string overflow check

Fixes:
    inlined from ‘key_cmd_bind’ at arch/sdl/key.c:441:10:
/usr/include/x86_64-linux-gnu/bits/string3.h:152:3: error: call to __builtin___strncat_chk might overflow destination buffer [-Werror]

9 years agoCheck each element of server instead of casting to int
Bradley Bell [Sat, 2 May 2015 02:29:21 +0000 (19:29 -0700)]
Check each element of server instead of casting to int

Fixes:
main/network.c:759:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
main/network.c:882:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
main/network.c:3278:4: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

9 years agoRemove unused function
Bradley Bell [Sat, 2 May 2015 02:16:45 +0000 (19:16 -0700)]
Remove unused function

Fixes:
In function ‘memcpy’,
    inlined from ‘multi_send_robot_controls’ at main/multi.c:4724:9:
/usr/include/x86_64-linux-gnu/bits/string3.h:52:3: error: call to __builtin___memcpy_chk will always overflow destination buffer [-Werror]

9 years agoFixed compiler warning related to generation of game_id for Coop Savegames
zico [Thu, 10 Feb 2011 17:56:33 +0000 (18:56 +0100)]
Fixed compiler warning related to generation of game_id for Coop Savegames

9 years agoClarify test against bit arithmetic.
Bradley Bell [Sat, 2 May 2015 01:47:47 +0000 (18:47 -0700)]
Clarify test against bit arithmetic.

Fixes: main/editor/medwall.c:1100:6: error: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Werror=parentheses]
9 years agoSuppress uninitialized warnings
Bradley Bell [Sat, 2 May 2015 01:45:31 +0000 (18:45 -0700)]
Suppress uninitialized warnings

Fixes:
main/gamesave.c:1583:3: error: ‘delta_light_offset’ may be used uninitialized in this function [-Werror=uninitialized]
main/gamesave.c:1582:3: error: ‘dl_indices_offset’ may be used uninitialized in this function [-Werror=uninitialized]
main/gamesave.c:1561:3: error: ‘num_delta_lights’ may be used uninitialized in this function [-Werror=uninitialized]

9 years agoInitialize bg
Bradley Bell [Sat, 2 May 2015 01:42:03 +0000 (18:42 -0700)]
Initialize bg

Fixes: main/newmenu.c:2550:18: error: ‘bg.background’ may be used uninitialized in this function [-Werror=uninitialized]
9 years agotake out invalid trigger flags
Bradley Bell [Sat, 2 May 2015 01:34:31 +0000 (18:34 -0700)]
take out invalid trigger flags

Fixes: main/editor/eswitch.c:414:5: error: overflow in implicit constant conversion [-Werror=overflow]
Fixes: main/editor/eswitch.c:418:5: error: overflow in implicit constant conversion [-Werror=overflow]
9 years agoremove redundant iff functions
Chris Taylor [Wed, 13 Feb 2008 11:46:49 +0000 (11:46 +0000)]
remove redundant iff functions

9 years agoClarify test against bit arithmetic.
Bradley Bell [Sat, 2 May 2015 00:53:49 +0000 (17:53 -0700)]
Clarify test against bit arithmetic.

Fixes: main/editor/eswitch.c:143:2: error: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Werror=parentheses]
9 years agono kill cmd in RELEASE (for now?)
Bradley Bell [Sat, 2 May 2015 00:52:10 +0000 (17:52 -0700)]
no kill cmd in RELEASE (for now?)

9 years agoinclude conf.h
Bradley Bell [Sat, 2 May 2015 00:48:49 +0000 (17:48 -0700)]
include conf.h

Fixes: ./include/physfsx.h:118:26: error: use of undeclared identifier 'SHAREPATH'