ChangeLog 122 KB

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