]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
2 years agouse the orientation parameter of g3_draw_bitmap main github/main
Bradley Bell [Sat, 31 Mar 2018 08:21:52 +0000 (01:21 -0700)]
use the orientation parameter of g3_draw_bitmap

This doesn't actually have any effect.

The one place that calls this, draw_object_blob(), was written to give
some randomness to explosions by altering their orientation, but for
some reason this was disabled before release. We could re-enable it
there if desired.

2 years agoignore case in level filename
Bradley Bell [Sun, 18 Jul 2021 03:33:51 +0000 (20:33 -0700)]
ignore case in level filename

2 years agoreading 4 bytes here
Bradley Bell [Sun, 18 Jul 2021 01:33:53 +0000 (18:33 -0700)]
reading 4 bytes here

2 years agosimplify libmve timer functions
Bradley Bell [Thu, 15 Mar 2018 20:38:31 +0000 (13:38 -0700)]
simplify libmve timer functions

2 years agocorrect character delays
Bradley Bell [Wed, 14 Mar 2018 23:05:08 +0000 (16:05 -0700)]
correct character delays

2 years agomake sure buffered robot movie only plays 15fps
Bradley Bell [Wed, 14 Mar 2018 22:14:48 +0000 (15:14 -0700)]
make sure buffered robot movie only plays 15fps

2 years agoDon't grab mouse in demo playback
Bradley Bell [Wed, 14 Mar 2018 21:10:10 +0000 (14:10 -0700)]
Don't grab mouse in demo playback

2 years agoEnable the mouse OK button on the new game menu
Bradley Bell [Wed, 14 Mar 2018 20:45:12 +0000 (13:45 -0700)]
Enable the mouse OK button on the new game menu

2 years agoMerge pull request #4 from btb/macos
Bradley Bell [Sat, 17 Jul 2021 08:22:22 +0000 (01:22 -0700)]
Merge pull request #4 from btb/macos

build on macos

2 years agoMerge branch 'main' into macos
Bradley Bell [Sat, 17 Jul 2021 08:11:14 +0000 (01:11 -0700)]
Merge branch 'main' into macos

2 years agoMerge pull request #5 from btb/dist
Bradley Bell [Sat, 17 Jul 2021 08:09:36 +0000 (01:09 -0700)]
Merge pull request #5 from btb/dist

Use generated autotools

2 years agorename
Bradley Bell [Sat, 17 Jul 2021 08:03:39 +0000 (01:03 -0700)]
rename

2 years agoadd compile
Bradley Bell [Sat, 17 Jul 2021 08:01:18 +0000 (01:01 -0700)]
add compile

2 years agono autogen
Bradley Bell [Sat, 17 Jul 2021 07:59:25 +0000 (00:59 -0700)]
no autogen

2 years agoadd standard dist to repo
Bradley Bell [Sat, 17 Jul 2021 07:58:46 +0000 (00:58 -0700)]
add standard dist to repo

2 years agofix
Bradley Bell [Sat, 17 Jul 2021 07:47:33 +0000 (00:47 -0700)]
fix

2 years agobuild on macos
Bradley Bell [Sat, 17 Jul 2021 07:43:04 +0000 (00:43 -0700)]
build on macos

2 years agoadd options matrix
Bradley Bell [Sat, 17 Jul 2021 06:45:42 +0000 (23:45 -0700)]
add options matrix

2 years agoMerge pull request #2 from btb/github-workflow-1
Bradley Bell [Sat, 17 Jul 2021 05:52:51 +0000 (22:52 -0700)]
Merge pull request #2 from btb/github-workflow-1

build with github workflow

2 years agofix buffer overflow guard
Bradley Bell [Sat, 17 Jul 2021 05:45:31 +0000 (22:45 -0700)]
fix buffer overflow guard

2 years agoinclude physfs cflags
Bradley Bell [Sat, 17 Jul 2021 05:40:40 +0000 (22:40 -0700)]
include physfs cflags

2 years agoadd more files to dist
Bradley Bell [Sat, 17 Jul 2021 02:37:27 +0000 (19:37 -0700)]
add more files to dist

2 years agoadd include/ to dist
Bradley Bell [Sat, 17 Jul 2021 01:58:11 +0000 (18:58 -0700)]
add include/ to dist

2 years agodon't use overlapping args in s[n]printf
Bradley Bell [Fri, 16 Jul 2021 09:28:22 +0000 (02:28 -0700)]
don't use overlapping args in s[n]printf

2 years agolimit size of formatted strings
Bradley Bell [Fri, 16 Jul 2021 21:12:06 +0000 (14:12 -0700)]
limit size of formatted strings

2 years agofix misleading indentation, add explicit braces, etc
Bradley Bell [Fri, 16 Jul 2021 20:28:07 +0000 (13:28 -0700)]
fix misleading indentation, add explicit braces, etc

2 years agoSkip adjusting damage in cases where it will not be used.
Kp [Thu, 25 Aug 2016 23:31:37 +0000 (23:31 +0000)]
Skip adjusting damage in cases where it will not be used.

Fix obvious copy&paste error from Parallax.

    if (condition)
        statement; statement; statement;

is parsed as:

    if (condition)
    {
        statement;
    }
    statement;
    statement;

In context, all three statements were supposed to be guarded by the
condition.  Add braces accordingly.

2 years agoobsolete flag
Bradley Bell [Fri, 16 Jul 2021 19:59:01 +0000 (12:59 -0700)]
obsolete flag

2 years agoadd -Wno-format-truncation
Bradley Bell [Fri, 16 Jul 2021 09:10:44 +0000 (02:10 -0700)]
add -Wno-format-truncation

2 years agouse correct size limit for strncat
Bradley Bell [Fri, 16 Jul 2021 07:15:22 +0000 (00:15 -0700)]
use correct size limit for strncat

2 years agoadd -Wno-stringop-truncation
Bradley Bell [Fri, 16 Jul 2021 08:44:31 +0000 (01:44 -0700)]
add -Wno-stringop-truncation

2 years agonew physfs uses pkg-config
Bradley Bell [Fri, 16 Jul 2021 04:15:57 +0000 (21:15 -0700)]
new physfs uses pkg-config

2 years agoUpdate c-cpp.yml
Bradley Bell [Fri, 16 Jul 2021 02:28:23 +0000 (19:28 -0700)]
Update c-cpp.yml

2 years agoUpdate c-cpp.yml
Bradley Bell [Fri, 16 Jul 2021 02:26:04 +0000 (19:26 -0700)]
Update c-cpp.yml

2 years agoCreate c-cpp.yml
Bradley Bell [Fri, 16 Jul 2021 02:20:01 +0000 (19:20 -0700)]
Create c-cpp.yml

2 years agosprintf to string of length 1 will always overflow
Bradley Bell [Thu, 15 Jul 2021 23:20:35 +0000 (16:20 -0700)]
sprintf to string of length 1 will always overflow

6 years agocvar.value -> cvar.fixval, for less confusion
Bradley Bell [Mon, 12 Mar 2018 09:51:41 +0000 (02:51 -0700)]
cvar.value -> cvar.fixval, for less confusion

6 years agosensitivity is a fix value now, multiply accordingly
Bradley Bell [Mon, 12 Mar 2018 09:43:54 +0000 (02:43 -0700)]
sensitivity is a fix value now, multiply accordingly

6 years agomake end of briefing loops smoother and more consistent
Bradley Bell [Mon, 12 Mar 2018 07:41:07 +0000 (00:41 -0700)]
make end of briefing loops smoother and more consistent

6 years agoget robot movie buffering working, for smoother briefing animation
Bradley Bell [Mon, 12 Mar 2018 05:42:42 +0000 (22:42 -0700)]
get robot movie buffering working, for smoother briefing animation

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

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

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

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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

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

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

8 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

8 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

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

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