Kp
|
d133a037b8
|
Remove unused 2d/scale.c
|
2013-03-09 20:29:20 +00:00 |
|
Kp
|
f6410413b2
|
Remove unused function pcx_get_dimensions
|
2013-03-10 22:49:57 +00:00 |
|
Kp
|
76296effd5
|
Remove unused file 2d/tmerge.c
|
2013-03-03 23:59:29 +00:00 |
|
Kp
|
a81afea7fe
|
Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
|
2012-07-07 18:35:06 +00:00 |
|
Kp
|
66cf62e359
|
Normalize whitespace in copyright header to match D1X-Rebirth
|
2013-02-24 02:40:43 +00:00 |
|
Kp
|
5d1e19423b
|
Remove DPMI support and BITMAP_SELECTOR
|
2013-02-23 22:54:28 +00:00 |
|
Kp
|
f12f4e6737
|
Remove RCS embedded string to synchronize code with D1X
|
2013-02-22 04:32:23 +00:00 |
|
Kp
|
7f5d61c3ed
|
Remove RCS comment to synchronize code with D1X
|
2013-02-22 04:32:14 +00:00 |
|
Kp
|
01cb338618
|
Normalize comments and whitespace to match D1X
|
2013-02-22 04:32:03 +00:00 |
|
zicodxx
|
1f569dc760
|
Moved pow2ize declaration to ogl_init.h - patch by Kp
|
2013-01-03 16:18:07 +01:00 |
|
zicodxx
|
f3cad7ce27
|
Move declaration of gr_rle_expand_scanline_generic() to rle.h - patch by Kp
|
2012-11-02 18:41:43 +01:00 |
|
zicodxx
|
dad55f1072
|
Include bitmap.h - patch by Kp
|
2012-11-02 18:37:54 +01:00 |
|
zicodxx
|
77b8100455
|
Fixed test for font magic number; Consolidated grs_font_read() - patches by Kp
|
2012-11-02 18:30:37 +01:00 |
|
zicodxx
|
7c5aaa29df
|
Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp
|
2012-07-23 01:17:54 +02:00 |
|
zicodxx
|
dbb5eeef35
|
Made inline functions static
|
2012-05-14 17:13:27 +02:00 |
|
zicodxx
|
6d3782996c
|
Fixed some non-critical compiler warnings; Now compiling with -std=c99 -pedantic and fixed warnings (except for editor build) caused by this
|
2012-05-14 12:20:30 +02:00 |
|
zicodxx
|
0011e44087
|
Fixed set but unused variables in OGL build
|
2012-04-15 16:15:21 +02:00 |
|
Chris Taylor
|
311f835bf8
|
Clicking on mine elements in the editor now works in ogl
|
2012-04-15 13:45:45 +08:00 |
|
Chris Taylor
|
785540dd7b
|
Fix unused variable warning in last commit
|
2012-04-09 20:52:25 +08:00 |
|
Chris Taylor
|
e7e034b7bd
|
Editor exits cleanly when clicking the close box, no more redundant gr_uscanline call in gl_urect for ogl (an initial attempt to fix the previous bug)
|
2012-04-09 20:41:47 +08:00 |
|
Chris Taylor
|
fba833f773
|
Fix all remaining known editor drawing issues. In ogl: get the texture previews to draw, get userbox borders to draw in the right location, properly underline characters in the menus, draw all the borders properly (i.e. no gap), no scaling fonts. Software render: draw userbox borders again. Both: clear the whole status bar, clear to the right edge of the screen.
|
2012-04-09 17:30:40 +08:00 |
|
zicodxx
|
d940dcb381
|
removed redundant definitions of FILENAME_LEN
|
2012-04-07 11:41:17 +02:00 |
|
Chris Taylor
|
2062876912
|
Make sure the ogl font code recognises the editor font is fixed width, fixing a crash; take the plunge and make D2X Rebirth compile with editor for Mac OpenGL build (won't work yet)
|
2012-03-31 11:47:38 +08:00 |
|
Chris Taylor
|
e60981310b
|
Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth
|
2012-03-30 20:36:35 +08:00 |
|
Chris Taylor
|
0c7e61de92
|
Update the canvas data pointers for all windows after changing the screen mode, so the main menu draws properly after leaving the editor
|
2012-03-24 14:43:45 +08:00 |
|
zicodxx
|
aa8286c1d6
|
Fixed set but unused variables
|
2011-09-27 01:31:19 +02:00 |
|
zicodxx
|
dd991fbf6b
|
Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
|
2011-06-01 09:59:55 +02:00 |
|
zicodxx
|
62a7386d2a
|
mipmapping was always on for fonts due to changed filtering code in ogl.c
|
2011-05-04 12:18:25 +02:00 |
|
zicodxx
|
c6bc3ff0c1
|
Fixes for RLE- and Texture-cache modifcations: Before freeing now must check if bitmap is already allocated
|
2011-04-22 17:10:33 +02:00 |
|
zicodxx
|
10aca9a9fe
|
Expanded possibilities for level authors: RLE- and Texture-cache accepts textures bigger than 64x64, only limit being Texture width must be equal height; Increased maximum amount of Segments from 900 to 9000 - not dynamically allocating them, yet
|
2011-04-22 10:33:04 +02:00 |
|
zicodxx
|
36c291d5d5
|
Fix for last revision: Correctly initialize cv_fade_level and cv_blend_func when creating initializing a canvas
|
2011-02-24 00:21:50 +01:00 |
|
zicodxx
|
c960d5505a
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:39 +01:00 |
|
zicodxx
|
e60a7e1bca
|
Additional commit for last revision - didn't selected all files properly
|
2011-01-19 21:52:01 +01:00 |
|
zicodxx
|
9f6cbc8c6c
|
Retired most of the Assembler code except the generic i386 scanline renderer; Removed all leftovers of Direct3D implementation; On the way make a some code more similar between D1X-Rebirth and D2X-Rebirth
|
2011-01-19 21:35:14 +01:00 |
|
zicodxx
|
025a6c3951
|
Added feature to enable Anisotropic filtering is supported by hardware or driver; Reworked way of handling texture filtering information so ingame switching is possible again
|
2011-01-16 01:50:42 +01:00 |
|
zicodxx
|
39e956e2bc
|
Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator and Guided Crosshair; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
|
2011-01-10 16:12:04 +01:00 |
|
zicodxx
|
099c8cf86f
|
Rewrote code to control Texture Filtering a little so it's easier to apply Mipmaps for different parts of the game independently; Made Movie Filtering a menu option which must be enabled seperately; Added Movie Subtitles toggle to misc game options
|
2010-09-02 13:55:28 +00:00 |
|
kreatordxx
|
1f6e72f781
|
Show stars background for died in mine and secret level messageboxes; equalise fuelcen.h and cntrlcen.h
|
2010-07-27 11:41:43 +00:00 |
|
zicodxx
|
d3a10e1516
|
For gr_get_string_size introduced get_char_width_f to calculate with floats to measure non-integer font scalings; Cleanup
|
2010-07-01 09:03:52 +00:00 |
|
zicodxx
|
221076a3f5
|
Introducing gr_bitblt_find_transparent_area to dynamically detect boundaries of sub cancas used for CM_REAR_VIEW; On the way also allowing to create weapon box sub bitmaps from uncompressed cockpit bitmaps
|
2010-06-18 07:31:06 +00:00 |
|
zicodxx
|
c72e86eeff
|
Renaming FSCALE to FIXSCALE preventing possible naming conflicts
|
2009-12-01 16:45:40 +00:00 |
|
zicodxx
|
f782692332
|
Making files in 2d directory more similar and removed unused and broken code; Fixing a bunch of memory errors; Removed stack protecting flag for gcc in debug mode
|
2009-11-30 22:42:55 +00:00 |
|
kreatordxx
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
kreatordxx
|
777f76aedf
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
1de53497b2
|
Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
|
2008-11-14 16:56:40 +00:00 |
|
zicodxx
|
beb2ab07ef
|
Scale fonts by float values and filter them if texture filtering is on; Another fix for the code flow in change_res() as the check for minimal custom resolution always failed
|
2008-10-29 11:03:31 +00:00 |
|
zicodxx
|
6dc900f51d
|
Giving credits function ability to use custom creditfile (again); Made laser-offset for laser exclusive so Prox mines won't go tru doors; Preventing cycling tru cockpit modes while dead, but allowing to load a state; Implemented D2X' lighting code to D1X (faster, better, sexier - weeee); Try to hop over some errors regarding walls/doors in levels instead of using -1 indexes for arrays; Made the briefing text ptr a bit more failsafe in case the file is corrupt/non-standard; Made scores use the menu screen even in GAME OVER; Fixed bug in neighbour fields of Weapon Keys table; Added the Weapon Keys stuff to TABLE_CREATION; Fixed bug where D2X did not recall applied resolution in the resolutions menu; Simpler check to create DEMO_DIR; Seperated X/Y sensitivity for mouse and joystick; Flush controls when Automap toggles so keypress won't deactivate it again; Made FrameCount in Demos aligned to the Dropframe condition; Added KEy to ttoggle playback text off; Gracefully exit demo code if demo is corrupt; Removed that new percent counter because many old demos seem to have corrupted last frames; Closing endlevel data file if IFF error so the mission still can be freed; Fixed Cruising for keyboard which was not aligned to FPS correctly; Used mouse delta scaling in kconfig.c instead of mouse.c to not screw up when delta is requested in non-ingame situations - it actually belongs to the controls IMHO; Now support up to 8 joysticks; Changed some leftover malloc's to d_malloc and free to d_free
|
2008-10-16 17:27:02 +00:00 |
|
zicodxx
|
44bbb66101
|
Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes
|
2008-04-06 20:23:28 +00:00 |
|
zicodxx
|
d2365d65f0
|
Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings
|
2008-03-20 23:23:46 +00:00 |
|
zicodxx
|
10f39559bf
|
Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup
|
2008-02-27 22:05:58 +00:00 |
|