You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3151 lines
130KB

  1. 2008-04-04 Various contributors
  2. + Solaris fixes
  3. + Replace vsprintf function in bg_lib.c with vsnprintf implementation started by Patrick Powell
  4. + Compile bg_* files separately for each game module, as originally intended
  5. + Write q3config_server.cfg for the server, to avoid reseting client variables
  6. after running a dedicated server
  7. + Split image decoders into their own files
  8. + OS X build updates for most compatibility
  9. + Slackbuild
  10. + Detect available resolutions and offer them in the in game menus
  11. + A few botlib fixes
  12. + Fix poppy captured audio when recording videos
  13. + Extend console logging on crash errors
  14. + Merge *BSD platform definitions in q_platform.h
  15. + IRIX support
  16. + Remove all the old bat/sh QVM building scripts
  17. + Make master server used client configurable (cl_master)
  18. + Fix to QVM compilation on big endian architectures
  19. + OpenBSD support
  20. + Autocomplete key names
  21. + Don't build client command completion on the dedicated server
  22. + Don't apply colour escape chars on input fields
  23. + Rewrite of the win32 dedicated console
  24. + Improved Makefile startup time
  25. + Build dedicated server binary on Windows
  26. + Bump Q3_VERSION to 1.35
  27. + Replacement of platform specific backends with a generic SDL one
  28. + Merge win_net.c and unix_net.c to net_ip.c
  29. + Demote input related console information to developer only so that it doesn't
  30. spam the console every time input settings are changed
  31. + PNG texture support
  32. + Cleanup of tabulation in R_LoadImage
  33. + Fixes to console scrolling
  34. + New x86_64 vm that doesn't use gas
  35. + Early out AABB collision optimisation
  36. + Generate QVM dependicies in a better way
  37. + Build process is quieter
  38. + Replace horrendously long list of Makefile build rules with set of inference rules
  39. + Allow CC to be overridden externally to the Makefile
  40. + Move storage of console history from a cvar to a file in order to alleviate
  41. security concerns
  42. + Fix bug where transparent surfaces wouldn't draw over skyboxes
  43. + Add input sanitising to various sound playing functions called from mods
  44. + Explicitly set OpenAL distance attenuation model
  45. + Increased the number of registers used for the opStack in the PPC vm from
  46. 12 to 16
  47. + Fix endian issue in MDR loading
  48. + Add cURL support for HTTP/FTP downloading
  49. + Disable video command when not playing back a demo
  50. + Print the SVN version string in Com_Init()
  51. + OpenAL device enumeration support
  52. + Fix 100% CPU usage on idle dedicated servers
  53. + Windows home directory support
  54. + Improve correctness of AVI files created by video command
  55. + Better SDL joystick support
  56. + sv_minRate
  57. + [cl|sv]_packetdelay
  58. + Various security fixes
  59. + Fix JIT compiler code execution on NX-protected win32 OS
  60. + Fix r_overBrightBits variable getting ignored on Linux
  61. + cl_guid for semi-reliable server authentication
  62. + Anisotropic texture filtering
  63. + Video export doesn't crap out with sv_pure 1 anymore
  64. + Video export doesn't crap out when writing > 2Gb files anymore
  65. + Fix to a bug where servers with long uptimes (~27 days) would consume 100%
  66. CPU if the running game did not set the nextmap cvar
  67. + Some OSes no longer requires a vid_restart when changing r_fullscreen
  68. 2006-01-24 Various contributors
  69. + Persistent console history
  70. + Added code to sleep a bit when q3 has no focus and sleep a lot when it's
  71. minimised (SDL only)
  72. + Cull excess speaker entities when using OpenAL
  73. + Fix the operation of the delete key in *nix
  74. + Only check the checksum on baseq3 pak0.pk3
  75. + Overhaul of console autocompletion
  76. - No longer does weird stuff like move the cursor inappropriately
  77. - Autocomplete works with compound commands
  78. - Special autocomplete on some commands e.g. \map, \demo
  79. - Removed various hacks used to counter the original autocomplete code
  80. + Fixed the ability to disable Ogg Vorbis
  81. + s/i686/i586/ - see bug #2578
  82. + Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this
  83. + Removed advertising clause from BSD license as per mailing list discussion
  84. + "make distclean" now does what you'd expect
  85. + "make clean toolsclean" now does what "make distclean" did before
  86. + GPL MD4 implementation
  87. 2006-01-16 Various contributors
  88. + Move code/unix/Makefile to ./Makefile
  89. + x86 OS X support
  90. + "quake3" shell script as shipped with 1.32 (on linux) no longer needed
  91. + Ogg codec support from Joerg Dietrich
  92. + Fix to the gcc4/-O0 x86 JIT compiler bug
  93. + Up the defaults for zone and hunk memory since some mods (UT) have large
  94. memory requirements that will have increased versus 1.32b due to some of the
  95. alignment fixes
  96. + Dependency generation for the .asm files
  97. + Remove FS_SetRestrictions
  98. + Add FS_CheckPak0 for better error messages where dumb users are involved
  99. + Added cl_autoRecordDemo, which when enabled automatically records a new demo
  100. on each map change
  101. + Only display the g_synchronousClients warning when it's appropriate
  102. + Remove custom memcpy/memset code
  103. + AVI video output
  104. - Uses motion jpeg codec by default
  105. - Use cl_aviFrameRate to set a framerate
  106. - \video [filename] to start capture
  107. - \stopvideo to stop capture
  108. - Audio capture is a bit ropey
  109. + General Makefile improvements
  110. + Support for MinGW cross compilation
  111. + NetBSD support from optical
  112. + x86_64 JIT bytecode compiler no longer disabled by default
  113. + msvc project files updated and moved to win32/msvc
  114. + Various alignment fixes
  115. + Solaris (x86 and sparc) support from Vincent S. Cojot
  116. + Fixed Altivec-based mesh rendering
  117. + Ditch Mac OS 9 support
  118. + Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
  119. headers if desired
  120. + Detection of Altivec on Mac OS X
  121. + SMP support with sdl_glimp.c on Mac OS X.
  122. + Add "very high quality" option (patch from Pascal de Bruijn)
  123. + Support for RIFF files with zero length data chunks (yes they exist, and yes,
  124. they're legal)
  125. + Support for ccache. If you want it, add USE_CCACHE=1 to Makefile.local
  126. + Mac OS X now uses SDL backend, all Objective C removed
  127. + Partial implementation of FS_Seek for files in pk3s
  128. + Implementation of r_dlightBacks from Shane Isley
  129. + OpenAL support, from BlackAura aka Stuart Dalton
  130. + An abstract codec system, simplifying support for new formats
  131. + Ignore in_dgamouse setting if dga isn't available
  132. + Removed hard coded mouse acceleration in *nix input code
  133. + Basically rewrote the lcc Makefile to be more sane
  134. + Removed various bits of lcc that weren't built/needed
  135. + General portability improvements
  136. + Various variables added that aid packaging, from vapier
  137. + Centralise architecture defines in q_platform.h
  138. + Replaced a bunch of inline and __inline with ID_INLINE
  139. + Replaced a bunch of __i386__ with id386
  140. + General tidy up of asm preprocessor decisions
  141. + Removed C_ONLY from the dedicated server build
  142. + Removed rule to build C++ (for splines) from the Makefile
  143. + General decrufting
  144. + Split USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO
  145. + Various assorted bug fixes
  146. 2005-10-29 Various contributors
  147. + nasm syntax asm ported to gas
  148. + Disabled-by-default MD4 support
  149. + cons build system removed
  150. + Better FreeBSD support
  151. + Makefile generates dependencies
  152. + Some SDL sound tweaks
  153. + qvm build tools and qvms are now built with the rest of the binaries
  154. + q3asm-turbo from Phaethon
  155. + Moved various displaced c and h files into more appropriate places
  156. + A shitload (can I say shit?) of bug fixes -- see the svn log for details
  157. 2005-09-22 Tim Angus <tim@ngus.net>
  158. + MinGW port
  159. 2005-09-??
  160. + SDL Stuff (icculus)
  161. + x86_64 (ludwig von angstenheimer)
  162. + patches from a cast of thousands
  163. 2004-05-22 Timothee Besset <ttimo@idsoftware.com>
  164. + updated the xcode project from Apple's version
  165. now with the latest vm_ppc code
  166. 2004-05-21 Timothee Besset <ttimo@idsoftware.com>
  167. + fixed the Linux build to compile again on sid (glext.h and gcc3 warnings)
  168. + 2 weeks ago, hacked up the source to compile on panther / xcode 1.1
  169. several cleanups were needed, and VM support seems broke (hangs or crashes)
  170. + got altivec optimisations from Apple (Kenneth Dyke)
  171. merged back in
  172. + looks like with the new code merge the VM support is back in and working
  173. 2003-09-15 Timothee Besset <ttimo@idsoftware.com>
  174. + import Q3 java master code, cleanups on monster
  175. 2003-08-31 Timothee Besset <ttimo@idsoftware.com>
  176. + loki_setup hell
  177. https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=626
  178. http://zerowing.idsoftware.com/linux/q3a/index.html#glibc
  179. text mode installer in loki_setup image built on Mandrake 7.2 crashes on
  180. some glibc 2.3 systems such as RH9 etc. need to move to a different
  181. version of the installer, and update old installers to keep them still
  182. 'installing' moving to build the setup binaries on Debian Woody systems
  183. (glibc 2.2, text mode installer will no longer work on 2.1 systems) hacked
  184. together a new setup, using setup tree from RTCW. would need a complete
  185. revamp if a new full setup with new binaries is needed
  186. 2003-07-17 Timothee Besset <ttimo@idsoftware.com>
  187. + new cvsreport, testing per-module config
  188. 2003-01-19 Timothee Besset <ttimo@idsoftware.com>
  189. + building on both gcc 2.x and 3.x
  190. added conf modules to check gcc version
  191. ccache support
  192. 2003-01-13 Timothee Besset <ttimo@idsoftware.com>
  193. + tweaking around for gcc 3.x build
  194. edit Conscript to change the compiler
  195. 2002-12-16 Timothee Besset <ttimo@idsoftware.com>
  196. + added pbEmit class to auth code, emit CD keys to local PB master
  197. 2002-11-14 Timothee Besset <ttimo@idsoftware.com>
  198. + up to latest makeself.sh
  199. + add both quake3.x86 and quake3-smp.x86 to setup
  200. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=573
  201. console setup crash / glibc 2.3 (Debian Sid)
  202. investigated, put together a workaround
  203. 2002-11-5 Timothee Besset <ttimo@idsoftware.com>
  204. + Linux building both smp and non-smp again. Will have to put both in setup
  205. + added in_subframe to toggle X subframe event handling
  206. + reworked the timing code to be more reliable
  207. + cleaned up dgamouse/in_mouse code, removed unnecessary dgamouse var
  208. + made the mouse grabbing an in_nograb cvar, no longer a compile time option
  209. in_nograb 1 force in_dgamouse 0 and r_fullscreen 0 (any of those two will b0rk)
  210. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=565
  211. mouse issues on Suze 8.1 - related to subframe event timing
  212. added code chunk to detect broken X timing and disable subframe
  213. + tweaked the subframe/X bug workaround to be less paranoid
  214. 2002-10-28 Timothee Besset <ttimo@idsoftware.com>
  215. + no longer blocking demo recording if g_synchronous clients != 0
  216. only sending out a warning (everyone does g_sync 1 ; record ; g_sync 0)
  217. 2002-10-21 Timothee Besset <ttimo@idsoftware.com>
  218. + building final mod sdk setups (added lcc bins, added link to q3asm-turbo in readme)
  219. 2002-10-8 Timothee Besset <ttimo@idsoftware.com>
  220. + quickfix cl_maxpackets > 125 brings back to 100
  221. 1.32 release ---
  222. 2002-10-7 Timothee Besset <ttimo@idsoftware.com>
  223. + made the 'demo' command case-insensitive on extension match (it was confused by demo FOUR.DM_68)
  224. + mouse wheel scrolling with in_mouse 1 + window mode was not working, fixed (DI didn't catch)
  225. + removing on-the-fly pk3 build from Linux setup, using the finalized ones now
  226. added 'pk3' option to cons for toggle of pk3 building
  227. 2002-10-5 Timothee Besset <ttimo@idsoftware.com>
  228. + updated win32 mod sdk (in win32/mod-sdk-setup)
  229. added q3asm and lcc source
  230. updated the .bat to build VMs
  231. 2002-10-3 Timothee Besset <ttimo@idsoftware.com>
  232. + linux mod sdk, wrote the bulk of the scripts
  233. 2002-9-30 Timothee Besset <ttimo@idsoftware.com>
  234. + ATVI Quake 3 1.32 Patch #9
  235. rolling back to the way it was before, leaving 1v1 force vote exploit, the fix was worse than the bug
  236. from comment on bug #9 in tracker:
  237. actually the fix is worse than the original bug
  238. after the fix, voting when you are alone on the server was no longer working
  239. it was kinda intended in the fix, that you would have to be at least two to pass a vote .. but
  240. it is an oversight.
  241. calling a vote in a 1v1 game against a bot fails immediately
  242. (calling a vote in any situation where there's only 1 live player fails)
  243. Say a server's running some lame custom map that you have but a friend doesn't. You can't go
  244. on the server and change it to the map you want to play, so he ends up having to auto-dl it at
  245. 8K a second just so you can switch from it.
  246. This particular 2 clients, vote / quit exploit would involve too many changes to fix properly.
  247. I am reverting back to the old version, and leaving as WNF
  248. 2002-9-29 Timothee Besset <ttimo@idsoftware.com>
  249. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=50
  250. added Wheel support to the DirectInput code IN_DIMouse (in_mouse 1)
  251. tweaked the Wheel mouse reading for in_mouse -1 (old win32 input code)
  252. handle correctly when zDelta is > 120
  253. provide an in_logitechbug cvar to handle buggy Logitech MouseWare driver sending wheel events twice
  254. 2002-9-26 Timothee Besset <ttimo@idsoftware.com>
  255. + ATVI Quake 3 1.32 Patch #38
  256. adding trap_SetPbClStatus, reliably checks for PB presence before enabling PB in UI
  257. 2002-9-25 Timothee Besset <ttimo@idsoftware.com>
  258. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=551
  259. SVF_CLIENTMASK, fixed a typo
  260. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=555
  261. pushed cl_maxpackets upper limit to 125 (from 100) per CPMA Arqon's request
  262. 2002-9-24 Timothee Besset <ttimo@idsoftware.com>
  263. + ATVI Quake 3 1.32 Patch #33
  264. PB reporting sv_paused cvar hacked, fixed SV_CheckPaused to use a Cvar_Set
  265. + ATVI Quake 3 1.32 Patch #24
  266. added [skipnotify] from RTCW, use to display in the console only, but not on client screen
  267. (also fixes pb_msgprefix and pb_sv_msgprefix)
  268. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=553
  269. using correct error message if listen server starting as cl_punkbuster 0 sv_punkbuster 1
  270. + ATVI Quake 3 1.32 Patch #35
  271. text auto wrap in UI code was eating the last word if it was wrapping
  272. fixed in Q3 and TA UI (this bug could have affected the server print message also)
  273. + some updates to the win32 cons post-build process
  274. 2002-9-21 Timothee Besset <ttimo@idsoftware.com>
  275. + adding bspc cons build script
  276. 2002-9-19 Timothee Besset <ttimo@idsoftware.com>
  277. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=552
  278. disconnect reason is transmitted in the disconnect command and processed into com_errorMessage
  279. (similar to RTCW behaviour)
  280. added UI for com_errorMessage cvar in baseq3/, if client is kicked/dropped/disconnected for whatever reason
  281. (this is already functional in TA)
  282. + ATVI Quake 3 1.32 Patch #9
  283. failing vote if there's only one voting client (fixes exploit on 2-player server where one player votes then disconnects, forcing vote to pass)
  284. + ATVI Quake 3 1.32 Patch #5
  285. removed the userInfoChanged message (was a debugging leftover)
  286. + ATVI Quake 3 1.32 Patch #18
  287. rcon was not properly fixed yet, this only showed up for PB commands
  288. changed the rcon parsing again to be more reliable
  289. 2002-9-18 Timothee Besset <ttimo@idsoftware.com>
  290. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=549
  291. the demo command has a list of compatible protocols, it will loop through 66 67 68
  292. you can do '/demo four' and it will try four.dm_66 four.dm_67 four.dm_68
  293. or you can explicitely give a '/demo demoname.dm_??'
  294. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=551
  295. added SVF_CLIENTMASK (0x00000002), works only with <= 32 players
  296. set bitmask of players to which send entity
  297. 2002-9-17 Timothee Besset <ttimo@idsoftware.com>
  298. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=550
  299. rcon bug fix
  300. + some scons updates for win32 (post build)
  301. + 1.32rc2
  302. 2002-9-06 Timothee Besset <ttimo@idsoftware.com>
  303. + updated completely the setup system:
  304. fixed cons stuff to build setup with cons -- release setup
  305. working from new setup codebase with some custom patches:
  306. https://bugzilla.icculus.org/show_bug.cgi?id=52
  307. https://bugzilla.icculus.org/show_bug.cgi?id=53
  308. checked that BSD support was still in (brandelfing and symlinks) .. will have to get tester feedback
  309. bumped version to 1.32rc1
  310. TODO: update the windows .VCT (standalone setup and auto-update)
  311. 2002-9-04 Timothee Besset <ttimo@idsoftware.com>
  312. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=543
  313. backport from RTCW 1.4 code
  314. rcon commands where sent after being tokenized and rebuilt
  315. that was breaking any quoting, for instance 'rcon g_motd "hooka pooka"'
  316. added Cmd_Cmd() to retrieve the un-tokenized command and transmit as is on both ends
  317. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=542
  318. b0rked text wrapping in connect screen
  319. was a missing sizeScale in q3_ui/, and a bad param in ui/
  320. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=540
  321. backport fix to pk3 reordering, happens when clearing the references, bad order from connection may break stuff
  322. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=527
  323. TA ui/, quickfix to netSource (mod stuff, doesn't affect TA)
  324. + cleaned up broken old DO_WIN32 stuff in cons scripts
  325. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=526
  326. typo in models2.shader
  327. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=443
  328. Linux client: sub-frame timing of key/mouse events
  329. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=453
  330. added mousewheel support: wheel to scroll, ctrl+wheel to scroll faster, shift+wheel to scroll history
  331. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=545
  332. bumped server count to 4096
  333. + keep around: __asm__ __volatile__ ("int $0x03");
  334. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=516
  335. moved screenshots to backend with a new RC_SCREENSHOT render command
  336. fixes the r_smp 1 garbled screenshots
  337. 2002-8-29 Timothee Besset <ttimo@idsoftware.com>
  338. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=539
  339. new VM code from Raven's Sof2
  340. + cons / qvmtools build system fixes
  341. + had to get a new qe3.ico again (resource compiler error)
  342. http://vasin.hypermart.net/eei.htm
  343. + updated, basic testing on win32, merging back in trunk
  344. + merged bug-539 branch back into trunk, officialize the new VM code
  345. 2002-8-26 Timothee Besset <ttimo@idsoftware.com>
  346. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=472
  347. linux client: handle ctrl+space situations (could leave space locked on + space not working with ctrl on)
  348. + update the build system, build q3lcc and q3asm etc. on demand
  349. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=62
  350. fixed invisible players/entities
  351. 2002-8-23 Timothee Besset <ttimo@idsoftware.com>
  352. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=536
  353. fixing donedl being ignored after autodl if map_restart'ed (propagate from RTCW)
  354. ignoring multiple map_restart (propagated from RTCW)
  355. + reworked the server 'client text ignored' message to only trigger when there's actually a message that doesn't get to the game VM
  356. 2002-8-18 Timothee Besset <ttimo@idsoftware.com>
  357. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=528
  358. ydnar: reorg bits in the drawsurf sort index, push MAX_SHADERS to 2^12
  359. + commented out some debug stuff in java auth server
  360. + added FAQ item with Linux & BSD patch to handle broadcast on multiple interfaces
  361. 2002-8-15 Timothee Besset <ttimo@idsoftware.com>
  362. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=534
  363. fixing rcon being broken on NT/XP with > 23 days uptime (or so)
  364. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=525
  365. changed the rcon buffer size to avoid overflows and dropping part of the message
  366. 2002-8-14 Timothee Besset <ttimo@idsoftware.com>
  367. + hacked in some experimental win32 stuff to the cons files
  368. (win32 recognition and pk3 installs .. very very experimental but I needed it for win32 dev)
  369. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=521
  370. ui/ and q3_ui/ : added text auto wrapping in the connection screen drawing (server message)
  371. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=531
  372. removed the MPlayer stuff from the server browsers
  373. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=505
  374. enabled back the ignore if protocol is != (fixes Wolf servers showing in browser)
  375. 2002-8-10 Timothee Besset <ttimo@idsoftware.com>
  376. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=500
  377. propagated IP banning fix from RTCW
  378. 2002-8-08 Timothee Besset <ttimo@idsoftware.com>
  379. + propagate additional sv_lanForceRate fix from RTCW
  380. 2002-8-07 Timothee Besset <ttimo@idsoftware.com>
  381. + added trap_FS_Seek
  382. 2002-8-05 Timothee Besset <ttimo@idsoftware.com>
  383. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=50
  384. fixed the DI mouse init procedure
  385. 2002-8-05 Timothee Besset <ttimo@idsoftware.com>
  386. + removed sv_allowanonymous, was dummy and polluting the serverinfo
  387. (sv_allowanonymous was designed to flag wether server was public or not, but that's replaced by g_needpass)
  388. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=514
  389. sv_strictAuth (default 1): server variable to control wether strict CDKEY auth should be performed
  390. this is required if you want reliable cl_guid on the server
  391. extended the getIpAuthorize (server->auth message) syntax
  392. sending the fs_game at all times (default 'baseq3'), dummy sv_allowAnonymous 0, strict auth flag
  393. NOTE: 1.31 server on baseq3 sends a getIpAuthorize packet like:
  394. processing packet: getIpAuthorize -1230824753 217.128.77.195 0
  395. the auth server will mistakenly read fs_game as '0'
  396. + TAGGED the master / auth source as pre-1_32
  397. will need to go back to this to comment out all my debugging crap
  398. 2002-8-04 Timothee Besset <ttimo@idsoftware.com>
  399. + cleaned master server stuff, client was prompting master.quake3arena.com,
  400. server was sending heartbeats to master3.idsoftware.com
  401. both point to 192.246.40.56, unified to master.quake3arena.com
  402. the MPlayer master, master.quake3world.com doesn't exist anymore, switched it to master.quake3arena.com
  403. 2002-8-02 Timothee Besset <ttimo@idsoftware.com>
  404. + added auth server source, reorganized
  405. + auth server name / master key optionally set on command line for master and auth servers
  406. + auth and master config in build system
  407. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=524
  408. changed default GL driver from libGL.so to libGL.so.1
  409. see LSB 1.2 spec: http://www.linuxbase.org/spec/refspecs/LSB_1.2.0/gLSB/libgl.html
  410. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=480
  411. applying the 'no cp command' experimental fix for beta phase
  412. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=462
  413. backported from RTCW, fix to packet fragmenting emission
  414. FIXME: there is some verbose code that we have to take out in the final version (grep for #462)
  415. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=475
  416. backported from RTCW, don't get dropped if the server changes map while connecting (ignore outdated cp)
  417. + PROTOCOL BUMPED TO 68
  418. 2002-8-01 Timothee Besset <ttimo@idsoftware.com>
  419. + Linux: dedicated build was not setting up signal handler like the full client does
  420. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=522
  421. SplashDamage bugfix, now clearing client gentity before GAME_INIT call (instead of after)
  422. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=498
  423. fixed NET_AdrToString to print the port as unsigned int (for ports > 1^^15, was showing negative)
  424. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=501
  425. maintain IP in userinfo sent to game
  426. + checking in master server source
  427. 2002-7-31 Timothee Besset <ttimo@idsoftware.com>
  428. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=513
  429. https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=506
  430. porting fix from RTCW codebase. client re-orders its pk3s to scan in the same order than the server
  431. this eliminates several 'Invalid .PK3 file referenced' situations (caused by client not referencing the same thing as server)
  432. + fixed border remnants in ta ui
  433. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=517
  434. ERR_DROP if PB client off / server on conflict when starting local server
  435. + quickfix to q3 ui / punkbuster detect in server browser
  436. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=458
  437. code fix, no more taunt spam
  438. + cons install of PB .so files
  439. + correct MOD_KAMIKAZE and MOD_JUICED in TA games.log
  440. 2002-7-29 Timothee Besset <ttimo@idsoftware.com>
  441. + q3 ui: completed confirmation prompts and messages (added UI_ConfirmMenu_Style & UI_Message)
  442. + ta ui: backported 'conditionalopen' from RTCW (conditionalopen <cvar> <menu1> <menu2>)
  443. + ta ui: confirmation prompt for punkbuster enable/disable etc.
  444. + added the win32 DLLs to pb/win32/
  445. 2002-7-28 Timothee Besset <ttimo@idsoftware.com>
  446. + ta ui: sv_punkbuster in StartServer menu
  447. + ta ui: added cl_punkbuster in server browser
  448. + view filters are in a modal dialog
  449. + new files: filter.menu menus.txt (pak3.pk3 updated)
  450. + fix broken link in Linux FAQ
  451. 2002-7-27 Timothee Besset <ttimo@idsoftware.com>
  452. + ta ui: PB display in the browser, in its additional tab, with sorting
  453. 2002-7-26 Timothee Besset <ttimo@idsoftware.com>
  454. + PB UI: for baseq3/ AND missionpack/
  455. q3_ui: Punkbuster: Enable/Disable in server broswer (cl_punkbuster)
  456. q3_ui: PB logo, PB Yes/No in browser (TODO: validate this to be working)
  457. q3_ui: added sv_punkbuster toggle in start server menu
  458. + automated building of the new PK3s, unix/Conscript-pk3
  459. 2002-7-25 Timothee Besset <ttimo@idsoftware.com>
  460. + added PB build scripts on Linux, fixed the Linux build
  461. 2002-7-12 Timothee Besset <ttimo@idsoftware.com>
  462. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=511
  463. fixing re.SetColor crash for widescreen displays (q3dm11)
  464. was calling to the renderer while not registered
  465. 2002-6-19 Timothee Besset <ttimo@idsoftware.com>
  466. + r_roundImagesDown 0 + map q3dm16 -> tr_image.c ResampleTexture crash
  467. buffer overflow because of resample to 2048x..
  468. xian_q3dm12_leftwall4fin.jpg 1152x384
  469. bumped one buffer byte p1[1024] -> byte p1[2048], added a safe check
  470. 2002-6-14 Timothee Besset <ttimo@idsoftware.com>
  471. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=493
  472. propagate a renderer fix from RTCW. fixes a one-frame visual glitch when mod code
  473. registers a shader after drawsurfaces are generated but before the frame is rendered
  474. 2002-6-12 Timothee Besset <ttimo@idsoftware.com>
  475. + added cons and pcons to unix/, updated the build script
  476. 2002-5-24 Timothee Besset <ttimo@idsoftware.com>
  477. towards a new Q3 release?
  478. some bug fixes require protocol change, or mod code/mod interface change to be fixed properly
  479. this is a biz decision, dunno yet if we are going to want a new protocol (probably not)
  480. -> have to create a branch for the 1.31b, i.e. backwards compatible with 1.31 'Stable-1_31'
  481. and put the 1.32 specific / protocol changes on trunk
  482. no telling what will go in SOS in the end .. probably 1.32
  483. 2002-5-5 Timothee Besset <ttimo@idsoftware.com>
  484. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=491
  485. adding a sv_lanForceRate (defaults to 1) to turn on/off server forcing rate of LAN clients
  486. (only affects LAN dedicated clients - dedicated 1, default behaviour forces LAN clients to 99999 rate)
  487. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=470
  488. fixing potential overflows with cl_cdkey (propagated from RTCW)
  489. + cons-based build system (imported from Wolf, was partly written for mod tools release already)
  490. building with SMP on by default
  491. + better #ifdef SMP handling ('disabled at compile time' message)
  492. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=494
  493. Q_vsnprintf for vsprintf calls in the core
  494. not putting this in game code as we'd need a vsnprintf implementation in bg_lib.c
  495. 2002-4-5 Timothee Besset <ttimo@idsoftware.com>
  496. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=462
  497. taking out the fix which was found broken and incomplete
  498. 2002-8-4 Timothee Besset <ttimo@idsoftware.com>
  499. + adding NO_MOUSEGRAB define (select in the Makefile)
  500. 2002-2-4 Timothee Besset <ttimo@idsoftware.com>
  501. + applying Gareth's SMP patch
  502. + count number of CPUs (Sys_ProcessorCount in unix_shared.c), default r_smp appropriately
  503. + bumping version to 1.32
  504. + if XInitThreads fails, set r_smp to zero
  505. 2002-28-2 Timothee Besset <ttimo@idsoftware.com>
  506. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=462
  507. send potential remaining fragmented packets before sending a gamestate
  508. 2002-26-2 Timothee Besset <ttimo@idsoftware.com>
  509. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=455
  510. removed old libMesaVoodooGL.so loading code
  511. Voodoo cards should use XF4/DRI, that load code was outdated and confusing people with broken OpenGL
  512. 2002-16-1 Timothee Besset <ttimo@idsoftware.com>
  513. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=441
  514. adding brandelf calls to the setup building process so that our binaries run on BSD
  515. 2002-1-1 Timothee Besset <ttimo@idsoftware.com>
  516. + updated FAQ with BSD info (bug #441)
  517. + FAQ update on CLIENT_UNKNOWN_TO_AUTH
  518. + FAQ update for proper strace usage
  519. 2001-12-12 Timothee Besset <ttimo@idsoftware.com>
  520. + Q3 1.31 point release
  521. updating build_setup.sh to new pk3 files
  522. (baseq3/pak7.pk3 missionpack/pak2.pk3)
  523. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=395
  524. adding quake3.xpm icon, and modified the setup accordingly to put symlinks
  525. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=390
  526. ignoring SIGTTIN SIGTTOU
  527. 2001-06-12 Timothee Besset <ttimo@idsoftware.com>
  528. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=402
  529. bug with full scene
  530. 2001-04-12 Timothee Besset <ttimo@idsoftware.com>
  531. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=398
  532. cg_bobup cheat protect
  533. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=399
  534. fixed Setup > System > Driver info crash
  535. + checked in code/spank.sh script, perform checksuming
  536. 2001-18-09 Timothee Besset <ttimo@idsoftware.com>
  537. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=371
  538. propagating sound code fixes from Wolf to Q3
  539. 2001-11-08 Timothee Besset <ttimo@idsoftware.com>
  540. + setup script was still broken, damn shell expansion
  541. the exit code for Q3 was always zero instead of $?
  542. propagating the fix to Wolf
  543. 2001-11-04 Timothee Besset <ttimo@idsoftware.com>
  544. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=382
  545. modified challenge code for motd to be truly random
  546. 2001-10-31 Timothee Besset <ttimo@idsoftware.com>
  547. Moved updated q3asm and lcc source at the toplevel, MissionPack/q3asm
  548. and MissionPack/lcc
  549. 2001-10-29 Timothee Besset <ttimo@idsoftware.com>
  550. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=381
  551. build system is now functional
  552. 2001-10-21 Timothee Besset <ttimo@idsoftware.com>
  553. + updated Sys_LoadDll code on linux to search in the following order:
  554. #1 current directory
  555. #2 fs_homepath
  556. #3 fs_basepath
  557. this was needed to make mod development easier
  558. 2001-10-09 Timothee Besset <ttimo@idsoftware.com>
  559. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=51
  560. the code to buffer the redirection was in there but disabled? (Com_Printf)
  561. enabled it back
  562. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=52
  563. connection issues / userinfo
  564. client side fix, instead of sending 'connect <userinfo>' packet
  565. we now send 'connect "<userinfo>"'
  566. 2001-10-08 Timothee Besset <ttimo@idsoftware.com>
  567. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=371
  568. added a PROT_READ to the mmap call
  569. this was needed to go around a bug in glibc i586 i686, memset doing read access
  570. since the audio_fd is opened O_RDWD this is harmless to Q3
  571. 2001-10-07 Timothee Besset <ttimo@idsoftware.com>
  572. + updating from SOS
  573. S_WriteLinearBlastStereo16 C/asm is back in snd_mix.c (Graeme)
  574. r_showtris r_shownormal cheat protections
  575. + Sys_LoadDll changes:
  576. removing -debug search when loading native dlls
  577. changing the fatal aborts when not finding native from release only to debug only (was a misfeature)
  578. used to search in cd_path which is bogus, now searching in pwd if basepath fails
  579. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=275
  580. fixed r_fullbright not being cheat protected / was a CVAR_LATCHED|CVAR_CHEAT issue
  581. 2001-09-06 Timothee Besset <ttimo@idsoftware.com>
  582. + updated from SOS, some changes to qcommon/unzip.c (statics)
  583. 2001-08-27 Timothee Besset <ttimo@idsoftware.com>
  584. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=3
  585. Added some code in CL_InitDownloads to use FS_ComparePaks and print out information about server-referenced paks that are missing on the client. It is a first step, allows to get precise information about what can cause a connection to fail (typically when the user is sent back to the main screen).
  586. 2001-08-22 Timothee Besset <ttimo@idsoftware.com>
  587. + https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=86
  588. fixed sound bug (with Graeme hints)
  589. 2001-08-20 Timothee Besset <ttimo@idsoftware.com>
  590. + made sure Sys_Printf doesn't get into an endless loop if logfile is on
  591. fixed qconsole.log issues, +set logfile 1 +set fs_debug 1 was crashing (any OS)
  592. fixed logfile 1 / ttycon 1 issue, didn't exit properly (same endless looping)
  593. also fixes an issue reported by q3f team
  594. + changed rcon commands from Com_DPrintf to Com_Printf so that they show up in the console
  595. (with IP information)
  596. 2001-08-19 Timothee Besset <ttimo@idsoftware.com>
  597. + fixed https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=91
  598. (autodownload toggle in q3 ui)
  599. + fixed https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=76
  600. g_password issue
  601. + fixed https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=93
  602. cheat protecting r_lodCurveError
  603. + wontfix https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=92
  604. 2001-08-18 Timothee Besset <ttimo@idsoftware.com>
  605. + more fixes to the 7-button mouse code (linux only)
  606. + updated faq about gamma slider
  607. + added "servers don't show up in ingame browser" to faq
  608. + added Alt+Enter toggle for fullscreen/windowed (linux)
  609. 2001-08-16 Timothee Besset <ttimo@idsoftware.com>
  610. reconfiguring CVS repository to give access to Gareth
  611. + testin gareth's access
  612. 2001-08-03 Timothee Besset <ttimo@idsoftware.com>
  613. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=85
  614. fixes in the setup code for older bash versions
  615. 2001-08-02 Timothee Besset <ttimo@idsoftware.com>
  616. * commented out assembly implementation of S_WriteLinearBlastStereo16, using modified C implementation from Zaphod
  617. need to check performance: https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=88
  618. * finished const declarations in CG_Trace calls, was needed in pmove_t declaration and some other functions
  619. cgame/cg_local.h : CG_trace trap_CM_BoxTrace
  620. game/bg_public.h : using const in pmove_t trace functions prototypes
  621. (fixes gcc warnings: assignment from incompatible pointer type)
  622. 2001-07-26 Timothee Besset <ttimo@idsoftware.com>
  623. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=78
  624. mapped K_MOUSE4 K_MOUSE5
  625. 2001-07-23 Timothee Besset <ttimo@idsoftware.com>
  626. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=5
  627. more fixes, handling meta characters and various kinds of backspace
  628. 2001-07-22 Timothee Besset <ttimo@idsoftware.com>
  629. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=5
  630. after testing feedback, fixed more stuff:
  631. better backspace, works with putty and potentially more terminals
  632. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=51
  633. band aid fix to rcon status, incresed MAX_PUSHED_EVENTS from 256 to 1024
  634. (adds 28kb of mem requirements)
  635. 2001-07-21 Timothee Besset <ttimo@idsoftware.com>
  636. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=2
  637. using XF86 Gamma extension to set the gamma in game from the menus
  638. (previous behaviour was to set /r_gamma and restart, renderer relying on s_gammatable)
  639. restoring initial gamma on GLimp_ShutDown
  640. 2001-07-19 Timothee Besset <ttimo@idsoftware.com>
  641. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=5
  642. first usable version of dedicated console
  643. added history and completion functionality
  644. ready for some testing
  645. still some TODOs and FIXMEs:
  646. keep the currently edited line when going back from history exploration
  647. edit the current line with cursor, insert mode etc.
  648. 2001-07-18 Timothee Besset <ttimo@idsoftware.com>
  649. * starting TAB completion and history for the dedicated server (tty console)
  650. removed Sys_ConsoleOutput (unused)
  651. removing bogus nostdout variable
  652. cleanup of a big chunk of code that Bernd commented out and scheduled for deletion
  653. moved completion code from client/cl_keys.c stuff into qcommon/common.c, Field_CompleteCommand(field_t*)
  654. 2001-07-13 Timothee Besset <ttimo@idsoftware.com>
  655. * fixed https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=8
  656. screenshots overwrites
  657. * fixed https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=31
  658. DOUBLE SIGNAL FAULT
  659. 2001-07-11 Timothee Besset <ttimo@idsoftware.com>
  660. * fix for french keybards / console toggle / bound to XK_twosuperior
  661. 2001-07-10 Timothee Besset <ttimo@idsoftware.com>
  662. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=19
  663. cleanup of the keyboard code, adding com_developer message in case XLookupString would fail
  664. 2001-07-10 Timothee Besset <ttimo@idsoftware.com>
  665. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=33
  666. using our custom handlers for X errors, should make things more robust
  667. (X docs say some X errors are not fatal, but the default X handler exits the app anyway)
  668. 2001-07-08 Timothee Besset <ttimo@idsoftware.com>
  669. * https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=19
  670. keyboard state issues, fixed the sticking with ctrl key (thks relnev)
  671. 2001-07-07 Timothee Besset <ttimo@idsoftware.com>
  672. * closing https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=13
  673. the fixes to bug #9 solved this one too
  674. * checking in to SOS
  675. 2001-07-05 Timothee Besset <ttimo@idsoftware.com>
  676. * work on https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=9
  677. filesystem code changes:
  678. updated the documentation in files.c to the current system
  679. added correct fs_homepath fs_basepath fs_cdpath scanning to FS_SV_FOpenFileRead
  680. (fixes description.txt not found, and probably a few other linux issues)
  681. 2001-06-29 Timothee Besset <ttimo@idsoftware.com>
  682. * fixed setup issues (graphical/console)
  683. https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=6
  684. 2001-06-26 Timothee Besset <ttimo@idsoftware.com>
  685. * bug tracker is online at https://zerowing.idsoftware.com/bugzilla
  686. authentication, use login: bugs password: b00gies
  687. for now, using it as the linux bug tracker, possible use for more OSes and programs if anyone is interested.
  688. * tweaked the graphical setup to send to bugs@idsoftware.com on errors instead of support@lokigames.com
  689. 2001-06-19 Timothee Besset <ttimo@idsoftware.com>
  690. * fixed generated launch script /usr/local/bin/quake3, exit $* should be exit
  691. 2001-06-18 Timothee Besset <ttimo@idsoftware.com>
  692. * rebuilt 1.29f setups, released as 1.29f-beta1 'Q3 1.29f linux-i386 Jun 19 2001'
  693. 2001-06-10 Timothee Besset <ttimo@idsoftware.com>
  694. * rebuilt against PR source, packaged 1.29b setups
  695. 2001-05-25 Timothee Besset <ttimo@idsoftware.com>
  696. * graphical setup, based on Loki's setup tool (GPL)
  697. 2001-05-22 Timothee Besset <ttimo@idsoftware.com>
  698. * changed fs_basepath to fs_homepath, according to Graeme's changes (probably missed this change?)
  699. this fixes the q3key prompting at each game startup
  700. 2001-05-20 Timothee Besset <ttimo@idsoftware.com>
  701. * rebuilding 1.28b, various fixes on linux build:
  702. - SetProgramPath was renamed to Sys_SetDefaultCDPath in unix_shared.c
  703. updated unix_main.c accordingly
  704. - some prototypes in qgl.h are guarded by #ifndef GL_VERSION_1_2 (ARB extensions)
  705. those prototypes are needed by linux_glimp for importing functions and casting, added a #ifdef __linux__
  706. (not a clean solution)
  707. - game/q_shared.h
  708. little endian / big endian functions have been added
  709. gcc generates warnings about functions being unused .. inlined them
  710. - cgame/cg_marks.c
  711. // TTimo
  712. // gcc warning: might be used uninitialized
  713. float sInc = 0.0;
  714. float s = 0.0;
  715. 2001-05-15 Timothee Besset <ttimo@idsoftware.com>
  716. * fixes to linux Makefile for bspc 2.1h
  717. * various updates to 1.28b on linux
  718. 2001-05-09 Timothee Besset <ttimo@idsoftware.com>
  719. * R. Duffy reverted game/bg_pmove.c PM_CheckDuck, was a merging screup on my side
  720. * updated setup to 1.27z, removed the .so from the setup distribution (they were in 1.27g because of issues)
  721. FIXME: gotta get pk3's first
  722. 2001-05-04 Timothee Besset <ttimo@idsoftware.com>
  723. * fixes to gcc, building RC for 1.27s
  724. 2001-05-01 Timothee Besset <ttimo@idsoftware.com>
  725. * added qcommon/huffman.c to the Makefile
  726. * gcc -Wall:
  727. commenting out
  728. CL_Netchan_Encode CL_Netchan_Decode (cl_net_chan.c)
  729. Netchan_ScramblePacket Netchan_UnScramblePacket (net_chan.c)
  730. SV_Netchan_Encode SV_Netchan_Decode (sv_net_chan.c)
  731. 2001-04-26 Timothee Besset <ttimo@idsoftware.com>
  732. * fixed dedicated server crash when entering the VM_COMPILED qagame on a mod (some statics lacked initialization)
  733. 2001-04-25 Timothee Besset <ttimo@idsoftware.com>
  734. * added $(Q3POBJ) to clean target (cleanup of platform-dependent objects)
  735. * more make clean improvements
  736. 2001-04-23 Timothee Besset <ttimo@idsoftware.com>
  737. * cleanup the mod selection code, remove duplicates
  738. * some issues with release builds, my main development box doesn't build stable binaries with release settings
  739. removing -fomit-frame-pointer seems to fix (there's probably a performance hit)
  740. see OMIT-FRAME-POINTER.txt
  741. 2001-04-13 Timothee Besset <ttimo@idsoftware.com>
  742. * checked in a first set of merged files
  743. 2001-04-06 Timothee Besset <ttimo@idsoftware.com>
  744. * merged back the core linux parts to make 1.27g linux build from the Source Safe tree again
  745. 2001-02-27 Bernd Kreimeier <bk@lokigames.com>
  746. * CVS: tag with changes as of today
  747. cvs tag id1-27j-loki01027
  748. * code/qcommon/msg.c: numFields loop (SOS).
  749. * code/qcommon/files.c: ue Q_stricmp (SOS uses stricmp, was strcmp).
  750. * code/game/q_shared.h (Q3_VERSION): 1.27j. Also
  751. MAX_STRING_TOKENS upped from 256 to 1024 (SOS).
  752. * code/server/sv_snapshot.c (SV_AddEntitiesVisibleFromPoint): see below.
  753. * code/game/g_public.h (SVF_NOTSINGLECLIENT): added (SOS).
  754. * code/server/sv_ccmds.c: see below.
  755. * code/game/g_main.c: g_gametype cvar now userinfo (SOS).
  756. * code/game/g_active.c (SendPendingPredictableEvents): new (SOS).
  757. * code/game/bg_misc.c: new SOS (sos010227)
  758. * SOS: new update sos010227.
  759. 2001-02-22 Bernd Kreimeier <bk@lokigames.com>
  760. * CVS: now in sync with last SOS and cleanup up
  761. cvs tag id1-27i-loki01022
  762. * code/ui/ui_shared.c: below.
  763. * code/ui/ui_main.c: leftover code!
  764. * code/server/sv_world.c: below.
  765. * code/server/sv_snapshot.c: below.
  766. * code/server/sv_init.c: below.
  767. * code/server/sv_game.c: below.
  768. * code/server/sv_client.c: below.
  769. * code/server/sv_ccmds.c: below.
  770. * code/server/sv_bot.c: below.
  771. * code/server/server.h: below.
  772. * code/renderer/tr_surface.c: below.
  773. * code/renderer/tr_shader.c: changed assert to early return.
  774. * code/renderer/tr_shade_calc.c: below.
  775. * code/renderer/tr_shade.c: below.
  776. * code/renderer/tr_scene.c: below.
  777. * code/renderer/tr_mesh.c: below.
  778. * code/renderer/tr_local.h: below.
  779. * code/qcommon/vm_x86.c: cleanup.
  780. * code/qcommon/vm.c: below.
  781. * code/qcommon/unzip.c: below.
  782. * code/qcommon/qcommon.h: below.
  783. * code/qcommon/files.c: below.
  784. * code/qcommon/cvar.c: cleanup.
  785. 2001-02-21 Bernd Kreimeier <bk@lokigames.com>
  786. * code/qcommon/common.c: cleanup.
  787. * code/qcommon/cm_trace.c: cleanup.
  788. * code/qcommon/cm_patch.c: cleanup.
  789. * code/qcommon/cm_public.h: cleanup.
  790. * code/game/q_shared.h: cleanup.
  791. * code/game/q_shared.c: cleanup.
  792. * code/game/q_math.c: cleanup.
  793. * code/game/g_syscalls.asm: changed (once more) floor,ceil etc.
  794. * code/game/g_spawn.c: cleanup.
  795. * code/game/g_session.c: cleanup.
  796. * code/game/g_cmds.c: cleanup.
  797. * code/game/g_client.c: cleanup.
  798. * code/game/g_arenas.c: cleanup.
  799. * code/game/bg_slidemove.c: cleanup.
  800. * code/game/bg_pmove.c (PM_CheckDuck): old call to trace?
  801. * code/game/bg_misc.c: cleanup.
  802. * code/game/be_aas.h: dead code.
  803. * code/game/ai_dmq3.c: cleanup. One clear/copy switched?
  804. * code/game/ai_dmnet.c: more //*/. Why oh why not DEBUG....
  805. * code/client/snd_mix.c: below.
  806. * code/client/snd_dma.c: below.
  807. * code/client/keys.h: cleanup.
  808. TODO: #error in q3_ui/keycodes.h ?
  809. * code/client/client.h: cleanup.
  810. * code/client/cl_main.c: misplaced bracket. Cleanup.
  811. * code/client/cl_keys.c: below.
  812. * code/client/cl_cin.c: below.
  813. * code/client/cl_cgame.c: cleanup.
  814. TODO: define assert for Win32 or guard my assertions.
  815. * code/cgame/cg_syscalls.c: below.
  816. * code/cgame/cg_servercmds.c: below.
  817. * code/cgame/cg_players.c: cleanup.
  818. * code/cgame/cg_newdraw.c: remember to diff against cg_newDraw.c
  819. in SOS (mixed case).
  820. TODO: get id to use cg_newdraw.c, and to remove cg_newDraw.c/cpp.
  821. * code/cgame/cg_main.c: below.
  822. * code/cgame/cg_local.h: below.
  823. * code/cgame/cg_event.c: below.
  824. * code/cgame/cg_drawtools.c: below.
  825. * code/cgame/cg_draw.c: cleanup.
  826. * code/cgame/cg_consolecmds.c: dead code.
  827. * code/bspc/qbsp.h: below.
  828. * code/bspc/l_poly.c: below.
  829. * code/bspc/l_math.c: cleanup.
  830. * code/bspc/bspc.c: cleanup.
  831. * code/bspc/be_aas_bspc.c: cleanup.
  832. * code/bspc/aas_map.c: kept comments - merge loss at their end?
  833. * code/bspc/aas_file.c: cleanup.
  834. * code/botlib/be_interface.c: this file is plain impossible. There
  835. are layers of code made dead with /* */ and the resurrected by
  836. //* or // /* or variations of this. I reverted to exact mirror
  837. image of SOS to be sure - short of removing it's too easy to mistake
  838. live code for dead one.
  839. Later: have to change 5 occurrences to avoid gcc complaints about
  840. nested comment tokens.
  841. TODO: somebody please get rid of the cruft in here.
  842. * code/botlib/be_ai_move.c: redundant typedef.
  843. * code/botlib/be_ai_chat.c: assertions on signed string index.
  844. Note: this is not in my ChangeLog - ouch.
  845. TODO: use gcc -fsigned-char on all platsforms to enforce Win32
  846. TODO behavior (PPC has a default unsigned char, Intel has not).
  847. * code/botlib/be_aas_sample.c (AAS_TraceClientBBox): one code block
  848. was placed in different location, and one FPE hack not used. I would
  849. expect that divide by zero will still occur here.
  850. * code/botlib/be_aas_reach.c: below.
  851. * code/botlib/be_aas_cluster.c: cleanup.
  852. * CVS: the last tag (below) marks the version with a lot of history
  853. and additional comments. I am now bringing the codebase in sync with
  854. SOS as of yesterday, cleaning out comments, dead code and other
  855. differences to minimize a diff - in a valiant if futile attempt to
  856. roll back changes into the id codebase.
  857. Note: I ignore the $SOS$ - these are unfortunate but will change
  858. in the same awkward way at their end.
  859. Note: I stick to #if 0 instead of C comments around dead code id
  860. kept (nested comments issue). The commentary is changed to sosYYMMDD
  861. and includes the token DEAD.
  862. 2001-02-20 Bernd Kreimeier <bk@lokigames.com>
  863. * CVS: update, then tag current version as
  864. cvs tag id1-27i-loki010219
  865. * SOS: patched up to sos010219.
  866. * code/qcommon/cm_trace.c (CM_Trace): fabs on sphere offsets (SOS).
  867. * code/game/bg_slidemove.c (PM_StepSlideMove): stepSize vs. STEPSIZE (SOS).
  868. * code/game/bg_pmove.c (PM_CheckDuck): fix in stand up check (SOS).
  869. * code/bspc/bspc.c (main): -capsule (SOS).
  870. * code/bspc/qbsp.h: below (SOS).
  871. * code/bspc/be_aas_bspc.c (capsule_collision): added (SOS).
  872. * code/bspc/aas_map.c (CapsuleOriginDistanceFromPlane): added and used (SOS).
  873. * code/bspc/aas_file.c (AAS_WriteAASFile): removed diagnostics recently
  874. added. No matter how long you wait, they'll always get you ;-).
  875. * code/botlib/be_aas_cluster.c: enabled LogWrites, different flood (SOS).
  876. * SOS: patching up to snapshot sos010219.
  877. Note: For brevity, I use as marker sosYYMMDD now instead of bkYYMMDD, to
  878. distinguish from changes not in SOS.
  879. * CVS: tagged current version before patching up with SOS.
  880. cvs tag id1-27i-loki010216-bsd
  881. 2001-02-16 Bernd Kreimeier <bk@lokigames.com>
  882. * code/server/sv_init.c: DLL_ONLY sets sv_pure to 0 and ROM.
  883. TODO: determine good sv_pure policy for DLL-only servers.
  884. * code/renderer/tr_shade_calc.c: my_ftol implementation (BSD).
  885. * code/unix/Makefile: FreeBSD sections.
  886. TODO: include target-specific Make-freebsd etc.,
  887. include a Make-local not in CVS for build preferences,
  888. and generally clean up this mess.
  889. * code/unix/unix_glw.h: guard #error
  890. * code/unix/linux_snd.c: soundcard.h location (BSD).
  891. * code/unix/linux_glimp.c: guard system headers.
  892. Later: added Joystick stubs.
  893. Note: linux_ etc. prefixes start to loose meaning as we
  894. re-use most of this on UNIXes anyway. I didn't use Raf's
  895. freebsd_joystick.c but instead put generic stubs here.
  896. TODO: introduce generic -DNO_JOYSTICK flag.
  897. * code/renderer/tr_local.h: my_ftol guard.
  898. * code/renderer/qgl.h: FreeBSD guards.
  899. * code/qcommon/vm_x86.c: sys/types include on FreeBSD.
  900. * code/qcommon/md4.c: Win32 pragma guard.
  901. * code/qcommon/common.c: Com_Memcpy/Memset external.
  902. * code/game/q_shared.h: added FreeBSD defines.
  903. * code/game/q_math.c (BoxOnPlaneSide): FreeBSD conditional.
  904. TODO: check whether we have/need the assembly version anyway.
  905. * code/client/snd_mix.c: use C fallback on FreeBSD.
  906. Note: all of the above changes from the original port by Rafael Barrero.
  907. * CVS: tagged current version before merging FreeBSD related changes.
  908. cvs tag id1-27i-loki010215-ppc
  909. 2001-02-15 Bernd Kreimeier <bk@lokigames.com>
  910. * code/unix/Makefile: BSD related changes.
  911. * code/cgame/cg_draw.c: hacked phone jack rendering check for Debug.
  912. TODO: finish Debug, fix CG_DrawDisconnect !!!
  913. * code/unix/vm_x86.c: error on compile attempts. Fight redundancy!
  914. * code/qcommon/vm_x86.c (VM_CallCompiled): dummy for linkage on PPC.
  915. Note: DLL_ONLY is the global Makefile option for DLL-only builts.
  916. Currently only executed on Linux.
  917. * code/unix/unix_main.c: *ppc postfix for DLLs. Ignored the changes
  918. to redundant code (have to remove the unused Un/LoadDll/API calls).
  919. * code/server/sv_game.c (VMA): changed macro (see below). PPC.
  920. * code/qcommon/vm.c (VM_DllSyscall): see lengthy commentary by Ryan.
  921. The existing VM code makes certain assumptions about the layout of
  922. varargs on the stack, which fall apart with call conventions that
  923. don't even put all parameters on the stack (gcc on PPC, register-rich).
  924. Using a dedicated memory area as our own stack. This should actually
  925. be the default behavior.
  926. Later: make vm_* cvars INIT/ROM for DLL_ONLY target.
  927. * code/qcommon/common.c: PPC change (from Ryan Gordon).
  928. 2001-02-07 Bernd Kreimeier <bk@lokigames.com>
  929. * code/unix/unix_main.c: disabled FPE for debug for the time
  930. being (that is, until I can figure out
  931. Program received signal SIGFPE, Arithmetic exception.
  932. RB_BeginSurface (shader=0x449572e0, fogNum=0) at ..//renderer/tr_shade.c:307
  933. 307 tess.shaderTime = backEnd.refdef.floatTime - tess.shader->timeOffset;
  934. without any NaN's involved.
  935. TODO: unmask other FPE's selectively (see Mike's Tribes2, no getenv though).
  936. 2001-02-06 Bernd Kreimeier <bk@lokigames.com>
  937. * SOS: up to date with todays snapshot.
  938. Note: got the date wrong, comment used was bk010205. Duh.
  939. * code/server/sv_snapshot.c (SV_UpdateServerCommandsToClient): below.
  940. * code/server/sv_main.c (SV_ReplacePendingServerCommands): new (SOS).
  941. * code/server/server.h: reliableSent (SOS).
  942. * code/renderer/tr_shade.c (ProjectDlightTexture): see below.
  943. * code/renderer/tr_scene.c: see below.
  944. * code/renderer/tr_public.h: see below (SOS).
  945. * code/renderer/tr_local.h: additive light support (SOS).
  946. * code/qcommon/cm_trace.c (CM_Trace): new tw.sphere.use branch (SOS).
  947. * code/game/g_spawn.c: notta, notq3a entities (SOS).
  948. * code/game/ai_dmq3.c: MAX_ACTIVATEAREAS search (SOS).
  949. * code/client/cl_cgame.c: see below.
  950. * code/cgame/cg_syscalls.c (trap_R_AddAdditiveLightToScene): below.
  951. * code/cgame/cg_syscalls.asm: see below (trap_R_AddAdditiveLightToScene).
  952. * code/cgame/cg_public.h: CG_R_ADDADDITIVELIGHTTOSCENE (SOS).
  953. * code/bspc/l_math.c: new VectorLengthSquared, removed rotate/matrix (SOS).
  954. * code/bspc/bspc.c (BSPC_VERSION): was 2.1e, now?
  955. * code/bspc/be_aas_bspc.c (BotImport_Trace): CM_BoxTrace sig. (SOS).
  956. * code/bspc/aas_file.c (AAS_WriteAASFile): SOS.
  957. * code/botlib/be_aas_sample.c (AAS_DeAllocAASLink): SOS.
  958. * code/unix/unix_main.c (Sys_LoadDll): do not load from installdir
  959. in NDEBUG (confusing relic from old Makefile). Postfix -debug.so
  960. for debug binaries to let both builds coexist.
  961. * code/unix/Makefile: updated install targets and VERSION.
  962. * Win32: build from SOS snapshot.
  963. Note: Unix CR/LF in *.dsw/*.dsp fucks up MSVC++.
  964. 2001-02-02 Bernd Kreimeier <bk@lokigames.com>
  965. * SOS: all changes up to today.
  966. * code/server/sv_init.c (SV_TouchCGame): added. Also memset
  967. on reallocated client data (SOS).
  968. * code/qcommon/qcommon.h: see below.
  969. * code/qcommon/cvar.c (Cvar_SetLatched): new (SOS).
  970. * code/qcommon/cm_trace.c: more sphere test fixes (SOS).
  971. Note: SOS encryption key expired and updated by MrElusive.
  972. * code/qcommon/cm_patch.c (CM_TraceThroughPatchCollide):
  973. fix from MrElusive, fall through curved corner floors (q3dm17).
  974. Later: also in SOS (so is shadow FPE fix).
  975. * Win32: can't get an unadulterated SOS snapshot to build.
  976. First, fix CR/LF back again (Linux client converts all).
  977. find . -name '*.ds*' -print
  978. alias dos2unix='recode ibmpc..lat1'
  979. alias unix2dos='recode lat1..ibmpc'
  980. Next, find a *.dws that works? Nope, no cigar.
  981. 2001-02-01 Bernd Kreimeier <bk@lokigames.com>
  982. * Win32: have to update dsp/dsw/etc. files in CVS, too.
  983. * CVS: tag previous version before update
  984. cvs tag id1-27h-loki010131-beta3
  985. * code/game/q_math.c (Q_rsqrt): guard, #ifndef __linux__
  986. for assert (for Win32 build).
  987. TODO: assert replacement for Win32?
  988. * code/q3_ui/ui_qmenu.c: see below.
  989. * code/q3_ui/ui_players.c: see below.
  990. * code/q3_ui/ui_controls2.c: float const with f postfix
  991. Note: Win32 C4305 warning. Somebody at id has been doing
  992. a lot of these recently as well...
  993. * code/cgame/cg_players.c (CG_PlayerShadow): applied fix by
  994. MrElusive, removed FPE hack (player shadows on zero mormals).
  995. Prolly in this evenings' CVS.
  996. * code/server/sv_game.c: new signatures (capsule again).
  997. * code/server/server.h: new signatures (SV_Trace,ClipToEntity).
  998. * code/server/sv_bot.c: new signatures (above).
  999. * code/qcommon/cm_trace.c: a truckload of changes. Math
  1000. code added before moved upwards. Capsule traces added all
  1001. over the place, old box traces moved in conditional
  1002. branches, functions renamed and wrapped. Eliminated some
  1003. of the previous' versions deadcode to keep diffs smaller.
  1004. TODO: once a point release is out and reasonably bug
  1005. TODO free, remove // bkYYMMDD annotations where SOS related.
  1006. * code/qcommon/cm_public.h: new signatures in prototypes.
  1007. * code/qcommon/cm_patch.c: dead code re-enabled, new
  1008. sections (conditional branches for spheres) added to
  1009. several trace functions.
  1010. * code/qcommon/cm_local.h (CAPSULE_MODEL_HANDLE): added.
  1011. * code/qcommon/cm_load.c (CM_TempBoxModel): capsules.
  1012. * code/game/q_shared.h (Q3_VERSION): 1.27i now (new QVM traps).
  1013. * code/game/g_syscalls.asm: see below.
  1014. * code/game/g_public.h (SVF_CAPSULE): added (SOS). Also
  1015. G_ entry poiints for capsule traces.
  1016. * code/client/cl_cgame.c: see below.
  1017. * code/cgame/cg_syscalls.c: see below.
  1018. * code/cgame/cg_syscalls.asm: see below.
  1019. * code/cgame/cg_public.h: new capsule trace code (SOS).
  1020. 2001-01-31 Bernd Kreimeier <bk@lokigames.com>
  1021. * Win32: test compile (WinCVS, MSVC++). Have to guard isnan.
  1022. Note: too much shit going on....
  1023. 2001-01-30 Bernd Kreimeier <bk@lokigames.com>
  1024. * CVS: update for patching up (pre-1.27i).
  1025. * SOS: new changes (new collision detection primitives).
  1026. Now Version 1.27i.
  1027. TODO: start testing using DLL's (QVM code is out of sync).
  1028. 2001-01-25 Bernd Kreimeier <bk@lokigames.com>
  1029. * SOS: caught up till today (below).
  1030. * code/qcommon/cm_trace.c: new functions added: RotatePoint,
  1031. TransposeMatrix, CreateRotationMatrix (SOS).
  1032. (CM_TransformedBoxTrace): new rotation code used here.
  1033. * code/q3_ui/ui_demo2.c: sizeof(extension). SOS.
  1034. * code/game/g_cmds.c (G_SayTo): CON_CONNECTED.
  1035. * code/game/ai_main.c: HOOK added (SOS).
  1036. * code/botlib/be_aas_move.c (AAS_HorizontalVelocityForJump):
  1037. correct fix for FPE occurring (SOS).
  1038. * code/game/ai_dmq3.c: initmove.viewoffset (SOS).
  1039. * code/game/q_math.c: guard asser/isnan with Q3_VM (q3asm).
  1040. TODO: define Com_Error based assert macro? NDEBUG?
  1041. 2001-01-24 Bernd Kreimeier <bk@lokigames.com>
  1042. * code/server/sv_ccmds.c (SV_MapRestart_f): some debug.
  1043. TODO: map_restart 0 disconnects external client in 1.27h?
  1044. * code/renderer/tr_image.c (LoadTGA): added some commentary
  1045. and dead code based on fixes from GtkRadiant (Leonardo found
  1046. flipped TGA's).
  1047. 2001-01-23 Bernd Kreimeier <bk@lokigames.com>
  1048. * BETA3: finished testing, ready to upload to id FTP.
  1049. Later: neither the FreeBSD beta not the Linux Beta3
  1050. uloaded. Beta2 not yet released, and clients get
  1051. disconnected with Beta2 and Beta3 on SV_MapRestart_f.
  1052. 2001-01-22 Bernd Kreimeier <bk@lokigames.com>
  1053. * code/client/cl_main.c (CL_InitDownloads): undid yesterday (SOS).
  1054. * code/botlib/be_aas_sample.c (AAS_DeAllocAASLink): guard print (SOS).
  1055. * code/server/sv_client.c (SV_DirectConnect): VM_Call disconnect (SOS).
  1056. * code/qcommon/files.c (FS_ListFilteredFiles): trailing slashes (SOS).
  1057. * code/game/g_cmds.c (SetTeam): print change (SOS).
  1058. Note: the above plus VectorClear(v1) (below) are todays SOS changes.
  1059. * code/cgame/cg_players.c (CG_PlayerShadow): ignore bogus
  1060. (all zero) planes. This caused FPE in ProjectPointOnPlane.
  1061. TODO: why does trace return zero normal planes?
  1062. Note: gdb seems totally at loss with vec3_t arrays....
  1063. * code/botlib/be_aas_sample.c (AAS_TraceAreas): FPE.
  1064. NaN in uninitialized v1 that wasn't supposed to be referred
  1065. to in this branch.
  1066. * code/botlib/be_aas_move.c (AAS_HorizontalVelocityForJump):
  1067. FPE divide by zero (zero zvel, zero t) for jump estimates.
  1068. * code/client/cl_main.c (CL_Frame):1856. uivm==NULL on
  1069. client after server crashed.
  1070. TODO: check that uivm always non-NULL for client.
  1071. TODO: do setenv(FX_NO_SIGNALS) to avoid exit errors...
  1072. * code/unix/linux_glimp.c (GLW_SetMode): added "Indirect"
  1073. Mesa token to software rendering detection. Reworded error
  1074. output and added drivername.
  1075. TODO: measure framerate instead?
  1076. 2001-01-21 Bernd Kreimeier <bk@lokigames.com>
  1077. * SOS: caught up with changes up until today.
  1078. * code/server/sv_init.c (SV_SetConfigstring): gentity != NULL
  1079. * code/server/sv_client.c: connect to "{all bots" server.
  1080. * code/renderer/tr_init.c: JPEG extension on screenshots
  1081. * code/qcommon/files.c: modes based on mods, fs_basegame
  1082. * code/q3_ui/ui_demo2.c: dm3 extension (demo names, protocol).
  1083. * code/game/g_client.c: savedEvents[] removed.
  1084. * code/game/bg_misc.c: event sequence fixes.
  1085. * code/client/snd_dma.c (S_StopBackgroundTrack): different use.
  1086. * code/client/cl_main.c: demo file handling changed (names).
  1087. Also CL_InitDownloads: always next download.
  1088. * code/cgame/cg_servercmds.c: cg_thirdPerson.
  1089. * code/cgame/cg_weapons.c: see below.
  1090. Also CG_ShotgunPattern: different call (seed parameter).
  1091. * code/cgame/cg_main.c: see below.
  1092. * code/cgame/cg_local.h: new cg_noProjectileTrail Cvar.
  1093. * code/cgame/cg_effects.c (CG_BubbleTrail): early out (above).
  1094. * code/bspc/l_poly.c (BOGUS_RANGE): increased.
  1095. * code/bspc/bspc.c: applied patch up to "2.1e"
  1096. 2001-01-18 Bernd Kreimeier <bk@lokigames.com>
  1097. * code/ui/ui_main.c: below.
  1098. * code/q3_ui/ui_main.c: UI_HASUNIQUECDKEY comment.
  1099. Note: mods have to return qfalse. See Bug #2890 in Fenris.
  1100. 2001-01-17 Bernd Kreimeier <bk@lokigames.com>
  1101. * BETA2: finished testing, uploaded to id's FTP for release.
  1102. 2001-01-16 Bernd Kreimeier <bk@lokigames.com>
  1103. * CVS: checking in preparation for Beta2.
  1104. cvs tag id1-27h-loki010116-beta2
  1105. * SOS: new bspc "2.1e". No change on 1.27h.
  1106. * TEST: patch-up seems to work fine. No new files have been added
  1107. to the linkage (i.e. the ft2/ files now added), so we might not be
  1108. feature complete.
  1109. * code/game/g_active.c (ClientThink_real): id MISSIONPACK
  1110. conditional in addition to the ones I added earlier.
  1111. * code/qcommon/files.c: REJECT. Linux hack for userdir threw it off.
  1112. * code/qcommon/unzip.c: REJECT. CRC-32 section removed.
  1113. Later: unused tempB
  1114. * code/q3_ui/ui_syscalls.asm: REJECT. Start/StopBackgroundTrack.
  1115. * code/ui/ui_syscalls.asm: REJECT. syscalls ids from 1.27h
  1116. as of SOS (floor/ceil - will this ever get straightened out)
  1117. * code/win32/win_input.c: REJECT. g_pMouse edit.
  1118. * ui/menus.txt: REJECT. Replaced with 1.27h version.
  1119. Note: some more due to $SOS$.
  1120. * ui/: new scripts.
  1121. cinematicmenu.menu, demo_quit.menu, ingame.txt, serverinfo_old.menu
  1122. vid_restart.menu
  1123. * code/ft2/ttconfig.h: below.
  1124. * code/ft2/sfconfig.h: below.
  1125. * code/ft2/pstables.h: below.
  1126. * code/ft2/psnames.c: below.
  1127. * code/ft2/psdriver.h/c: below.
  1128. * code/ft2/keys.h: below.
  1129. * code/ft2/ftbbox.c: new in 1.27h
  1130. * code/cgame/cg_newdraw.c: beware: cg_newDraw.c gets lost in diff easily.
  1131. * code/cgame/cg_rankings.c: file removed from SOS.
  1132. 2001-01-15 Bernd Kreimeier <bk@lokigames.com>
  1133. * Patch-up: patching up from RC4 to 1.27h current.
  1134. No changes since 010112 snapshot.
  1135. ln -s sos010112/ work
  1136. diff -urbB sos001204-rc4/ work > work.diff
  1137. ln -s cvs-1.27g/ work
  1138. patch -p0 < work.diff > work.patch
  1139. find cvs1.27g/ -name '*.rej' -print
  1140. * SOS: adding the remaining SOS snapshots to CVS.
  1141. cvs import Quake3_sos sos001211 pr1-27g-win32-001211
  1142. Note: at this point id warned about repository corruption.
  1143. Watch out for the syscall stuff in particular.
  1144. cvs import Quake3_sos sos010104 pr1-27g-win32-010104
  1145. cvs import Quake3_sos sos010108 pr1-27h-win32-010108
  1146. cvs import Quake3_sos sos010110 pr1-27h-win32-010110
  1147. cvs import Quake3_sos sos010112 pr1-27h-win32-010112
  1148. Note: the first 1.27h might be the public (server only)
  1149. beta released, the second one was post release. Beware
  1150. of source files added and removed (botlib headers, FT2).
  1151. Note: why so late? Don't ask...
  1152. 2001-01-08 Bernd Kreimeier <bk@lokigames.com>
  1153. * SOS: id's working up to 1.27h (server side fix for
  1154. Guard exploit seems to force earlier release). Updating
  1155. CVS (most of the changes are debug code put in and
  1156. then disabled, plus some fixes as below). Next patching
  1157. up to current SOS.
  1158. 2001-01-07 Bernd Kreimeier <bk@lokigames.com>
  1159. * Makefile: need to rework this for multiple platforms.
  1160. We also need null/null_vm.c for platforms where we don't
  1161. have JIT (assembly emit).
  1162. 2001-01-04 Bernd Kreimeier <bk@lokigames.com>
  1163. * code/q3_ui/ui_connect.c (UI_DisplayDownloadInfo): time
  1164. information for current (vs. start of download) is wrong,
  1165. thus negative 1 "estimated time", as well as transfer
  1166. rate just negative downloadSize. Not fixed.
  1167. * code/unix/unix_main.c (Sys_ParseArgs): added.
  1168. Note: for support/us, to identify builts. This is only
  1169. a skeleton right now - if I ever feel the need to support
  1170. more than "-v" and "--version" I'll have to flesh this out.
  1171. * code/unix/linux_glimp.c (signal_handler): see below.
  1172. * code/unix/unix_main.c (Sys_Exit): added an abstraction
  1173. layer for exit/_exit/assert/raise issues.
  1174. Note: need both a better debug/backtrace handling, and
  1175. have to find a way to determine why/where the alleged
  1176. startup/exit errors happen...
  1177. 2001-01-03 Bernd Kreimeier <bk@lokigames.com>
  1178. * code/game/g_mem.c (G_Alloc): ERR_DROP initiated by
  1179. addbot commands for large sv_maxclients, allegedly
  1180. caused segfaults in 1.17. Not reproducible.
  1181. TODO: recover more gracefully from failure to add bot?
  1182. * code/renderer/tr_light.c (R_LightForPoint): Tim Angus
  1183. reports a crashbug with nolight maps. Also assertion in
  1184. R_SetupEntityLightingGrid, might want conditional there.
  1185. DONE: fixed crash on LightForPoint for nolight maps.
  1186. * code/qcommon/qcommon.h: NUM_SERVER_PORTS. A feature
  1187. request to increase this, or make it more flexible
  1188. otherwise (Fenris).
  1189. TODO: id decision on more flexible NUM_SERVER_PORTS.
  1190. 2001-01-02 Bernd Kreimeier <bk@lokigames.com>
  1191. * code/unix/snapvector.nasm: fixed FPU bit (the current
  1192. one had reserved bits off, behavior should not change).
  1193. * code/qcommon/vm_x86.c: fixed symbols (below).
  1194. * code/unix/ftol.nasm: FPU bits weren't correct (duh).
  1195. DONE: shoot-though floor (q3dm5)
  1196. DONE: cursor-in-rect off (TA/Player model selection)
  1197. Note: in gdb, "disassemble <funcname>" is your friend.
  1198. * code/cgame/cg_public.h: CG_MEMSET is set to 100. In
  1199. cg_syscalls.asm it's 101. If I change it I get Bad trap 100
  1200. from the cgame VM code, so the 1.27g "official" VM code
  1201. uses it.
  1202. * code/unix/linux_common.c: have to fall back to C, the
  1203. current assembly is buggy...
  1204. * code/unix/Makefile (linux_common.o): added.
  1205. Later: also for dedicated. Less portable this way.
  1206. TODO: C_ONLY for dedicated on non-i386 only?
  1207. * code/qcommon/common.c: do not use memcpy/memset under Linux.
  1208. * code/unix/linux_common.c: added Andrew's assembly port.
  1209. TODO: C_ONLY for Com_Memset/Memcpy? Conditionals are fubared.
  1210. * code/qcommon/vm.c (VM_Init): use Win32 defaults (do not
  1211. use DLL's by default). This exposes DLL rounding errors
  1212. (damage through floors), and we don't want DLL's used by
  1213. default anyway.
  1214. TODO: why vm_ui default of 1?
  1215. * code/botlib/l_precomp.c (SourceWarning): removed assert.
  1216. * code/game/bg_lib.c (acos): defined, but we don't actually
  1217. use it except where the cg_syscalls.asm trap is used.
  1218. * code/game/g_public.h: missing lots of trap tokens.
  1219. * code/game/g_syscalls.c: missing lots of traps.
  1220. * code/game/g_syscalls.asm: more inconsistent hooks, were:
  1221. equ floor -111
  1222. equ ceil -112
  1223. equ testPrintInt -113
  1224. equ testPrintFloat -114
  1225. now changed to match cg_syscalls.
  1226. Note: fixed this in UI earlier, how did this slip through
  1227. the diffs against SOS?
  1228. * code/game/g_syscalls.c: no acos hook.
  1229. * code/cgame/cg_syscalls.c: no acos hook.
  1230. * code/cgame/cg_syscalls.asm: has acos hook as -112
  1231. Note: report from Tim Angus. The acos function is in bg_lib.c
  1232. which is linked only into ui (not q3_ui). That means we are
  1233. using libc acos right now?
  1234. Note: QVM traps are negative?
  1235. * BSD/Irix: tagged current CVS (not all of the below) as
  1236. cvs tag id1-27g-loki010102-bsd1
  1237. for BSD work (Rafael Barrero). Also be used for Irix update.
  1238. 2001-01-01 Bernd Kreimeier <bk@lokigames.com>
  1239. * SOS: adding the remaining SOS snapshots to CVS.
  1240. cvs import Quake3_sos sos001201-rc3 pr1-27f-win32-001201-rc3
  1241. cvs import Quake3_sos sos001202 pr1-27f-win32-001202
  1242. cvs import Quake3_sos sos001204 pr1-27g-win32-001204-rc4
  1243. This is the codebase to which the Linux branch has been patched
  1244. up. I can't verify whether this is identical to the RC4 codebase
  1245. as the tag doesn't work (but can check against the ZIP file..)
  1246. cvs import Quake3_sos sos001211 pr1-27g-win32-001211
  1247. The above snapshot contains a (post-release?) fix to ui_syscalls
  1248. in ui/ and q3_ui/. This change has been used in Linux (Beta1 and
  1249. above). At this point, id discouraged further use of SOS due to
  1250. repository corruption on their end. No further snapshots were
  1251. taken since.
  1252. * Fenris: since the release of the Beta1 bugs have been
  1253. maintained at http://fenris.lokigames.com/. I am going to
  1254. list issues here as they get fixed.
  1255. 2000-12-21 Bernd Kreimeier <bk@lokigames.com>
  1256. * code/renderer/tr_font.c: graceful silence with old mods?
  1257. * code/botlib/l_precomp.c (SourceWarning): graceful exit if old mod?
  1258. 2000-12-20 Bernd Kreimeier <bk@lokigames.com>
  1259. * code/server/sv_ccmds.c (SV_MapRestart_f): see below.
  1260. * code/qcommon/vm.c: currentVM is 0x0 in VM_ArgPtr.
  1261. In VM_Call, oldVM was NULL - made conditional the
  1262. reset of currentVM to oldVM.
  1263. 2000-12-18 Bernd Kreimeier <bk@lokigames.com>
  1264. * BETA1: closed Linux beta release. Stripped debug
  1265. and release binaries, DLL's, and pak4.pk3. CVS checkin,
  1266. will be tagged as
  1267. cvs tag id1-27g-loki001218-beta1
  1268. Later: id added a pak5.pk3 to the Win32 point release,
  1269. added this to the BETA1 best.
  1270. * code/qcommon/vm_x86.c: C37F.
  1271. * code/unix/snapvector.nasm: C37F.
  1272. Note: short of any real evidence, I gamble and use max.
  1273. precision (as well as default Linux precision, but NOT
  1274. Win32 precision). It seems that precision change is not
  1275. really an issue (despite Graeme's claim that the cursor
  1276. in the menu was/is off). I also pick the roundiung behavior
  1277. that is seemingly used by ANSI and gcc (but possibly not
  1278. Win32 _ftol depending on build).
  1279. 2000-12-15 Bernd Kreimeier <bk@lokigames.com>
  1280. * code/unix/Makefile: added snapvector.o
  1281. * code/unix/unix_shared.c: #if 0'ed the old snapvector code.
  1282. * code/unix/snapvector.nasm (Sys_SnapVectorCW): two new
  1283. assembly functions from AndrewH that explicitely set the
  1284. FPU control word to convert vec3_t, to ensure cross-platform
  1285. behavior for both DLL and QVM.
  1286. * code/unix/ftol.nasm (Q_ftolC37F): for globals.
  1287. * code/unix/unix_main.c: took out global FPU manipulation.
  1288. For clarity this should be VM only.
  1289. * code/qcommon/vm_x86.c: added prototypes for the ftol
  1290. library. To select a specific behavior for the entire VM,
  1291. set ftolPtr accordingly.
  1292. Later: the GCC ftol function of course affect the stack
  1293. (there is no "declspec naked"). The problem seems to be
  1294. that the VM never handles the stack in a way compatible
  1295. to regular gcc C functions. For some odd reason _ftol seems
  1296. to do the right thing under Win32. All 4 control words
  1297. implemented at the moment work just fine with the menus.
  1298. * code/unix/ftol.nasm: added a small library of "safe" qftol
  1299. variations that explicitely set the control word to the
  1300. relevant (4) possibilities.
  1301. 2000-12-13 Bernd Kreimeier <bk@lokigames.com>
  1302. * code/qcommon/vm_x86.c: an entire day spent trying to nail
  1303. the ftol issues. It breaks down like this: id used to use
  1304. an unsafe (no setting FPU control word) fistp. That seemingly
  1305. caused subtle physics bugs which nobody cared about in 1.17.
  1306. They then changed the UI code, and ran into the UI bugs:
  1307. menu entries shifted to the right, fonts vanishing. Then
  1308. they switched to using _ftol. Then they had to reproduce
  1309. the old behavior for the physics code due to public outrage.
  1310. My original port used a simple (long)float cast, which gcc
  1311. seemingly compiles to code that does OR 0C00 on whatever
  1312. current control word (precision unchanged). This breaks the
  1313. menus. If I use the unprotected fistp instead, which should
  1314. (Linux 037F default) use "nearest/even", then my menus are
  1315. correct. That would mean Win32 _ftol in id's compile does
  1316. the same, only that would require /qifist or some equivalent
  1317. compile flag, which I can't find. Two disassemblies of _ftol
  1318. I got from others showed OR 0C00 as part of the default (ANSI)
  1319. behavior.
  1320. 2000-12-13 Bernd Kreimeier <bk@lokigames.com>
  1321. * code/game/bg_pmove.c (PmoveSingle): trap_SnapVector.
  1322. The one true and single call to snap velocity.
  1323. Note: bspc/map.c:void SnapVector(vec3_t normal)
  1324. qcommon/cm_patch.c:void CM_SnapVector(vec3_t normal)
  1325. game/q_shared.h: #define SnapVector(v) {v[0]=((int)(v[0]));...
  1326. * code/client/cl_cgame.c: CG_SNAPVECTOR.
  1327. * code/server/sv_game.c: G_SNAPVECTOR.
  1328. Note: these go through trap_SnapVector in syscalls.
  1329. * code/unix/unix_shared.c (Sys_SnapVector): sticking to
  1330. old Linux version for now...
  1331. * code/win32/win_shared.c (Sys_SnapVector): changed.
  1332. Note: Graeme points out this was changed to fix ftol
  1333. artifacts?
  1334. TODO: calculate errors for various ftol variants...
  1335. * code/qcommon/vm_x86.c: both the old fistp code (1.17)
  1336. and the new qftol function apparatently work. Using the
  1337. ftol.nasm code for now.
  1338. * code/unix/Makefile: DO_NASM and ftol.o.
  1339. * code/unix/ftol.nasm (qftol): created from Mike's SoF
  1340. replacements, with Andrew's help to satify the VM
  1341. stack/call requirements.
  1342. TODO: use Q_ftol herein to replace myftol elsewhere.
  1343. * code/unix/unix_main.c (Sys_ConfigureFPU): SIGFPE.
  1344. TODO: divide by zero in botlib. Disable this for now.
  1345. Note: we can't introduce calculation differences between
  1346. versions, so fixing these will have to wait.
  1347. * code/qcommon/vm_x86.c: two new lines in Win32 branch
  1348. missing from Linux assembly in AsmCall:
  1349. mov eax, dword ptr [edi]
  1350. and eax, [callMask]
  1351. Added, doesn't seem to affect UI etc. bugs.
  1352. Later: no FTOL_PTR, use fistp non-IEEE assembly as in old
  1353. version. This seems to work for Q3 and TA, while qftol
  1354. (simple cast) does not - for Win32 Graeme says the reverse
  1355. is true.
  1356. * code/qcommon/vm_x86_old.c: used the old cvs-1.17 version.
  1357. Two fixes (Hunk_Alloc, Com_Memcpy), and it works:
  1358. +set vm_game 2 +set vm_ui 2 +set vm_cgame 2
  1359. UI, cgame and game w/o apparent problems.
  1360. 2000-12-12 Bernd Kreimeier <bk@lokigames.com>
  1361. * code/unix/Makefile: cleanup of redundant flags.
  1362. Removed bogus MALLOC_CHECK (note to self: export MALLOC_CHECK_=2).
  1363. Also DO_SHLIB_CC on all UI DLL's.
  1364. Added and removed DEBUG_VM flag.
  1365. TODO: figure out whether Zoid did UI this way intentionally.
  1366. Note: this seemingly fixed the botimport problem, although
  1367. most of the changes were just redundant CFLAGS removed. Given
  1368. our wanker toolchain, should have been more paranoid. All
  1369. DLL's can now be used w/o apparent problems.
  1370. * code/server/sv_main.c: gvm init.
  1371. * code/server/sv_game.c: gvm assertions.
  1372. * code/unix/unix_main.c (Sys_LoadDll): print vmMain
  1373. Note: top no avail. There is some odd ld/gdb problem here
  1374. that prevents examining globals and obfuscates part of
  1375. the stack between VM_Call and lower level code, through
  1376. G_InitGame. This is not just DLL's being loaded and unloaded.
  1377. Wromg flags during build? The vmCvar for "bot_developer"
  1378. ends up overlapping global botimport in memory, which
  1379. thus zero-fills part of the function pointer table.
  1380. * code/server/sv_bot.c (SV_BotInitBotLib): this (by way of
  1381. GetBotLibAPI) is responsible for setting botimport, which,
  1382. if using the game DLL, is not properly set up. Called in
  1383. SV_Init().
  1384. * code/game/q_shared.c: Q_strncpyz does zero padding (duh).
  1385. Note: calls strncpy, which does a zero fill up to destsize.
  1386. If destsize exceeds memory size, zero padding will overwrite
  1387. adjacent memory. Suspicion was this happened to botimport.
  1388. * code/qcommon/cvar.c: possible problem in Q_strncpyz call.
  1389. * code/botlib/be_ai_weap.c (weaponinfo_fields): made this static.
  1390. Note: it seems that the "number" string got replaced by
  1391. p def.fields[0]
  1392. {name = 0x40000000 "\177ELF\001\001\001", offset = 2, type = 50, ..
  1393. Memory corruption?
  1394. * code/game/inv.h (WEAPONINDEX_GAUNTLET): defined here.
  1395. * botfiles/weapons.c (Gauntlet): the baseq3/qagamei386.so parser
  1396. breaks here:
  1397. number WEAPONINDEX_GAUNTLET
  1398. * code/botlib/l_precomp.c (SourceWarning): added assertion to
  1399. trap botlib parsing problem..
  1400. * RC1: for beta test. Using my own vm/ui.qvm files in this case.
  1401. TODO: Setup with nouninstall.
  1402. TODO: fix game DLL/ botlib setup problem (so all DLL's work)
  1403. TODO: SIGFPE
  1404. TODO: profile?
  1405. * code/unix/Makefile (ai_vcmd.o): added to game DLL linkage.
  1406. How the fuck did this happen?
  1407. DONE: "qagamei386.so: undefined symbol: BotVoiceChat_Defend"
  1408. * TEST: +set vm_ui 2 (vm_x86, not interpreter). Breaks!
  1409. Further: qagame had undefined, but seemingly gets reloaded
  1410. second try (I hate the Linux linker).
  1411. * TODO: never reload fail DLL, abort engine
  1412. 2000-12-11 Bernd Kreimeier <bk@lokigames.com>
  1413. * TEST: recompile QVM/DLL and executable to test new UI code.
  1414. The UI QVMs from the paks still do not work.
  1415. * SOS: changes in UI code!
  1416. * code/q3_ui/ui_public.h: this file is deprecated
  1417. Note: e.g. it does not contain the background track calls.
  1418. * code/ui/ui_public.h: the uiImport_t enum here determines
  1419. the values.
  1420. * code/ui/ui_syscalls.asm: same as q3_ui now, were:
  1421. equ floor -111
  1422. equ ceil -112
  1423. * code/q3_ui/ui_syscalls.asm: these are now switched, were:
  1424. equ trap_S_StartBackgroundTrack -63
  1425. equ trap_S_StopBackgroundTrack -64
  1426. The new values match the ui/ equivalent. Also, floor (-108)
  1427. and ceil (-109) are different in ui/.
  1428. * CVS: going to check in this snapshot and tag it as
  1429. cvs tag id1-27g-loki001209-rc4
  1430. Presumed equivalent to SOS tag "1.27g RC4" (master). As I can't
  1431. obtain the tagged code using SOS (neither Win32 nor Linux client)
  1432. I can only guess.
  1433. * TEST: use my own VM code, ion baseq3/vm/*.qvm and missionpack/vm/.
  1434. This works - in other words, the menu bug seems in the UI code, and
  1435. is fixed in my codebase.
  1436. * TEST: make release.
  1437. Note: I can postpone DLL specific problems. Bad performance is not
  1438. as important as outright bugs. Thus the UI QVM issue is the only
  1439. one that stops me from creating an RC.
  1440. TODO: Q3 UI QVM code from pak file does not work (neither does TA).
  1441. TODO: sound with video playback still awful. Threaded sound, I guess.
  1442. TODO: ERROR: couldn't open demos/DEMO002.dm3.dm_48 (same demo001.dm3.dm_48)
  1443. TODO: do not show Q3 demos in TA menu?
  1444. TODO: new demos for Q3? Or at least error message?
  1445. * code/game/bg_lib.c: itrinsics excluded by Q3_VM (another -O
  1446. compile). Uninitialized variable.
  1447. * code/unix/Makefile: -O for uninit on patched code. Also shortcuts.
  1448. TODO: DC_ONLY seems an obsolete flag, used in Makefiles, not source.
  1449. * TEST: +set sv_pure 0 +set vm_game 1 +set vm_cgame 1 +set vm_ui 0
  1450. Turns out that the pak0.pk3 UI QVM code is seemingly broken in TA
  1451. and Q3, but my UI DLL is not. In reverse, the QVM game/cgame for
  1452. Q3 seems to work quite well (including bots). The TA game/cgame
  1453. also works, including botlib init.
  1454. TODO: BotLib Init using game DLL gives:
  1455. TODO: Error: file weapons.c, line 38: unknown structure field number
  1456. TODO: Fatal: couldn't load the weapon config
  1457. TODO: Error: BotLoadMap: bot library used before being setup
  1458. * TEST: checked the rc4winstlr.zip CD tree against
  1459. my test install. baseq3/pak4.pl3 and missionpack/pak0.pk3
  1460. are identical, but I finally recognized that there was
  1461. a missionpack/pak1.pk3 not in the final install - left over
  1462. from an earlier update from id. Doesn't seem to affect the
  1463. DLL based runs at all.
  1464. Note: I still do not have the final CD snapshot Robert
  1465. promised me mid last week, they haven't even fixed the
  1466. FTP account they took down. Communication with id is as
  1467. abyssmal as ever.
  1468. 2000-12-08 Bernd Kreimeier <bk@lokigames.com>
  1469. * TEST: running with RC4 data files.
  1470. TODO: "bot library used before setup" (Q3+TA)
  1471. TODO: Q3 old mods wreak havoc (graceful bounce)
  1472. TODO: suppress "FreeType code not available" in renderer
  1473. TODO: can't move in Q3
  1474. TODO: items flicker in Q3
  1475. TODO: no decals in Q3
  1476. TODO: VM UI code still broken (Q3+TA)
  1477. TODO: sound code is awful
  1478. TODO: video playback inferior to earlier builds
  1479. * code/q3_ui/ui_local.h: prototype trap_VerifyCDKey(..)
  1480. * code/game/g_active.c ( StuckInOtherClient): TA only.
  1481. * code/cgame/cg_draw.c: 4x unbalanced `#endif' - from patch?
  1482. * code/null/null_client.c (CL_CDKeyValidate): dummy added.
  1483. * code/qcommon/common.c: Q_acos missing, changed conditionals
  1484. * code/qcommon/vm_x86.c: unreacheable _asm instruction that
  1485. gcc doesn't quite like... #if 0'ed for now
  1486. TODO: understand _asm { mov eax,[ebx] }, fix it for gcc
  1487. * TEST: compile...
  1488. * code/ui/ui_main.c: full REJECT. Manual merge.
  1489. Note: preserved debug_protocol lines, who knows what it's good for.
  1490. * code/qcommon/files.c: REJECT. SafeMode, demo server FS_Restart.
  1491. * code/client/snd_mem.c: REJECT: $SOS$.
  1492. * code/client/snd_dma.c: REJECT: $SOS$.
  1493. * code/client/cl_cin.c: REJECT. com_timescale, $SOS$.
  1494. * code/cgame/cg_draw.c: REJECT. Lots, but virtually all either
  1495. float postfix (on some, not all places), or #ifndef MISSIONPACK
  1496. that I had already put in during -Werror (conditional unused).
  1497. * code/cgame/cg_consolecmds.c: REJECT. id commented unused code
  1498. that I had #if 0'ed earlier.
  1499. * code/game/: three REJECT for $SOS$.
  1500. * code/botlib/: lots REJECT for $SOS$.
  1501. * Patch: patching up from demo source.
  1502. ln -s sos001204-rc4 work
  1503. diff -urbB sos001122-demo/ work > work.diff
  1504. ln -s cvs-1.27b/ work
  1505. patch -p0 < work.diff > work.patch
  1506. find cvs1.27b/ -name '*.rej' -print
  1507. * CVS: going to check in this snapshot and tag it as
  1508. cvs tag id1-27b-loki001208-demo
  1509. Then patching up to RC4, as of sos001204-rc4 (no changes since,
  1510. should be equivalent to SOS tag "1.27g RC4" (raduffy), i.e. master.
  1511. * TEST: installed demota/ from Win32 distribution. Binary
  1512. fails claiming "Corrupted pak0.pk3". Abandoned.
  1513. Note: a Linux demo for Q3TA has no priority. Most important is
  1514. the Q3A point release in time for Q3TA hitting shelves, followed
  1515. by testing for Q3TA. The source is in CVS and tagged (see above)
  1516. in case a demo matching the released files has to be provided
  1517. later.
  1518. 2000-12-07 Bernd Kreimeier <bk@lokigames.com>
  1519. * TEST: compile and link - succeeds.
  1520. * code/ui/ui_main.c: UI_StopServerRefresh now uaws.
  1521. New unused variables.
  1522. * code/unix/unix_main.c: added Sys_LowPhysicalMemory() stub.
  1523. TODO: write Linux equivalent to GlobalMemoryStatus.
  1524. * code/qcommon/common.c: Com_Memset/Com_Memcpy. Neither assembly
  1525. nor C versions included if not on Win32 i386.
  1526. TODO: using/porting assembly?
  1527. * code/qcommon/files.c: unused variable.
  1528. TODO: fs_scrambledProductId unused if 0 for now.
  1529. Note: -DFS_MISSING for id's pak cleanup, not used.
  1530. * TEST: compile and link - fails.
  1531. * code/macosx/Client/Makefile.postamble: empty ORIG.
  1532. * code/macosx/Client/Makefile.preamble: ORIG. $(BOTLIB_OBJS) added.
  1533. * code/server/sv_client.c: ORIG. Com_Memset.
  1534. * code/renderer/tr_shader.c: ORIG. Com_Memset, CIN_Shader.
  1535. * code/qcommon/vm_x86.c: ORIG. Com_Memcpy.
  1536. * code/qcommon/unzip.c: REJECT. Com_Memcpy, $SOS$.
  1537. * code/qcommon/qcommon.h: ORIG. PROTOCOL 47, plus Sys_LowPhysicalMemory.
  1538. * code/qcommon/md4.c: Com_Memset,Com_Memcpy (ORIG).
  1539. * code/qcommon/files.c (Sys_ConcatenateFileList): REJECT.
  1540. Our additons threw it off, plus $SOS$.
  1541. * code/qcommon/common.c: they fixed same unused variables (REJECT).
  1542. * code/ui/ui_shared.c: additions (ORIG).
  1543. * code/ui/ui_gameinfo.c: COM_Compress added (ORIG).
  1544. * code/ui/ui_atoms.c: print statements removed (ORIG).
  1545. * code/ui/ui_main.c (UI_DoServerRefresh): REJECT on comment edit...
  1546. * code/game/g_cmds.c (Cmd_VoiceTaunt_f): logic changed heavily. ORIG.
  1547. * code/game/q_shared.h: Q3_VERSION "Q3 Team Arena Demo 1.27b"
  1548. plus Com_Memset, Com_Memcpy, CIN_shader, COM_Compress.
  1549. * code/game/g_main.c: Cvar change only
  1550. * code/game/ai_dmq3.c: $SOS$.
  1551. * code/client/snd_mix.c: Com_Memset
  1552. * code/client/client.h: additions (ORIG).
  1553. * code/client/snd_mem.c: see below.
  1554. * code/client/snd_dma.c: $SOS$ (CVS keyword).
  1555. * code/client/cl_cin.c: they removed unused (REJECT).
  1556. * code/cgame/cg_servercmds.c: ORIG. compress, noTaunt etc.
  1557. * code/cgame/cg_main.c: ORIG. Conditonal branch, COM_Compress.
  1558. * code/cgame/cg_consolecmds.c: ORIG. Cvar values changed.
  1559. * code/cgame/cg_draw.c (CG_DrawTeamBackground): ORIG.
  1560. no reject but *.orig file created. I just mark spots were
  1561. code changed after verifying the patch succeeded.
  1562. * code/cgame/cg_event.c: fixed reject (REJECT).
  1563. * code/botlib/: all *.rej here due to SOS/CVS $Keyword$.
  1564. TODO: preserve SOS comments/rev history somehow.
  1565. * Patch: patching up to demo source.
  1566. ln -s sos001122-demo work
  1567. diff -urbB sos001119/ work > work.diff
  1568. ln -s cvs-1.26/ work
  1569. patch -p0 < work.diff > work.patch
  1570. find cvs1.26/ -name '*.rej' -print
  1571. * CVS: going to check in this snapshot and tag it as
  1572. cvs tag id1-26w-loki001207
  1573. to prepare for upgrading to RC4. I have already made
  1574. many more changes than I wanted to w/o getting any
  1575. closer to pinpointing the problem, I might as well
  1576. patch up to id's more current sources.
  1577. * code/botlib/be_interface.c: initialize by memset. Turns
  1578. out that this fails in Export_BotLibSetup on BotSetupWeaponAI
  1579. loading "weapons.c" (from the pak, presumably) with an unknown
  1580. structure field number. Mismatch of datafiles vs. source again.
  1581. TODO: id replaced memsets in later source.
  1582. TODO: have memsets on all exports and imports.
  1583. * SOS: RC4 source should be tagged "1.27g RC4" (raduffy).
  1584. Unfortunately the Linux client doesn't care a bit. Show
  1585. History does work if from/to date differ by at least a
  1586. day, and it shows the tag on code/ (only that subtree),
  1587. but recursive get aborts halfway.
  1588. Manual: http://www.sourcegear.com/SOS/Doc/
  1589. 2000-12-06 Bernd Kreimeier <bk@lokigames.com>
  1590. * TEST: accepting missing shaders now. No bots, but I can
  1591. actually enter the game and play (more than can be said for
  1592. classic Q3 right now).
  1593. TODO: Error: BotStartFrame: bot library used before being setup
  1594. * code/renderer/tr_shader.c: took out assertion for now...
  1595. * TEST: now missiopack/cgame loads
  1596. TODO: tr_shader.c:2275: R_FindShaderByName: failed
  1597. TODO: searches ui/assets/3_cursor2.TGA, has ui/assets/3_cursor3.tga
  1598. * code/unix/Makefile (MPCGOBJ): ui_shared.o (duh).
  1599. DONE: /cgamei386.so: undefined symbol: PC_Float_Parse
  1600. * code/botlib/be_ai_goal.c: initialize campspots etc. This
  1601. might or might not fix this one (didn't get back to gdb due
  1602. to mouse-only navigation).
  1603. DONE: 0x80d1d5b in BotFreeInfoEntities () at be_ai_goal.c:447
  1604. * TEST: this time with missionpack/cgame loading... noy
  1605. TODO: TA menu blocked after end of intro movie
  1606. TODO: console in_mouse 1 doesn't grap pointer even on vid_start?
  1607. * code/cgame/cg_newdraw.c: -Werror.
  1608. * code/unix/Makefile (MPCGOBJ): cg_newdraw.o was missing (duh).
  1609. DONE: missionpack/cgamei386.so: undefined symbol: CG_OwnerDrawVisible"
  1610. * code/ui/ui_shared.c:1309 assign after bail on NULL.
  1611. DONE: segfault in Item_SetFocus (item=0x0, x=0, y=0)
  1612. * TEST: new set of DLL's (this time hopefully correct).
  1613. All baseq3/ DLL's load, as does the missionpack/ UI DLL.
  1614. The menus now work in both (TA seems mouse-only on everything
  1615. but "Quit"). Segfault on delayed TA "Quit" (stack fubared):
  1616. #5 0x809fc28 in VM_Call (vm=0x88408a0, callnum=3) at ..//qcommon/vm.c:617
  1617. #6 0x805aafc in CL_KeyEvent (key=9, down=qtrue, time=128644) cl_keys.c:1194
  1618. TODO: TA menu's w/o mouse?
  1619. TODO: Win32 goes submenus but does not unfold
  1620. TODO: Linux does not go submenus
  1621. * code/ui/ui_main.c: see below.
  1622. TODO: LCC gets fits - operands of = have illegal types
  1623. TODO: 'pointer to const unsigned char' and 'pointer to const char'
  1624. * code/ui/ui_shared.c: see below.
  1625. * code/ui/ui_gameinfo.c: see below.
  1626. * code/ui/ui_atoms.c: see below.
  1627. * code/game/g_bot.c: more cruft.
  1628. * code/cgame/cg_draw.c: loads of functions modified for
  1629. MISSIONPACK that aren't used at all for MISSIONPACK anymore.
  1630. Development relics.
  1631. * code/cgame/cg_consolecmds.c: -Werror.
  1632. Note: due to Makefile error never ever compiled...
  1633. * code/unix/Makefile: fixed various dependency errors
  1634. for game and ui library.
  1635. TODO: create a new Makefile with patsubst and rules.
  1636. TODO: why C_ONLY in the i386 dedicated server?
  1637. * code/unix/unix_main.c: use dlerror() excessively.
  1638. Littered more unused DLL related functions with assert(0).
  1639. TODO: clean up Sys_Load/UnloadDll (a real mess)
  1640. TODO: remove Zoid code cruft (unused per-DLL functions)
  1641. * code/game/bg_misc.c: changed G_Printf for Com_Printf.
  1642. This was undefined in baseq3/uii386.so preventing loading.
  1643. * TEST: +set sv_pure 0 +set vm_game 0 +set vm_cgame 0 +set vm_ui 0
  1644. Note: so far I used only the game DLL.. duh.
  1645. UI DLL fails to load: missing G_Printf.
  1646. * code/unix/Makefile: -DMALLOC_CHECK in addition to
  1647. the -DZONE_DEBUG I have used since switching to calloc.
  1648. Using MALLOC_CHECK=1 for now, might use 2 if something
  1649. comes up.
  1650. * code/renderer/tr_init.c (GL_SetDefaultState): it does get
  1651. called, but does not show up in the log.
  1652. * TEST: tried executing a script - get bounced.
  1653. TODO: is there any way to jump into a map?
  1654. TODO: cl_cinematics 0 (suppress all fullscreen RoQ)
  1655. Next: used r_logfile 200 in Win32 (RC4) and Linux.
  1656. There is a buckload of setup code seemingly not done
  1657. at all in Linux? Either that, or logging is enabled
  1658. with a delay in Linux.
  1659. * code/unix/linux_glimp.c: fixed autorepeat (H2/Fakk2 way).
  1660. 2000-12-05 Bernd Kreimeier <bk@lokigames.com>
  1661. * code/renderer/tr_mesh.c: added assert there.
  1662. * TEST: menus and in-game drawing are just as they were with
  1663. the initial SOS001119 port. In addition:
  1664. R_AddMD3Surfaces: no such frame 0 to -2147483477
  1665. for 'models/players/xaero/upper.md3'
  1666. R_AddMD3Surfaces: no such frame -2147483477 to 171
  1667. R_AddMD3Surfaces: no such frame 171 to -2147483498
  1668. ad nauseam (used as my player model).
  1669. Triggered: haveing a trRefEntity_t *) 0x41dbbd00 with
  1670. frame = -2147483477. Might be a red herring (PRINT_DEVELOPER),
  1671. ignore for now.
  1672. * code/ui/ui_main.c: missing return.
  1673. * code/ui/ui_shared.c: excess byte in initializer (which gcc
  1674. did not caught, but LCC did). Also LCC complains about
  1675. missing returns, but gcc doesn't (neither says unreacheable
  1676. code though). If necessary (MsVC?) guard with Q3_VM.
  1677. * code/q3_ui/ui_ingame.c: see below.
  1678. * code/q3_ui/ui_atoms.c: voidfunc_f. LCC warns about conversion
  1679. from `pointer to void' to `pointer to void function(void)'
  1680. being compiler dependent. Casting NULL. Guess what, doesn't fix
  1681. it either.
  1682. TODO: do not use these cursed scripts to generate VM code,
  1683. we do not have proper rules for LCC/q3asm, thus the files never
  1684. get updated.
  1685. * code/unix/Makefile: for paranoia's sake recreated the 1.17
  1686. compile for the UI DLL (where only q_shared/math were actually
  1687. compiled as DO_SHLIB_CC.
  1688. Later: switched to different gcc.
  1689. * STATIC: remaining problems are vmMain (same entry point for all
  1690. DLL's), could use cgMain, uiMain and gMain here for HARD_LINKED.
  1691. Note: I don't think id has used this in ages.
  1692. Plus all the collisions in *_syscalls.c, which simply can't be
  1693. fixed cheaply. None is the superset of 2 others, neither seems
  1694. w/o overlap to others. Full stop.
  1695. * code/botlib/be_aas_move.c: see below.
  1696. * code/game/ai_dmq3.c: VEC_UP/DOWN, MOVEDIR_UP/DOWN now static.
  1697. See also game/g_utils.c for existing static duplicates.
  1698. * code/game/q_shared.h: #define stricmp strcasecmp
  1699. * code/unix/Makefile: no mo' -Dstricmp=strcasecmp, see q_shared.h
  1700. Also: no mo' -I/usr/include/glide, no FX
  1701. TODO: are we building against system GL headers? ../Mesa/?
  1702. * code/q3_ui/ui_atoms.c: comment on duplication
  1703. * code/cgame/cg_drawtools.c: use UI/CGAME_HARD_LINKED on UI duplicates
  1704. TODO: does this UI_ code in cg_drawtools/ui_atoms belong into ui_shared?
  1705. * code/unix/Makefile: use -DQ3_STATIC
  1706. * code/game/q_shared.h (*_HARD_LINKED): trigger on Q3_STATIC
  1707. Later: collision between UI and CGAME is still there. This fixed
  1708. the Com_Error, Com_Printf issues though
  1709. * code/unix/Makefile ($(B)/q3static/ai_vcmd.o): this file was
  1710. missing, hence undefined symbol.
  1711. ($(B)/baseq3/game/ai_vcmd.o): same here.
  1712. ($(B)/missionpack/game/ai_vcmd.o): same here.
  1713. * STATIC: cg_syscalls.c, g_syscalls.c and ui_syscalls.c alias.
  1714. Multiply defined symbols:
  1715. Com_Error, Com_Printf
  1716. VEC_UP, VEC_DOWN
  1717. MOVEDIR_UP, MOVEDIR_DOWN
  1718. vmMain
  1719. dllEntry
  1720. PASSFLOAT
  1721. trap_Error
  1722. trap_Milliseconds
  1723. trap_Argc
  1724. trap_Argv
  1725. trap_FS_FOpenFile
  1726. trap_FS_Read
  1727. trap_FS_Write
  1728. trap_FS_FCloseFile
  1729. trap_FS_GetFileList
  1730. trap_R_RegisterModel
  1731. trap_R_RegisterSkin
  1732. trap_R_RegisterFont
  1733. trap_R_RegisterShaderNoMip
  1734. trap_R_ClearScene
  1735. trap_R_AddRefEntityToScene
  1736. trap_R_AddPolyToScene
  1737. trap_R_AddLightToScene
  1738. trap_R_RenderScene
  1739. trap_R_SetColor
  1740. trap_R_DrawStretchPic
  1741. trap_R_ModelBounds
  1742. trap_UpdateScree
  1743. trap_S_StartLocalSound
  1744. trap_S_RegisterSound
  1745. trap_Key_IsDown
  1746. trap_Key_GetCatcher
  1747. trap_Key_SetCatcher
  1748. trap_GetGlconfig
  1749. trap_PC_AddGlobalDefine
  1750. trap_PC_LoadSource
  1751. trap_PC_FreeSource
  1752. trap_PC_FreeSource
  1753. trap_PC_ReadToken
  1754. trap_PC_SourceFileAndLine
  1755. trap_S_StopBackgroundTrack
  1756. trap_S_StartBackgroundTrack
  1757. trap_RealTime
  1758. trap_CIN_PlayCinematic
  1759. trap_CIN_StopCinematic
  1760. trap_CIN_RunCinematic
  1761. trap_CIN_DrawCinematic
  1762. trap_CIN_SetExtents
  1763. trap_MemoryRemaining
  1764. trap_SendConsoleCommand
  1765. trap_Cvar_Register
  1766. trap_Cvar_Update
  1767. trap_Cvar_Set
  1768. trap_Cvar_VariableValue
  1769. trap_Cvar_VariableStringBuffer
  1770. trap_RealTime
  1771. trap_SnapVector // used in game/bg_*.c, needs conditional
  1772. More aliasing between ui_atoms.c and cg_drawtools.c:
  1773. UI_DrawBannerString
  1774. UI_ProportionalStringWidth
  1775. UI_ProportionalSizeScale
  1776. Undefined symbol: ai_team.o: In function `FindHumanTeamLeader':
  1777. ai_team.c:1899: undefined reference to `BotVoiceChat_Defend'
  1778. Note:
  1779. * code/game/g_main.c: unused.
  1780. * code/game/g_arenas.c: unused.
  1781. * code/game/ai_team.c: init.
  1782. * code/game/ai_dmnet.c: /* in comment (odd).
  1783. Note: why do these come up now but not earlier?
  1784. TODO: the make dependencies might target wrong files.
  1785. * code/unix/Makefile (TARGETS): added q3static.
  1786. Note: this is baseq3/
  1787. * TEST: +set r_logfile 100. It seems that the addition of
  1788. code (add an assertion etc.) changes the behavio of the binary.
  1789. The intro cinematics code seems to suffer first - didn't play,
  1790. then played, then (another assert added) doesn't play. Watch
  1791. out for (missionpack):
  1792. UI_CIN_PlayCinematic
  1793. SCR_PlayCinematic( mpintro.roq )
  1794. trFMV::play(), playing mpintro.roq
  1795. Also fails to exit cleanly: break gives
  1796. #0 0x401919ee in __select ()
  1797. #1 0x400bbcb8 in __DTOR_END__ ()
  1798. #2 0x4004baa1 in _XSend ()
  1799. #3 0x452b009f in GLXRenderFlush ()
  1800. #4 0x804ce0c in _XRead ()
  1801. #5 0x40680813 in ?? ()
  1802. Stack is corrupted.
  1803. Note: ~/.q3a/gl.log
  1804. TODO: write per-frame files (see Heretic2)
  1805. TODO: add Heretic2 QGL (more detail)
  1806. * code/unix/linux_qgl.c (QGL_EnableLogging): fixed countdown
  1807. (i.e. propagated changes from win32/, see Fakk2).
  1808. * code/unix/linux_glimp.c: fixed QGL_EnableLogging argument
  1809. to avoid cast error (always qfalse).
  1810. * code/unix/Makefile (DEBUG_CFLAGS): use ZONE_DEBUG.
  1811. * code/qcommon/common.c: replaced malloc with calloc calls.
  1812. * code/q3_ui/ui_local.h: have to use ui/ui_public.h
  1813. * code/cgame/cg_servercmds.c: requires ../ui/menudef.h
  1814. * code/cgame/cg_consolecmds.c: ui/ui_shared.h is unique.
  1815. * code/q3_ui/ui_public.h: make sure this won't be compiled.
  1816. * code/client/client.h: we have to include ui/ui_public.h.
  1817. Note: id is obviously maintaing only the ui/ headers, so the
  1818. headers in q3_ui/ are deprecated.
  1819. * code/renderer/tr_shader.c: added assertions (see Ryan's Fakk2
  1820. problems with missing shaders).
  1821. * code/game/g_cmds.c: below.
  1822. * code/game/ai_vcmd.c: below.
  1823. * code/game/ai_team.c: below.
  1824. * code/game/ai_dmnet.c: below.
  1825. * code/game/ai_dmq3.c: below.
  1826. * code/game/ai_chat.c: below.
  1827. * code/game/ai_cmd.c: ../../ui/menudef.h (new Q3TA script directory).
  1828. * code/cgame/cg_newdraw.c: make sure it won't compile w/o MISSIONPACK.
  1829. * code/cgame/cg_servercmds.c: below.
  1830. * code/cgame/cg_event.c: below.
  1831. * code/cgame/cg_consolecmds.c: below.
  1832. * code/client/keys.h: below.
  1833. * code/client/client.h: below.
  1834. * code/q3_ui/ui_local.h: include from ../q3_ui/ not ../ui/.
  1835. Note: id seems to intentionally use the header from the new ui/.
  1836. * Makefile: checked -I$(UIDIR), there is no such. That means all
  1837. files include directly, which means all (including Q3) are using
  1838. the new ui/ headers.
  1839. 2000-12-04 Bernd Kreimeier <bk@lokigames.com>
  1840. * RC4: released as 362101115 Dec 4 11:40 TA_Q3A_RC4.zip
  1841. * TEST: the corrupted menu problem is back :-(. Looks like I am in
  1842. for a static link next.
  1843. * code/unix/Makefile (clean2): fixed (not all new OBJ covered).
  1844. * code/q3_ui/ui_teamorders.c: -Werror.
  1845. * code/q3_ui/ui_team.c: -Werror.
  1846. * code/q3_ui/ui_qmenu.c (Bitmap_Draw): -Werror.
  1847. * code/q3_ui/ui_mods.c (UI_Mods_LoadModsFromFile): unused. -Werror.
  1848. * code/q3_ui/ui_controls2.c: -Werror.
  1849. * code/q3_ui/ui_atoms.c: -Werror
  1850. * code/null/null_client.c: -Werror.
  1851. * code/unix/linux_joystick.c: -Werror.
  1852. * code/unix/linux_glimp.c: -Werror.
  1853. * code/unix/linux_qgl.c: -Werror.
  1854. * code/unix/unix_shared.c: -Werror.
  1855. * code/unix/unix_net.c: -Werror.
  1856. * code/unix/linux_local.h: added missing prototypes.
  1857. * code/unix/unix_main.c: -Werror. Includes linux_local.h
  1858. * code/jpeg-6/jdmainct.c: see below.
  1859. * code/jpeg-6/jcmainct.c: variables called "main" (*moan*)
  1860. * code/jpeg-6/jcdctmgr.c (forward_DCT): -Werror.
  1861. * code/botlib/l_script.c (PS_ReadLiteral): -Werror
  1862. * code/botlib/l_precomp.c (PC_AddBuiltinDefines): -Werror.
  1863. * code/botlib/be_interface.c: -Werror.
  1864. * code/botlib/be_aas_reach.c: -Werror
  1865. * code/botlib/be_aas_cluster.c: -Werror
  1866. * code/game/be_aas.h: -Werror.
  1867. Note: MrElusive accumulates a lot of code history in nested comments,
  1868. which gcc doesn't like at all. #if 0'ed to avoid.
  1869. * code/qcommon/vm_interpreted.c: -Werror.
  1870. * code/qcommon/unzip.c: -Werror.
  1871. * code/cgame/cg_servercmds.c: -Werror.
  1872. * code/cgame/cg_main.c: -Werror.
  1873. * code/cgame/cg_drawtools.c: -Werror.
  1874. * code/game/bg_misc.c: -Werror.
  1875. * code/game/be_ai_move.h (bot_avoidspot_s): added.
  1876. * code/botlib/be_ai_move.c: removed typedef struct bot_avoidspot_s
  1877. * code/client/snd_mix.c: -Werror.
  1878. * code/qcommon/md4.c: -Werror.
  1879. * code/qcommon/common.c: -Werror.
  1880. * code/client/cl_keys.c: -Werror.
  1881. * code/client/cl_cin.c: -Werror, init local variables.
  1882. * code/unix/Makefile: -Werror. need -O for -Wall for uninitialized
  1883. Note: the above is the list of files that got touched during a pass
  1884. with -g -O -Werror -Wall flags (in the hope of finding uninitialized
  1885. memory and ambiguous statements). Most of the above are simply
  1886. unused variables (or even code).
  1887. TEST: RC3 data files, but DLL's.
  1888. TODO: TA gets stuck in initial sound, doesn't play cinematics (sometimes)
  1889. TODO: Q3 intro movie looses sound after Sarge gets teleported
  1890. TODO: Q3 ingame renders world, weapon, muzzleflash, hud, can shoot,
  1891. TODO: but no movement, hud background is fubared.
  1892. * code/cgame/cg_main.c: cg_singlePlayerActive
  1893. * code/q3_ui/ui_login.c: doesn't seem to be used?
  1894. * code/game/g_rankings.c (G_RankRunFrame): doesn't seem to be used.
  1895. * code/q3_ui/ui.sh: disabled this.
  1896. * code/q3_ui/q3_ui.sh: changed include path to ../q3_ui/ (duh).
  1897. * code/game/game.sh: changed include path to ../q3_ui/ which
  1898. is not in the Win32 batch file.
  1899. * code/cgame/cg_rankings.c: this does not seem to be included.
  1900. * code/cgame/cgame_ta.sh: added -DCGAME. Also added cg_syscalls.c
  1901. to build (also missing in Win32).
  1902. * code/cgame/cgame.sh: added -DCGAME (see cgame.bat). Also
  1903. changed include path to ../q3_ui/ which is not in the Win32
  1904. batch file. Also added cg_syscalls.c to build (missing in
  1905. Win32).
  1906. 2000-12-01 Bernd Kreimeier <bk@lokigames.com>
  1907. * RC3: released as of sos001201 / Q3 1.27f
  1908. * code/unix/Makefile: more fixes with clean build. The
  1909. changes made fix the menu rendering for Q3 but not TA.
  1910. Ingame graphics still broken.
  1911. * code/game/game_ta.sh: created. Use game_ta.q3asm here.
  1912. * code/game/game.sh: no -DMISSIONPACK
  1913. * code/game/game_ta.q3asm: CR/LF, /.
  1914. * code/cgame/cgame_ta.sh: created. Use cgame_ta.q3asm here.
  1915. * code/cgame/cgame.sh: no -DMISSIONPACK. No cg_newdraw, ui_shared.
  1916. * code/cgame/cgame.q3asm: No cg_newdraw, ui_shared.
  1917. CR/LF, /, cg_newDraw, and the output path/name.
  1918. * code/q3_ui/q3_ui.q3asm: output to ui not q3_ui...
  1919. * code/cgame/cg_event.c: cg_singlePlayerActive used here.
  1920. TODO: guard by MISSIONPACK
  1921. * code/cgame/cg_local.h: named q3print_t enum. Cvar
  1922. cg_singlePlayerActive for both Q3 and TA.
  1923. * code/unix/Makefile: cleanly separate B/baseq3/ and
  1924. B/missionpack/ subtrees during build. While new and old
  1925. UI are in separate directories, the cgame/ and game/
  1926. are shared, with conditional -DMISSIONPACK compile
  1927. and different files includeds (cd_draw, cg_newdraw).
  1928. That means twice the number of targets (3 DLL's, 3 QVM's,
  1929. times two), and different build rules.
  1930. TODO: carefully check Win32 build for (other) conditionals
  1931. TODO: carefully check Win32 build for link lists
  1932. * CVS: ui/, code/ui, botfiles/ and subdirectories are added.
  1933. The code/macosx/ directory turned out to be a real pain that
  1934. had to be edited manually, throwing out CVS/ directories in
  1935. the tree that had been created by SOS as they are in id's
  1936. repository:
  1937. code/macosx/Client/CVS
  1938. code/macosx/Client/PBUserInfo/CVS
  1939. code/macosx/Client/Quake3.nib/CVS
  1940. code/macosx/Common/CVS
  1941. code/macosx/DedicatedServer/CVS
  1942. code/macosx/DedicatedServer/PBUserInfo/CVS
  1943. Now tagged
  1944. cvs tag id1-26y-loki001119
  1945. TODO: there are several new files not yet linked?
  1946. * ChangeLog: merged the Changelog from the bk00119 working
  1947. branch (initial Q3TA port) based on sos001119 snapshot. Also
  1948. merged the source tree with cvs-1.17.
  1949. In the ChangeLog below *** MISSIONPACK *** indicates work
  1950. that was done on the branch (code-sos/ prefix in files).
  1951. The cvs update of this will be tagged with
  1952. cvs tag id1-26y-loki001119
  1953. Use this tag to hunt for possible Linux fixes that got lost
  1954. (i.e. got dropped by id since id000516 and were thus not in
  1955. sos001119, but did not show in diff id000516 cvs1-17).
  1956. New directories in CVS: botfiles/, ui/.
  1957. Missing from SOS/Missionpack: SDK directories.
  1958. common, lcc, libs, q3asm, q3data, q3map, q3radiant.
  1959. * ssreport.txt: below.
  1960. Note: watch for files called "ssreport.txt", that's id ChangeLog.
  1961. * ui/ui_syscalls.asm: below.
  1962. * q3_ui/ui_syscalls.asm: below.
  1963. * game/g_syscalls.asm: below.
  1964. * cgame/cg_syscalls.asm: below.
  1965. * bspc/linux-i386.mak: below.
  1966. * bspc/lcc.mak: below.
  1967. * botlib/linux-i386.mak: below.
  1968. * botlib/lcc.mak: below.
  1969. * A3D/a3d_console_variables.txt: CR/LF issue (minimize diffs).
  1970. * CVS: the checked bk001119 work copy of the sos001119 initial
  1971. checkout (completed with everything in the SOS "Missionpack"
  1972. tree, i.e. botfiles/ and botfiles.* added), copied over the
  1973. cvs-1.17 checkout.
  1974. Note: in these cases, BEWARE ui -> q3_ui/ links, and different
  1975. ChangeLogs. Also "make clean" helps.
  1976. * unix/unix_net.c: below.
  1977. * unix/unix_main.c: below.
  1978. * unix/matha.s: below.
  1979. * unix/linux_qgl.c: below.
  1980. * unix/linux_glimp.c: see also linux_joystick.c.
  1981. * server/sv_client.c: below.
  1982. * renderer/tr_surface.c: below.
  1983. * renderer/qgl.h: below.
  1984. * qcommon/qcommon.h: below.
  1985. * qcommon/files.c: below.
  1986. * qcommon/common.c: below.
  1987. * q3_ui/ui_demo2.c: below.
  1988. * mac/mac_net.c: below.
  1989. * mac/mac_glimp2.c: below.
  1990. * game/surfaceflags.h: below.
  1991. * game/bg_lib.c: checked against id00516/cvs-1.17a diff.
  1992. * bspc/bspc.c: TH_AASToTetrahedrons call removed since id000516.
  1993. Note: our final compare of id000516 against cvs-1.17a, making sure
  1994. that all these differences are in bk001119 (initial Q3TA port).
  1995. If id branched the Q3TA base off before id000516 we might be screwed.
  1996. Note: I do not diff against bk000520, which had some minor changes
  1997. against id000516 (check VectorArrayNormalize, OTConfiguration), which
  1998. seem consistent with me taking a pre-id000516 source snapshot for that
  1999. working branch.
  2000. 2000-11-30 Bernd Kreimeier <bk@lokigames.com>
  2001. * TEST: compiled using the symbolic link ui/ -> q3_ui/.
  2002. Had to undo one CVS change, regarding
  2003. code/cgame/cg_syscalls.asm
  2004. code/game/g_syscalls.asm
  2005. code/q3_ui/ui_syscalls.asm
  2006. These files are neither generated by Win32 cgame.bat
  2007. nor cgame.sh (etc.), thus seemingly maintained by hand.
  2008. cvs tag pr1-17-loki001130b
  2009. should be used if somebody needs this 1.17 snapshot
  2010. (which, remember, is post-release, with additional fixes).
  2011. Later:
  2012. cvs tag pr1-17-loki001130c
  2013. includes the full ChangeLog (duh).
  2014. * CVS: up until cvs-1.17-001130, code/ui/ contained the
  2015. Q3 code for the UI QVM/DLL. In Q3TA, this code has been
  2016. moved to code/q3_ui/, while at the same time the new
  2017. (scripting driven) UI code for Q3TA was maintained in
  2018. code/ui/. To preserve the history of code/ui/, it has been
  2019. renamed to q3/ui/ in the CVSROOT.
  2020. Note: this will BREAK all cvs-1.17 and before checkouts.
  2021. To compile earlier versions, move or link q3_ui/ to ui/.
  2022. The code has been tagged
  2023. cvs tag pr1-17-loki001130
  2024. after the change.
  2025. DONE: remove code/*/vm/*.asm from CVSROOT
  2026. Note: this includes code/*/*.asm files (from *_syscalls.c).
  2027. These were originally tracked in CVS, but if we need
  2028. comparison of q3asm output or QVM files we can rely
  2029. on the Win32 and Linux SDK now. These files have been
  2030. physically removed from CVS now, followed by
  2031. cvs tag pr1-17-loki001130a
  2032. 2000-11-30 Bernd Kreimeier <bk@lokigames.com> *** MISSIONPACK ***
  2033. * RC2: new ZIP file (another 360M for convenience).
  2034. * SOS: new CVS module, Quake3_sos. This will be used to track
  2035. the unchanged SOS checkouts from id. As their repository
  2036. is read-only, and there is no estimate on when changes might
  2037. be backpropagated there, I will track their changes in a
  2038. separate module, and update our local Quake3 module
  2039. accordingly. This is effectively "tracking 3rd party"
  2040. w/o import and half-automated, forced mergers - in other
  2041. words, we now branch starting with our post-1.17 changes,
  2042. for the benefit of moving at all.
  2043. Baseline is a slightly changed PR-1.17 id000516 source dump
  2044. (essentially ui/ moved to q3_ui for continuity, and CR/LF etc.).
  2045. cvs import Quake3_sos id000516 pr1-17-win32
  2046. cvs import Quake3_sos sos001119 pr1-26-win32
  2047. cvs import Quake3_sos sos001120 pr1-26-win32-001120
  2048. cvs import Quake3_sos sos001121 pr1-26-win32-001121
  2049. cvs import Quake3_sos sos001122 pr1-26-win32-001122
  2050. cvs import Quake3_sos sos001122-demo pr1-26-win32-demo
  2051. This is about the 1.26w Team Arena Win32 demo release, give or
  2052. take a couple of lines. Has Q3_VERSION "Q3 Team Arena Demo 1.27b".
  2053. cvs import Quake3_sos sos001123 pr1-26-win32-001123
  2054. cvs import Quake3_sos sos001126 pr1-26-win32-001126
  2055. Now track id versions (see code/game/q_shared.h:Q3_VERSION)
  2056. cvs import Quake3_sos sos001128 pr1-27c-win32-001128
  2057. With 1.27d they switched from Demo to full version (RC1).
  2058. cvs import Quake3_sos sos001129 pr1-27d-win32-001129
  2059. cvs import Quake3_sos sos001130a pr1-27d-win32-001130a
  2060. Now switched to 1.27e. This import is done from the SOS
  2061. working directory.
  2062. cvs import Quake3_sos sos001130b pr1-27e-win32-001130b
  2063. Note: SoS created rwx attributes which are luckily fixed
  2064. automagically during import. It is also seemingly incapable
  2065. to compare files, and leave files that have not changed the
  2066. hell alone. I can't do cvs update due to the $..$ tags in
  2067. the original files (which CVS can't be told to ignore),
  2068. so I have to do import (creating a load of vendor tagged
  2069. branches), but at least cvsweb and cvs get the revisions
  2070. right.
  2071. * code-sos/unix/Makefile: added linux_joystick
  2072. * code-sos/unix/linux_local.h: match mac/ and win32/, for prototypes.
  2073. * code-sos/unix/linux_joystick.c: new file, code from linux_glimp.c
  2074. Note: decided to separate this, as (a) we might edit/extend
  2075. a lot, (b), it's not in the id tree, (c) it's not GL, (d)
  2076. there might be even more oddball devices. Anything that
  2077. cuts down on diffs.
  2078. * code-sos/unix/linux_glimp.c (Q_stristr): const return (cvs1.17).
  2079. Also (XLateKey): added more keyboard mappings (ASCII on
  2080. upper row digits) (cvs1.17). Added in the minimal joystick
  2081. hooks (cvars, function calls). Fixed joystick cvar naming
  2082. to match win32 (kept joystick_threshold).
  2083. TODO: joystick stubs for dedicated?
  2084. * CVS: I have to move up to 1.27d (data, Win32 networking).
  2085. With exception of linux_glimp.c (mostly joystick code),
  2086. all cvs1.17 changes should now be in the work snapshot
  2087. based on the first sos001119 we got from id. There are
  2088. also some additional changes in there already, thus I'll
  2089. move the (buggy) 1.26 snapshot into CVS before adding even
  2090. more differences.
  2091. 2000-11-29 Bernd Kreimeier <bk@lokigames.com> *** MISSIONPACK ***
  2092. * RC1: TeamArena_Q3A_RC1.zip. Source has moved from
  2093. Q3VERSION "Q3 Team Arena Demo 1.27c" to "Q3 1.27d" now.
  2094. * code-sos/qcommon/common.c: added Com_InitPushEvent(). Also
  2095. increased MAX_PUSHED_EVENTS to 256.
  2096. Note: this is another case of buffer memory not zero'ed.
  2097. Com_EventLoop, fixed evTime to evType in debug print.
  2098. * TEST: baseq3/
  2099. +set sv_pure 0 +set vm_game 0 +set in_mouse 0 +set developer 2
  2100. TODO: Team Arena in menu leads to RE_Shutdown(1) and locks
  2101. TODO: can't play game
  2102. TODO: shaders can't load *.tga, *.jpg files are there
  2103. TODO: DO_CC linking for DLL's, DO_SHLIB_CC only for export?
  2104. TODO: ERROR: Bad player movement angle
  2105. TODO: Warning: cvar "..." given initial values: "..." and "..."
  2106. TODO: TA demo ERROR: CL_ParseServerMessage: Illegible server message
  2107. TODO: WARNING: Com_PushEvent overflow
  2108. * code-sos/qcommon/files.c: add NULL filter for our Sys_ListFiles calls.
  2109. * unix/unix_shared.c (Sys_ListFiles): signature has changed,
  2110. additional Sys_ListFiles argument now.
  2111. * code-sos/unix/unix_net.c (Sys_GetPacket): see below (readcount=0).
  2112. * code-sos/unix/unix_main.c: see below (Mike's and my changes to DLL
  2113. loading, my event buffer clear fixes).
  2114. * code-sos/unix/linux_qgl.c (QGL_Init): see below (__FX__ guards).
  2115. TODO: abstract WGL/GLX and end unfortunate QGL duplication.
  2116. TODO: spice up QGL with Linux H2 full version.
  2117. * code-sos/q3_ui/ui_demo2.c: fix on demo names - no Q_strupr(demoname).
  2118. Note: in CVS this fix is in ui/ui_demo2.c. CVS is screwed by
  2119. id choosing the old name for new directory...
  2120. TODO: manual intervention on "ui goes q3_ui" in CVSROOT?
  2121. * renderer/qgl.h: see below (__FX__ guards).
  2122. * qcommon/files.c: migrated in the 1.17cvs changes against the
  2123. id000516 code dump, i.e. the (not marked - boo hiss) mkv changes.
  2124. Note: all the above is based on a diff of the last id code dump
  2125. pre-1.17 against our CVS, with those fixes now migrated into the
  2126. sos1.26 snapshot.
  2127. TODO: move in joystick code.
  2128. TODO: replace XAutoRepeatOn/Off with filter (focus).
  2129. TODO: DGA 2.0 and such.
  2130. * code-sos/game/q_shared.c: valid compare for NULL strings
  2131. * code-sos/unix/unix_main.c: QRTLD, and now using RTLD_NOW.
  2132. Note: it is a bad idea to load game DLL's that are missing symbols.
  2133. * code-sos/ui/ui_main.c: see below.
  2134. * code-sos/game/g_main.c: see below.
  2135. * code-sos/q3_ui/ui_main.c: see below.
  2136. * code-sos/cgame/cg_main.c: made cvarTable and cvarTableSize static. This resolved
  2137. a segfault related to traversing the UI table during Init.
  2138. Note: there is a segfault related to this variable being out of bounds.
  2139. Different struct size in global variables possible aliasing between the
  2140. DLL's.
  2141. * code-sos/unix/unix_main.c (Sys_Error): assert(0), no exit in debug.
  2142. * code-sos/game/q_shared.c: now aborts on NULL destination. Also DPrintf's
  2143. on bogus excess copies.
  2144. TODO: make all those string functions safe, at least assert.
  2145. * code-sos/server/sv_init.c: comment in SV_Init
  2146. // init the botlib here because we need the pre-compiler in the UI
  2147. Called in qcommon/common.c:Com_Init, were CL_Init is called afterwards...
  2148. * code-sos/server/sv_bot.c: the botlib_import is filled here.
  2149. * code-sos/unix/unix_main.c (Sys_GetBotLibAPI): RTLD_NOW. Which is for naught,
  2150. as this code is not used and has never been used. assert(0)
  2151. * code-sos/botlib/be_interface.c: botimport supposed to be set here.
  2152. * code-sos/botlib/l_memory.c: segfault with q3_ui/ DLL.
  2153. #1 0x80e23ec in GetMemory (size=35) at ..//botlib/l_memory.c:331
  2154. 331 ptr = botimport.GetMemory(size + sizeof(unsigned long int));
  2155. as botimport is completely NULL'ed.
  2156. * code-sos/q3_ui/q3_ui.sh: created from ui/ui.sh 1.17
  2157. * code-sos/q3_ui/q3_ui.q3asm: unfubared (CR/LF, / path).
  2158. * code-sos/unix/Makefile: added q3_ui/ make targets (basically
  2159. ui/ targets from CVS 1.17 Makefile for starters).
  2160. * code-sos/q3_ui/: this is the old UI code, which does not use
  2161. ../ui/menus.txt (see ui/ui_main.c). In other words,
  2162. the code in ui/ now has to be compiled or qvm'ed
  2163. for missionpack/, but to create the necessary DLL or
  2164. QVM modules for baseq3/ we need to use q3_ui/.
  2165. 2000-11-27 Bernd Kreimeier <bk@lokigames.com> *** MISSIONPACK ***
  2166. * code-sos/game/bg_lib.c: ld problem with a custom "tan(..)"
  2167. TODO: loooking forward to SIGFPE on this code base.
  2168. * code-sos/ui/ui_util.c: this file is empty.
  2169. * code-sos/ui/ui.sh: new files:
  2170. ui_shared.c
  2171. ui_util.c
  2172. Replaced by the /ui/*.menu files:
  2173. q3lcc: can't find `../ui_cdkey.c'
  2174. q3lcc: can't find `../ui_ingame.c'
  2175. etc.
  2176. * code-sos/cgame/cgame.q3asm: added cg_newdraw entry.
  2177. Also added ui_shared entry.
  2178. * cgame/cgame.sh: added cg_newdraw.c entry.
  2179. Also added ../ui/ui_shared.c entry.
  2180. * code-sos/cgame/cg_newdraw.c: renamed (was cg_newDraw.c mixed case).
  2181. Note: the infidels have taken over.
  2182. * cgame/cgame.sh: added -DMISSIONPACK.
  2183. Note: w/o, q3lcc complains
  2184. ../cg_event.c:204: undeclared identifier `cg_singlePlayerActive'
  2185. ../cg_event.c:204: left operand of . has incompatible type `int'
  2186. which indicates that this source does not compile w/o MISSIONPACK
  2187. anymore. The baseq3/pak4.pk3 file in the Q3TA snapshot archives
  2188. are dated
  2189. 284464 11-10-00 14:02 vm/cgame.qvm
  2190. 463940 11-14-00 14:47 vm/qagame.qvm
  2191. 271596 11-14-00 14:48 vm/ui.qvm
  2192. the code dump is from 11-19.
  2193. Note: Make does not abort on q3lcc complains
  2194. * code-sos/game/game.sh: also added ai_vcmd.c entry.
  2195. * code-sos/ui/ui.q3asm: fubared (below). In addition, this is
  2196. the only one to have a
  2197. -o "/tmp/quake3/missionpack/vm/ui"
  2198. line in it. Given that the other 2 QVM modules are
  2199. also dependend on -DMISSIONPACK, this seems a real mess.
  2200. For now using the same path as the other 3.
  2201. * code-sos/cgame/cgame.q3asm: below.
  2202. * code-sos/game/game.q3asm: fubared. Fixed CR/LF and \ in paths
  2203. again (read by q3asm called by game.sh called by make).
  2204. * unix/Makefile: updated fpor DLL/QVM.
  2205. Note: also shell scripts to use q3lcc not lcc.
  2206. 2000-11-27 Bernd Kreimeier <bk@lokigames.com>
  2207. * code/unix/Makefile: now expects a run/ directory
  2208. relative (between this, the Loki standards, and the
  2209. utility code in the same repository, it's ever so
  2210. slightly less dorky).
  2211. TODO: fix broken copyfiles target etc.pp.
  2212. * code/game/bg_lib.c: turns out the changes I
  2213. undid 001120 were affecting original Zoid
  2214. Linux port related defines, which break VM
  2215. compile. Mike fixed those (which I unfixed
  2216. when referring to the latest id code that does
  2217. not contain these patches). However, they
  2218. duplicate ANSI libc symbols, so the guards might
  2219. be wrong. The symbols are missing when compiling
  2220. for VM, so I now use the existing lcc -DQ3_VM
  2221. flag:
  2222. //#if !defined ( _MSC_VER ) && ! defined ( __linux__ )
  2223. #if defined ( Q3_VM )
  2224. This will break DLL compile on non-ANSI platforms,
  2225. which will have to be added to the conditional then.
  2226. * code/ui/ui.sh: below.
  2227. * code/game/game.sh: below.
  2228. * code/cgame/cgame.sh: Linux SDK installs q3lcc to
  2229. avoid collisions with regular lcc pre-installs. The
  2230. scripts fail with "lcc not found", but do not abort
  2231. the Makefile.
  2232. Note: now that VM code gets actually built, there
  2233. are errors:
  2234. g_main:648 ERROR: symbol vsprintf undefined
  2235. bg_pmove:1221 ERROR: symbol abs undefined
  2236. q_math:4309 ERROR: symbol fabs undefined
  2237. q_shared:2801 ERROR: symbol tolower undefined
  2238. q_shared:2862 ERROR: symbol toupper undefined
  2239. ai_dmq3:208 ERROR: symbol atoi undefined
  2240. ai_cmd:4951 ERROR: symbol sscanf undefined
  2241. 2000-11-20 Bernd Kreimeier <bk@lokigames.com>
  2242. * TEST: test compile of pr-1.17+cvs fixes segfaults due
  2243. to new baseq3/pak4.pk3
  2244. Note: to self ... 1.17 is not compatible with new files.
  2245. Checking into CVS next.
  2246. * code/: changes applied by us that are not in id's code base
  2247. affect q_shared.c (NULL in Q_stricmp), files.c (FIXME fs_cdpath,
  2248. Sys_ConcatenateFileList, ui_demo2.c (demo no tolower on linux).
  2249. In unix/ linux_glimp.c (joystick code), qgl.h, linux_qgl.c (__FX__),
  2250. unix_main.c (dlopen bug and event buffers), unix_net.c (readcount),
  2251. matha.s (assembly warning).
  2252. * code/server/sv_client.c (SV_WriteDownloadToClient):
  2253. No effective change on FS_SV_FOpenFileRead call, they reworked
  2254. autodownload some more seemingly.
  2255. * code/renderer/tr_surface.c: VectorArrayNormalize
  2256. * code/qcommon/qcommon.h: see below.
  2257. * code/qcommon/files.c: Com_ReadConfigs removed.
  2258. * code/qcommon/common.c: removed Com_ReadConfigs,
  2259. textual replacement of body in Com_Init.
  2260. * code/mac/mac_net.c: not applied (undone by id)
  2261. OTConfiguration *config <> OTConfigurationRef config
  2262. * code/mac/mac_glimp2.c: r_colorbits->integer > 16
  2263. * code/game/surfaceflags.h (CONTENTS_BOTCLIP): added.
  2264. * code/game/q_shared.h: not applied (undone by id)
  2265. #if defined(ppc) || defined(__ppc) || defined(__ppc__)
  2266. #define idppc 1
  2267. #else
  2268. #define idppc 0
  2269. #endif
  2270. * code/game/q_math.c: added another CPP line to guard
  2271. BoxOnPlaneSide, removed WIN32 guard.
  2272. TODO: this could be broken code guarded in all current
  2273. compiles...
  2274. * code/game/bg_lib.c: left Q#_VM guard for typedef cmp_t
  2275. Added !defined( __linux__ ) for tolower and atoi.
  2276. Note: the changes above relate to the very last code update
  2277. from id prior to the 6 month blackout, which were not in
  2278. CVS when Michael made his updates. Needed to establish the
  2279. baseline for the new patch. Source dump 1.17.00520, against
  2280. SOS 1.26w-001119 version.
  2281. 2000-11-20 Bernd Kreimeier <bk@lokigames.com> *** MISSIONPACK ***
  2282. * TEST: running against the data up to TeamArena_Q3A_001109.zip
  2283. Hunk_Clear: reset the hunk ok
  2284. Program received signal SIGBUS, Bus error.
  2285. "q3dm2", killBots==qtrue
  2286. #0 CM_ClearMap () at ..//qcommon/cm_load.c:644
  2287. #1 0x80884a7 in SV_Map_f () at ..//server/sv_ccmds.c:159
  2288. #2 0x8072579 in Cmd_ExecuteString (text=0xbffff4b0 "spmap q3dm2") at ..//qcommon/cmd.c:591
  2289. #3 0x8071dfe in Cbuf_Execute () at ..//qcommon/cmd.c:190
  2290. #4 0x80763f7 in Com_Frame () at ..//qcommon/common.c:2547
  2291. #5 0x8130d6b in main (argc=13, argv=0xbffff984) at ..//unix/unix_main.c:953
  2292. #6 0x40100cb3 in __libc_start_main (main=0x8130bc4 <main>
  2293. Not reproducible (screen stayed black).
  2294. * TEST: +set developer 1, same for Win32 and Linux:
  2295. Can't find gfx/misc/flare.tga
  2296. Can't find gfx/misc/sun.tga
  2297. Can't find gfx/misc/console02.tga
  2298. Can't find vm/ui.map
  2299. Can't find textures/sfx/logo512.tga
  2300. Can't find gfx/colors/black.tga
  2301. Can't find models/mapobjects/banner/banner5_2.md3
  2302. Can't find models/mapobjects/banner/banner5_1.md3
  2303. Can't find textures/sfx/firegorre2.tga
  2304. Can't find textures/sfx/bolts.tga
  2305. Can't find menu/art/unknownmap.tga
  2306. * Q3TA: after nearly 6 months, a code update from id. SOS access
  2307. even. Got it to compile, link and start, but it's currently broken
  2308. (menu doesn't render in full, can't get into game etc.). Need
  2309. a baseline 1.17 to diff against. Last code dump was May 16, with
  2310. bspc code updated May 19. Checking working directory of bk000520
  2311. against CVS next (Mike's fixes never made it into id's codebase
  2312. or a post 1.17 release, neither did my fixes as released in the
  2313. point release version 1.17).
  2314. 2000-11-19 Bernd Kreimeier <bk@lokigames.com> *** MISSIONPACK ***
  2315. * TEST: Win32 install as tested with 1.26w. quake3.x86 (Q3A game)
  2316. Warning: cvar "r_uifullscreen" given initial values: "1" and "0"
  2317. Warning: cvar "r_inGameVideo" given initial values: "1" and "0"
  2318. ^3WARNING: sound/feedback/hit.wav is a 8 bit wav file
  2319. (on windows, sound/weapons/weapon_hover.wav is missing...)
  2320. Menu only partially displayed in TA and baseq3 play, menu itself
  2321. seems to work. Freetype?
  2322. WARNING: Com_PushEvent overflow
  2323. * code-sos/game/game.sh: not in SOS, moved in from CVS snapshot.
  2324. * code-sos/qcommon/common.c: conditional DEDICATED to get rid off
  2325. CL_ShutdownCGame/CL_ShutdownUI/CIN_CloseAllVideos.
  2326. Same for UI_usesUniqueCDKey: dedicated server does not
  2327. write CD key file.
  2328. TODO: check whether there is an unneeded "read CD key"
  2329. for dedicated server.
  2330. * code-sos/null/null_client.c (CL_ShutdownAll): added dummy.
  2331. * code-sos/unix/Makefile: server/sv_net_chan.o for dedicated server.
  2332. * code-sos/null/null_snddma.c: fixed S_RegisterSound signature.
  2333. * code-sos/client/snd_mix.c: snd_p, snd_linear_count, snd_out
  2334. can't be static, as used by unix/snd_mixa.s.
  2335. * code-sos/unix/Makefile: added to the executable target:
  2336. renderer/tr_font.c
  2337. client/cl_net_chan.c
  2338. server/sv_net_chan.c
  2339. Also added a lot of jc*.c files to build, to fix unresolved
  2340. symbol errors.
  2341. TODO: is there unused jpeg-6/jd*.o code linked in now?
  2342. * code-sos/ft2/smooth.c: includes ftgrays.c, ftsmooth.c
  2343. * code-sos/ft2/truetype.c: ttdriver.c, ttpload.c, ttgload.c, ttobjs.c.
  2344. Also (see ftoption.h) TT_CONFIG_OPTION_BYTECODE_INTERPRETER ttinterp.c
  2345. * code-sos/ft2/sfnt.c: includes ttload.c, ttcmap.c, sfobjs.c,
  2346. sfdriver.c. lso (see ftoption.h)
  2347. TT_CONFIG_OPTION_EMBEDDED_BITMAPS ttsbit.c
  2348. TT_CONFIG_OPTION_POSTSCRIPT_NAMES ttpost.c
  2349. * code-sos/ft2/ftbase.c: includes ftcalc.c, ftobjs.c, ftstream.c,
  2350. ftlist.c, ftoutln.c, ftextend.c, ftnames.c.
  2351. * code-sos/ft2/autohint.c: includes ahangles.c, ahglyph.c, ahglobal.c,
  2352. ahhint.c, ahmodule.c.
  2353. * code-sos/unix/Makefile: added ft2/ to client objects, took out
  2354. ftraster.c/ftrend1.c (see below), added -DFT_FLAT_COMPILE.
  2355. * ft2/ftsmooth.c: -DFT_FLAT_COMPILE required.
  2356. * ft2/raster1.c: -DFT_FLAT_COMPILE required.
  2357. Note: this includes ftraster.c/ftrend1.c.
  2358. * code-sos/qcommon/vm_x86.c: _ftol is missing, ftolPtr only defined
  2359. for Win32, but used in generic code. Workaround for now.
  2360. TODO: find good Linux ftol, or use old solution.
  2361. * SoS checkout. chown -R a+w * recode ibmpc:lat1 */*.h */*.c
  2362. 2000-06-30 Michael Vance <briraeos@lokigames.com>
  2363. * misc: Spoke with Leonardo about qvm mess.
  2364. * ui/ui.sh: Created to build much like the ui.bat script.
  2365. * ui/ui.q3asm: Use linux style paths.
  2366. * game/game.sh: Created to build much like the game.bat script.
  2367. * game/game.q3asm: Use linux style paths.
  2368. * cgame/cgame.sh: Created to build much like the cgame.bat script.
  2369. * cgame/cgame.q3asm: Use linux systel paths.
  2370. * unix/Makefile: Use the new .sh scripts to build the QVM files.
  2371. * lcc/etc/linux.c: Build .asm files instead of .s files.
  2372. * misc: QVMs now load properly, with minor glitches that should
  2373. hopefully be solvable. The new build scripts conflict with the
  2374. .asm files already in CVS, as the generated byte code is slightly
  2375. different in some cases.
  2376. 2000-06-29 Michael Vance <briareos@lokigames.com>
  2377. * lcc/makefile: Tweaked to automatically include the system
  2378. compiler's header location. Added an install directory.
  2379. * lcc/custom.mk: Added a build directory.
  2380. * lcc/etc/linux.c: Numerous small tweaks to make compiling the VM
  2381. code a much simpler task.
  2382. * q3asm/Makefile: Created.
  2383. * q3asm/q3asm.c: Fixed uninitialized variable in
  2384. HashString(). Fixed off by one in argument parsing.
  2385. * misc: Had Brian remove the Xmd.h include from glx.h so that we can
  2386. build Quake3 on XFree86 4.0 systems.
  2387. * wine: Attempted to build with lcc.exe and q3asm.exe using wine,
  2388. also did not work. This is in contrast to MikeP's .qvms, which
  2389. seem to work.
  2390. 2000-06-28 Michael Vance <briareos@lokigames.com>
  2391. * common/files.c: Fixed Mods menu behaviour.
  2392. * unix/linux_qgl.c: Guarded references to fxMesa.
  2393. * renderer/qgl.h: Guarded references to fxMesa.
  2394. * ui/ui_demo2.c: Don't convert filename to uppercase.
  2395. 2000-05-07 Bernd Kreimeier <bk@lokigames.com>
  2396. * common/cmdlib.c: windowism, not guarded. Added WIN32 around "ATOM a".
  2397. * q3map/Makefile: Linux Makefile.
  2398. * q3map/Makefile.irix: "makefile" in original code, Irix-only Makefile.
  2399. Just fixed some redundant TAB that GNU make despises about as much as I
  2400. despise GNU Make, and changed to a relative path.
  2401. 2000-05-01 Bernd Kreimeier <bk@lokigames.com>
  2402. * q3radiant/: updated with Q3Radiant198b3-src.zip.
  2403. Tagged (globally) as q3radiant-198b3.
  2404. Kept the old files
  2405. 3DFXCamWnd.h
  2406. 3DFXCamWnd.cpp
  2407. MainFrm2.cpp
  2408. New files
  2409. Shaders.h
  2410. misc/ (contributed special TGA resources, don't relly belong)
  2411. Removed:
  2412. pName
  2413. Changed filenames to previous case:
  2414. UNNAMED.MAP -> unnamed.map
  2415. RES/BMP0002.BMP -> RES/bmp00002.bmp
  2416. Changed:
  2417. changelog.txt -> ChangeLog
  2418. 2000-04-28 Bernd Kreimeier <bk@lokigames.com>
  2419. * CVS: bk000425 modified sources. This replaces the unix/ directory
  2420. which is not yet in id's SourceSafe. Two check-ins, due to minor
  2421. changes in an attempt to nail the Voodoo3 related crashes (driver
  2422. problems, not a Q3 issue). Undid some of the QFL changes for PI
  2423. and the log bug fix - put back in (TODO). Also includes:
  2424. * Quake3/code/botlib/be_aas_sample.c: single file update from Robert.
  2425. * CVS: id000423 code dumps (two of them). Applying Loki patches.
  2426. Tagged for the final version (all patches).
  2427. * CVS: id000422 code dump. This did not include the 1.16n fixes
  2428. used for Linux, and was the first dump for the 1.17 security fix
  2429. release.
  2430. Note: forgot to check in the ft2/ headers themselves, but they
  2431. are not used in the current codebase anyway. Are added in next
  2432. dump. Also there is use of CVS/CVS-like $Keyword$ patterns in
  2433. some files, and between their revisions and ours we fuck this up.
  2434. Also, id ZIP files create write protected sources, have to do
  2435. chmod -R a+w Quake3/ to work and overwrite files.
  2436. * CVS: bk000315 modified source. This version was the 1.16n release.
  2437. Note: the changes applied here are not in the subsequent code dumps
  2438. of id. If you want to compile the Linux version as released you
  2439. have to use bk-tagged versions until the patches are merged in by
  2440. Robert Duffy.
  2441. * CVS: id000314 engine code dump, same procedure as below, tag.
  2442. Note: this version added vm/ sudirectories with assembly files
  2443. for cgame, game, ui. CVS tag id000314.
  2444. * CVS: id000304 engine code dump. Now there is a problem, as CVS
  2445. was used in the Mac sources. Do
  2446. find . -name 'CVS' -exec rm -r {} \;
  2447. before cvs update, then tagged:
  2448. cvs -d /loki/cvsroot/ tag id000304 Quake3/
  2449. * CVS: checked in a source snapshot of the id00303 engine code
  2450. and the id0003029 tools code. The tool sources are not fully in
  2451. sync, and we have only partial source from earlier engine revisions.
  2452. The engine source marks where Loki took over from Dave Kirsch.
  2453. This snapshot (with all temporary and bogus files) is imported
  2454. and tagged using:
  2455. cvs -d /loki/cvsroot import Quake3 id000303 initial
  2456. Modules:
  2457. code: the Q3 engine code, including a jpeg-6/ copy
  2458. common: code shared by tools
  2459. libs: code shared by tools, including a jpeg6/ copy
  2460. q3asm: VM bytecode assembly
  2461. q3data: misc. Q3 data conversions
  2462. q3map: BSP builder
  2463. q3radiant: Win32 editor, as is
  2464. lcc: C compiler for q3asm
  2465. The sources have not been cleaned up, and binary files have not been
  2466. removed. The Q3Radiant code base might exhibit mixed case asmbiguities
  2467. in the future, and future source dumps might come from SourceForge
  2468. instead.
  2469. 2000-04-25 Bernd Kreimeier <bk@lokigames.com>
  2470. * q3code.id000425/unix/Makefile: relative path, relocatable.
  2471. Note: first code merge with id, finally :-).
  2472. 2000-04-24 Bernd Kreimeier <bk@lokigames.com>
  2473. * q3code.bk000422/unix/matha.s: in C(BoxOnPlaneSide)
  2474. the following line triggers assembler warning:
  2475. "missing prefix `*' in absolute indirect address, maybe misassembled!"
  2476. jmp Ljmptab(,%eax,4)
  2477. * q3code.bk000422/unix/Makefile (MOUNT_DIR): rember to change.
  2478. TODO: fix this bloody Makefile to be relocatable, damnit.
  2479. * q3code.bk000422/cgame/cg_event.c: applied JCash fix again
  2480. (see EV_EVENT_BITS below). Send e-mail to verify.
  2481. * q3code.bk000422/renderer/tr_image.c: "../jpeg-6/jpeglib.h" again.
  2482. * q3code.bk000422/: created from the id dump of today, lacking
  2483. all but one of my changes (sigh). Swapped unix/ competely, takes
  2484. care of 90%. Submitted all changes again to Robert...
  2485. 2000-04-19 Bernd Kreimeier <bk@lokigames.com>
  2486. * q3code.bk000315/unix/linux_glimp.c (GLimp_EndFrame):
  2487. QGL_EnableLogging( r_logFile->value ) doesn't work?
  2488. * q3code.bk000315/unix/linux_qgl.c: GLimp_LogNewFrame() is
  2489. obsolete. QGL_EnableLogging was out of sync with Win32 and
  2490. did not support the new framecounter decrement logic.
  2491. 2000-04-03 Bernd Kreimeier <bk@lokigames.com>
  2492. * q3code.bk000315/server/sv_snapshot.c: svs.nextSnapshotEntities
  2493. is a signed integer unconditionally incremented, which gets
  2494. negative and causes a segfaulting indexing an array. Added reset
  2495. to counter. Might fail if snapshot numbers are supposed to
  2496. monotonically increase.
  2497. 2000-04-02 Bernd Kreimeier <bk@lokigames.com>
  2498. * q3code.bk000315/client/cl_parse.c (CL_ParseServerMessage):
  2499. assert(0) on Illegible message (remember to +set in_mouse 0).
  2500. TODO: have to add a dump message function, it's unreadable.
  2501. * botlib/be_ai_goal.c (InitLevelItemHeap): loop counter -2
  2502. left -2 with uninitialized next, and -1 disconnected. Removed
  2503. redundant memset. There is an item alloc leak I suspect, as
  2504. max_levelitems 1024 merely delayed the overflow error.
  2505. 2000-04-01 Bernd Kreimeier <bk@lokigames.com>
  2506. * botlib/be_ai_goal.c (InitLevelItemHeap): still segfaults.
  2507. Not memsetting the entire item heap. As items are cleared
  2508. on return, that leaves only memory corruption?
  2509. Later: upped max_levelitems from 256 to 1024
  2510. Later: client dies on connect:
  2511. Error: CL_ParseServerMessage: Illegible server message 255
  2512. 2000-03-31 Bernd Kreimeier <bk@lokigames.com>
  2513. * botlib/be_ai_goal.c: initializing global vars.
  2514. Segfault in AllocLevelItem ()
  2515. at /home/bk/Games/Quake3/q3code/botlib/be_ai_goal.c:364
  2516. I suspect that the initial freelevelitems setting is at
  2517. the end of the list and eventually exposed.
  2518. * cgame/cg_event.c: according to Johmn Cash:
  2519. itemNum = (es->event & ~EV_EVENT_BITS) - EV_USE_ITEM0
  2520. Quote: "This causes itemNum to be invalid about half the time,
  2521. preventing any client side effect tied to the item from occurring."
  2522. 2000-03-06 Bernd Kreimeier <bk@lokigames.com>
  2523. * qcommon/common.c: set pushEvent buffer and indices
  2524. to zero in Com_Init().
  2525. * q3code/qcommon/qcommon.h: made SE_NONE (and for paranoia
  2526. also NA_BOT) explicitely set to zero.
  2527. 2000-02-27 Bernd Kreimeier <bk@lokigames.com>
  2528. * unix/Makefile: added dmalloc in an attempt to get on
  2529. the Z_Free bug. Futile. Despite stripping dmalloc debug
  2530. token down to essentials, I get a (seemingly bogus or
  2531. unrelated):
  2532. debug-malloc library: dumping program, fatal error
  2533. Error: possibly bad .c filename pointer (err 24)
  2534. 2000-02-26 Bernd Kreimeier <bk@lokigames.com>
  2535. * qcommon/common.c: various debug builts to isolate the
  2536. Z_Free bug. It reproducibly happens on some machines
  2537. with SE_PACKET, but the packets themselves look
  2538. thoroughly corrupted.
  2539. 2000-02-21 Bernd Kreimeier <bk@lokigames.com>
  2540. * qcommon/common.c (Com_EventLoop): possible problem
  2541. here, pointer does not get cleared.
  2542. * unix/linux_glimp.c (InitSig): no signal handler.
  2543. * common/common.c: dump in Com_Error for debug.
  2544. 2000-02-17 Bernd Kreimeier <bk@lokigames.com>
  2545. * q3code: new dump from Zoid. Repeat tr_image.c fix.
  2546. * unix/Makefile: added client/snd_adpcm.c (linkage errors).
  2547. Later: added entire JPDIR and rules, for tr_image.c.
  2548. Later: had to fix fules for game/ai_*.c files.
  2549. Later: removed ui/ui_quit.o (n/a)
  2550. Later: took out -mpentiumpro -march=pentiumpro
  2551. * renderer/tr_image.c: windowism in #include path (see below).
  2552. #include "..\jpeg-6\jpeglib.h"
  2553. 1999-12-27 Bernd Kreimeier <bk@lokigames.com>
  2554. * Alpha: tried a dedicated server compile. Segfaults in
  2555. ../qcommon/files.c:1682, a paksort function doing pointer
  2556. fiddling.
  2557. * Makefile.alpha: created.
  2558. Note: want to take the SDL/Setup autoconf ASAP.
  2559. * unix/unix_main.c: fixed __axp__ to __alpha__, guarded
  2560. _FPU_SETCW.
  2561. * qcommon/vm_alpha.c: dummy, created.
  2562. * qcommon/vm_null.c: dummy, created.
  2563. 1999-12-04 Bernd Kreimeier <bk@lokigames.com>
  2564. * renderer/tr_image.c: windowism in #include path.
  2565. #include "..\jpeg-6\jpeglib.h"
  2566. * Revision 1.11: from Zoid by e-mail.
  2567. Note: threw away my playground copy, starting with the
  2568. ZIP file. Zoid's using CVS now, but we can't remote
  2569. access it. Thus did the
  2570. "find . -name 'CVS' -exec rm -rf {} \;"
  2571. and then track it as 3rd party source by
  2572. * ChangeLog: created. Now starting to track Q3A source.
  2573. --------- q3code log ---------------------------------------------